[Webkit-unassigned] [Bug 236730] New: Remove non-standard display:block UA stylesheet rule for <layer>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 16 12:46:35 PST 2022


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

            Bug ID: 236730
           Summary: Remove non-standard display:block UA stylesheet rule
                    for <layer>
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon at bocoup.com

What steps will reproduce the problem?
(1) Open data:text/html,a<layer>b
(2)
(3)

What is the expected result?
"ab" should be on one line (because <layer> should be display:inline)

What happens instead?
"a" and "b" are on separate lines (because the UA stylesheet has layer { display:block })

https://github.com/WebKit/WebKit/blob/main/Source/WebCore/css/html.css#L53-L55

This is in violation with the HTML standard which doesn't say <layer> should have any UA style: https://html.spec.whatwg.org/multipage/rendering.html#rendering

Chromium also has this bug (https://bugs.chromium.org/p/chromium/issues/detail?id=1298197 ), but not Gecko.

-- 
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/20220216/c93c586c/attachment.htm>


More information about the webkit-unassigned mailing list