<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Cannot attach Shadow root to unregistered custom element name"
href="https://bugs.webkit.org/show_bug.cgi?id=158550#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Cannot attach Shadow root to unregistered custom element name"
href="https://bugs.webkit.org/show_bug.cgi?id=158550">bug 158550</a>
from <span class="vcard"><a class="email" href="mailto:rniwa@webkit.org" title="Ryosuke Niwa <rniwa@webkit.org>"> <span class="fn">Ryosuke Niwa</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=158550#c7">comment #7</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=158550#c2">comment #2</a>)
> > Created <span class=""><a href="attachment.cgi?id=280877" name="attach_280877" title="Reduction">attachment 280877</a> <a href="attachment.cgi?id=280877&action=edit" title="Reduction">[details]</a></span>
> > Reduction
> >
> > It looks like this is an artifact of "contain: content". That's somehow
> > forcing the background color to be painted behind content with a negative
> > z-index.
>
> contain:content, which includes paint containment, establishes a new
> stacking context as per
> <a href="https://drafts.csswg.org/css-containment/#paint-containment">https://drafts.csswg.org/css-containment/#paint-containment</a> which makes the
> positioned descendant with negative z-index paint of top of the outer
> element's background.</span >
Ah, okay so this was really a bug in the content that relied on that behavior in browsers that don't support contain: content.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>