[Bug 18382] [Shadow]: ShadowRoot needs the flag to control @host @-rules in a similar way to the apply-author-styles flag.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18382

--- Comment #2 from Takashi Sakamoto <tasak@google.com> 2012-07-25 11:04:25 UTC ---
(In reply to comment #1)
> I am not sold that this flag is a useful feature. If you're not planning to use
> the older shadow root, just don't include it with <shadow>. If you do, you can
> stil override its styles.

I agree that I can override the styles. However to do so, I have to see what
styles come from @host @-rules declared in older shadow DOM subtrees. I think,
web developers might want to just reset all existing @host @-rules.
And I think, I might want to reuse the host styles when I add my own shadow DOM
subtree without <shadow>. In the case, I like the host style and just want to
replace the shadow DOM subtree. I don't want to check what @host @-rules are
applied and to apply my own @host @-rules.

Best regards,
Takashi Sakamoto

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 25 July 2012 11:04:29 UTC