[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:12:37 PST 2017


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

--- Comment #5 from Antti Koivisto <koivisto at iki.fi> ---
Comment on attachment 327151
  --> https://bugs.webkit.org/attachment.cgi?id=327151
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=327151&action=review

> Source/WebCore/dom/PseudoElement.h:48
> +    bool hasDisplayContents() const { return m_hasDisplayContents; }
> +    void setHasDisplayContents(bool has) { m_hasDisplayContents = has; }

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


More information about the webkit-unassigned mailing list