[Webkit-unassigned] [Bug 244849] New: Wrong painting order of inline backgrounds when forming an stacking context.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 6 10:02:21 PDT 2022


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

            Bug ID: 244849
           Summary: Wrong painting order of inline backgrounds when
                    forming an stacking context.
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: emilio at crisal.io
                CC: mattwoodrow at apple.com, simon.fraser at apple.com

(1) Open http://software.hixie.ch/utilities/js/live-dom-viewer/saved/10658
(2) See how the behavior is inconsistent if the <span> is an inline vs. if it's a block. It seems like WebKit fails to create a proper stacking context for the inline, or the background is painted in the wrong order.

The block behavior seems correct since z-index on the span creates a stacking context (just like opacity or other similar properties).

FWIW this caused a compat issue on Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1789039
Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1359985#c4

-- 
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/20220906/62753441/attachment.htm>


More information about the webkit-unassigned mailing list