[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 08:42:27 PST 2017


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

--- Comment #7 from Antti Koivisto <koivisto at iki.fi> ---
> 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.

Ok, we can go with this for now but I think there is too much special casing here. 

Longer term we should formalise the idea that style used for rendering and style used for getComputedStyle are two different things and we need to keep both around.

-- 
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/fa54d2ab/attachment.html>


More information about the webkit-unassigned mailing list