This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15820 - [Shadow]: Consider using "initial" CSS values for shadow DOM subtrees
Summary: [Shadow]: Consider using "initial" CSS values for shadow DOM subtrees
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
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

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