[webkit-reviews] review denied: [Bug 88606] [Shadow DOM] Needs @host rule for ShadowDOM styling : [Attachment 164506] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 19 10:21:03 PDT 2012
Dimitri Glazkov (Google) <dglazkov at chromium.org> has denied Takashi Sakamoto
<tasak at google.com>'s request for review:
Bug 88606: [Shadow DOM] Needs @host rule for ShadowDOM styling
https://bugs.webkit.org/show_bug.cgi?id=88606
Attachment 164506: Patch
https://bugs.webkit.org/attachment.cgi?id=164506&action=review
------- Additional Comments from Dimitri Glazkov (Google)
<dglazkov at chromium.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=164506&action=review
Thank you for working on this!
> Source/WebCore/css/StyleResolver.cpp:1112
> + transferMatchedRules(result);
This is wrong. We should somehow change the specificity of the @host at-rules,
so that it all works as sort-and-match. Hmmm.. This might be a spec bug.
> Source/WebCore/css/StyleResolver.h:556
> + RuleSet* atHostRuleSetForScope(const ShadowRoot*);
> + bool matchesHostRules();
please group functions with functions and data with data.
> Source/WebCore/dom/ShadowRoot.h:94
> + void registerShadowElement() { ++m_numberOfShadowElementChildren; }
> + void unregisterShadowElement() { --m_numberOfShadowElementChildren; }
> + bool hasShadowInsertionPoint() const { return
m_numberOfShadowElementChildren > 0; }
This seems like a separate, smaller patch.
More information about the webkit-reviews
mailing list