[Bug 17515] [Shadow]: @host and shadow insertion point

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

--- Comment #3 from Dimitri Glazkov <dglazkov@chromium.org> 2012-08-03 17:37:44 UTC ---
When shadow DOM is used to create controls/widget, the @host rules could be
seen as a way to provide default styling for the box, surrounding the said
widget. 

For example, imagine that <input type="text">'s typical outline is actually
styled using @host rules. 

Now, I want to add small icon inside of the input field to indicate something
about the text content (calendar icon, for instance, to click and bring up a
date picker). Always applying @host to the shadow host is the desired behavior
here, since when I include the older shadow in my calendar icon shadow DOM
subtree, I still want the text field's outline to be on the host, not at
inclusion point.

However, if instead I want to add, say a password-strength indicator to the
right of the field, I do want to put the outline styles somewhere on the
<shadow> (but where?)

-- 
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 Friday, 3 August 2012 17:37:45 UTC