[Webkit-unassigned] [Bug 74123] Move MediaDocument styles into CSS. Set black background for chromium.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 9 15:08:24 PST 2011


--- Comment #10 from Dale Curtis <dalecurtis at chromium.org>  2011-12-09 15:08:23 PST ---
So, adding "body->setNeedsStyleRecalc(SyntheticStyleChange);" also solves the problem and is how HTMLMediaElement seems to be getting the style to update.

I've updated the patch to reflect this. A test for this behavior is pretty simple but would just end up comparing the values set in the CSS sheet w/ those that are actually applied. If that's worthwhile, I'll add that test.

Going through blame, it looks like Eric Carlson added the original style recalc to HTMLMediaElement.cpp in this revision:


Eric, can you comment if this is the right fix for getting the style to update on the body tag?

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list