[Webkit-unassigned] [Bug 40280] <meter> should allow styling for each gauge-level and component

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 16 02:13:02 PDT 2010


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





--- Comment #12 from Kent Tamura <tkent at chromium.org>  2010-06-16 02:13:01 PST ---
(In reply to comment #11)
> > Could you explain the reason why it can't?
> 
> - We need a RenderObject to refer the layout result, but isControlStyled() doesn't have it. 
>    Because it is called before RenderObjects creation. 
> - isControlStyle() requires extra arguments like BorderData which are not available for us.
> - RenderTheme::adjustStyle() rewrites RenderStyle::m_appearance based on the result of isControlStyled().
>    But we want to preserve the original appearance value always for <meter>.
> 
> After all, isControlStyled() is based on the specified style, 
> canPaintControlsFor() is based on the layout result.

I see.  <meter> always has width/height information in its style, but they may be relative.  e.g. height:50%. So we can't detect horizontal/vertical in adjustStyle()-isContrlStyled().

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