Bug 15820 - [Shadow]: Consider using "initial" CSS values for shadow DOM subtrees
[Shadow]: Consider using "initial" CSS values for shadow DOM subtrees
Status: RESOLVED FIXED
Product: WebAppsWG
Classification: Unclassified
Component: Component Model
unspecified
PC All
: P2 normal
: ---
Assigned To: Dimitri Glazkov
public-webapps-bugzilla
:
Depends on:
Blocks: 16009
  Show dependency treegraph
 
Reported: 2012-01-31 23:17 UTC by Dimitri Glazkov
Modified: 2012-03-23 22:05 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitri Glazkov 2012-01-31 23:17:22 UTC
Currently, the WebKit implementation benefits from a style reset, where all CSS values are explicitly reset to "initial" values. It's great when you don't want the document styles affecting your subtree layout. Maybe the spec should do the same.

Also related, bug 15805
Comment 1 Dimitri Glazkov 2012-03-09 22:19:39 UTC
This needs to be a separate flag. As it turns out, the native WebKit controls simply hard-code styles. I was wrong.
Comment 2 Dimitri Glazkov 2012-03-09 22:24:28 UTC
The question is: do we need a separate flags to control whether document styles apply and whether inheritance works? Maybe one flag is enough?
Comment 3 Dimitri Glazkov 2012-03-23 22:05:52 UTC
http://dvcs.w3.org/hg/webcomponents/rev/c4b2d2793935