[Webkit-unassigned] [Bug 238998] New: Focused element doesn't render outline when it has an underline

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 8 05:25:04 PDT 2022


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

            Bug ID: 238998
           Summary: Focused element doesn't render outline when it has an
                    underline
           Product: WebKit
           Version: Safari 14
          Hardware: Mac (Apple Silicon)
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: matted47 at googlemail.com

When an element has an outline and underline set on it's focus style, the outline isn't rendered.

The following won't render the outline, but setting the text-decoration to none does.
Tabbing back & forth does sometimes show the outline, which is also sometimes partially left there once focus is moved on.

a:focus,
button:focus {
  outline: 6px double blue;
  text-decoration: underline;
}

-- 
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/20220408/1cec5e36/attachment.htm>


More information about the webkit-unassigned mailing list