W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > August 2012

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 03 Aug 2012 17:37:44 +0000
Message-Id: <E1SxLom-0001Pb-Ck@jessica.w3.org>
To: public-webapps-bugzilla@w3.org

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

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:04:25 UTC