[Webkit-unassigned] [Bug 179812] Incorrect computed style in pseudo-elements with display: contents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 17 07:50:06 PST 2017


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

--- Comment #6 from Emilio Cobos Álvarez [:emilio] <emilio at crisal.io> ---
(In reply to Antti Koivisto from comment #5)
> Instead of adding this bit and the element special cases, could we just put
> the original display:contents style to m_computedStyle in pseudoelement rare
> data?

You'd still need the element special cases to avoid using the renderStyle() or the renderer() unfortunately. I'm not in love with this patch either, but seemed the less-bad approach.

We can also regigger the hasDisplayContents / existingComputedStyle logic a bit more using the pseudo rare data, I guess, but that didn't sound particularly preferable to me.

-- 
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/20171117/b3ca3967/attachment-0001.html>


More information about the webkit-unassigned mailing list