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

Mac: popups/context menus have incorrect position at startup when using Doctype declaration in the Html page

    XMLWordPrintable

    Details

      Description

      Have a look at the attached sample:

      There are two html pages:
      - MacBehaviorTestCase.html
      - MacBehaviorTestCase-doctype.html

      the only difference is that the second page contains the following Doctype definition at the top:(copied from yahoo.com)
      <!DOCTYPE html>
      <html lang="en-US" class="y-fp-bg y-fp-pg-grad ua-ff ua-win ua-ff14 bkt701" style="">

      while the first one is a default html page produced by the JFXPackager and is missing a Doctype declaration

      Steps to reproduce:
      1.) CORRECT BEHAVIOR: Open - MacBehaviorTestCase.html ; Click on the ComboBox at the bottom -> context menu is positioned correctly
      1.) WRONG BEHAVIOR: Open - MacBehaviorTestCase-doctype.html ; Click on the ComboBox at the bottom -> context menu is positioned at a wrong place


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pchelko Petr Pchelko (Inactive)
              Reporter:
              kiriljfx Kiril (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: