[Webkit-unassigned] [Bug 219472] New: document.hasFocus() is true while URL bar has focus

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 2 18:41:44 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=219472

            Bug ID: 219472
           Summary: document.hasFocus() is true while URL bar has focus
           Product: WebKit
           Version: Safari 12
          Hardware: Macintosh
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jib at mozilla.com

>From https://github.com/whatwg/html/pull/6172#discussion_r532608881

STRs:
 1. Open https://jan-ivar.github.io/dummy/focus.html
 2. Click on URL bar
 3. Click on page

Expected results (works in Chrome, Firefox, Edge):

  true
  true
  BLUR
  false
  false
  FOCUS
  true
  true

Actual results (Safari):

  true
  true
  BLUR
  true
  true
  FOCUS
  true
  true

The spec is being clarified in https://github.com/whatwg/html/pull/6172

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201203/7999b518/attachment.htm>


More information about the webkit-unassigned mailing list