[Webkit-unassigned] [Bug 172596] Crash on display-contents-replaced-001.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 30 04:05:32 PDT 2017


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

--- Comment #9 from Antti Koivisto <koivisto at iki.fi> ---
> Hmmm... Yeah, perhaps it's just easier to lie in getComputedStyle if needed.

RenderStyle::display() is really the "effective display"  

    void setDisplay(EDisplay v) { m_nonInheritedFlags.setEffectiveDisplay(v); }

which is often different from the specified display (as you see if you look through adjustStyle). Currently getComputedStyle always return the effective value not the specified one so this patch is consistent with the usual WebKit behaviour

I'm not sure if other browsers do this differently.

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


More information about the webkit-unassigned mailing list