- From: <bugzilla@jessica.w3.org>
- Date: Tue, 28 May 2013 06:40:11 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21959
Takashi Sakamoto <tasak@google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tasak@google.com
--- Comment #1 from Takashi Sakamoto <tasak@google.com> ---
I would like to confirm one thing:
Suppose that we have a tag selector in an author stylesheet, e.g.
<style>
div { color: green; }
</style>
and that we also have a shadow host whose id is "host" and whose shadow root
has an id selector in @host @-rule, e.g.
<div id="host">
#shadow-root
<style>
@host { #host { color: red; } }
</style>
Hello, World!
So the text: "Hello, World!" should be shown in green color or red color?
I mean, which is better:
(a) any selector in an author stylesheet wins, or
(b) it depends on specificity. If a selector in @host @-rules has higher
specificity, the selector wins.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 28 May 2013 06:40:20 UTC