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 22239 - [Shadow]: An exception to applyAuthorStyles should be carved out for custom pseudos
Summary: [Shadow]: An exception to applyAuthorStyles should be carved out for custom p...
Status: RESOLVED WONTFIX
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Hayato Ito
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 22715
  Show dependency treegraph
 
Reported: 2013-06-03 00:34 UTC by Dominic Cooney
Modified: 2014-01-17 07:55 UTC (History)
2 users (show)

See Also:


Attachments

Description Dominic Cooney 2013-06-03 00:34:13 UTC
The effect applyAuthorStyles is described thus: " If false (default value), the author styles are not applied to the shadow tree."

This presumably means that even if an element in Shadow DOM has a custom pseudo ID, author styles using that pseudo ID don't affect it.

Is this intended? It is simple to understand but seems counterintuitive.
Comment 1 Steve Orvell 2013-06-25 18:06:52 UTC
I think this is a problem. We should expose ::part styling to enclosing scopes.

See this bug for a proposal:

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22462
Comment 2 Dimitri Glazkov 2013-07-17 22:24:50 UTC
(In reply to comment #0)
> The effect applyAuthorStyles is described thus: " If false (default value),
> the author styles are not applied to the shadow tree."
> 
> This presumably means that even if an element in Shadow DOM has a custom
> pseudo ID, author styles using that pseudo ID don't affect it.
> 
> Is this intended? It is simple to understand but seems counterintuitive.

This is just poor wording in the spec. We need to describe switching applyAuthorStyles to "true" as purely additive to the defaults.
Comment 3 Hayato Ito 2014-01-17 07:55:07 UTC
Closing this issue because applyAuthorStyles was dead.