[Webkit-unassigned] [Bug 88606] [Shadow DOM] Needs @host rule for ShadowDOM styling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 21 18:11:23 PDT 2012


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


Hajime Morrita <morrita at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #169594|review?                     |review+
               Flag|                            |




--- Comment #51 from Hajime Morrita <morrita at google.com>  2012-10-21 18:12:23 PST ---
(From update of attachment 169594)
View in context: https://bugs.webkit.org/attachment.cgi?id=169594&action=review

Almost looks good. Added some nits comment.

> Source/WebCore/css/CSSGrammar.y.in:907
> +before_host_rule:

We need to #ifdef these.

> Source/WebCore/css/CSSParser.cpp:9188
> +    case 'h':

Ditto.

> Source/WebCore/css/RuleSet.h:34
> +enum AddRuleState {

Nit: This isn't actually a state. Maybe flags?

> Source/WebCore/css/StyleResolver.h:178
> +    {

Could you assert RuntimeEnabledFeatures::shadowDOMEnabled() || styleScoepedEnabled() here to emphasize this is only enabled with these features being on?

> Source/WebCore/css/StyleScopeResolver.cpp:203
> +    // FIXME(99827): add a new flag to ElementShadow and cache whether any

Could you type the url instead of bug number?

> Source/WebCore/css/StyleScopeResolver.cpp:225
> +    // FIXME(99827): add a new flag to ElementShadow and cache whether any

Ditto.

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