Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8130727

WebView Tooltip position no longer changes in 8u60

    Details

    • Subcomponent:
      web
    • Resolved In Build:
      master
    • CPU:
      x86_64
    • OS:
      windows_7

      Backports

        Description

        FULL PRODUCT VERSION :
        java version "1.8.0_60-ea"
        Java(TM) SE Runtime Environment (build 1.8.0_60-ea-b19)
        Java HotSpot(TM) 64-Bit Server VM (build 25.60-b19, mixed mode)

        ADDITIONAL OS VERSION INFORMATION :
        Windows 7 x64

        A DESCRIPTION OF THE PROBLEM :
        The Java Tooltip used to properly appear over the dom element that had the title attribute. Now this is no longer the case in in Java8U60 when there is a second tooltip that is adjacent to the other tooltip.


        REGRESSION. Last worked in version 8u45

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        To recreate the issue see this jsfiddle:

        https://jsfiddle.net/7sjp6bjx/

        or use this html source:

        <div title='t1'>test</div>
        <div title='t2'>test2</div>

        In Java8U45 WebView, the tooltip for both div elements is over the proper element. In Java8U60, if you mouse over one element, get the tooltip, then move to the next element, the tooltip does NOT properly move to the new element and it stays on the original element.

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        title should move over the proper html element
        ACTUAL -
        title stays on wrong html element

        REPRODUCIBILITY :
        This bug can be reproduced always.

        ---------- BEGIN SOURCE ----------
        https://jsfiddle.net/7sjp6bjx/

        or use this html source:

        <div title='t1'>test</div>
        <div title='t2'>test2</div>
        ---------- END SOURCE ----------

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  asrivastava Ankit Srivastava
                  Reporter:
                  webbuggrp Webbug Group
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: