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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 8 16:04:45 PST 2011


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





--- Comment #8 from Dimitri Glazkov (Google) <dglazkov at chromium.org>  2011-12-08 16:04:45 PST ---
(In reply to comment #7)
> Sounds good. Any ideas where to look for a bug though?
> 
> Dimitri, I haven't found a time when the style gets updated without forcing it through web inspector.
> 
> As far as I can tell the styles are applied to the document prior to creation and should get picked up by the elements as they're added to the document.
> 
> While the audio, video tag styles update appropriately those on the body tag do not. Is it possible HTMLMediaElement is forcing a style recalculation on its element while the body element has no such actor? I noticed the class makes several style related calls:
> 
> http://trac.webkit.org/browser/trunk/Source/WebCore/html/HTMLMediaElement.cpp#L251
> http://trac.webkit.org/browser/trunk/Source/WebCore/html/HTMLMediaElement.cpp#L2577
> http://trac.webkit.org/browser/trunk/Source/WebCore/html/HTMLMediaElement.cpp#L3008

I would try to understand why the style recalc is not reaching the body. Is it not ever marked as needing a style recalc? Why so?

The MediaDocument and friends are a bit quirky that way, and definitely have bugs. It's a bit of a yak shave, but WebKit will thank you for fixing them.

-- 
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