Bug 88747 - applyAuthorStyles not effective
Summary: applyAuthorStyles not effective
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 63606
  Show dependency treegraph
 
Reported: 2012-06-10 20:42 PDT by Eiji Kitamura
Modified: 2012-07-19 02:13 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eiji Kitamura 2012-06-10 20:42:00 PDT
applyAuthorStyles is not effective regardless of true or false.
Comment 1 Dimitri Glazkov (Google) 2012-06-11 10:35:04 PDT
Can you please provide a reduction for the problem you're having?
Comment 2 Eiji Kitamura 2012-06-11 18:59:26 PDT
There's 2 phenomenon due to this issue.

1. Styles inherited even though applyAuthorStyles is explicitly set as "false"
http://jsdo.it/agektmr/z03X

2. Weird behavior on this example
http://jsdo.it/agektmr/bpbU

distributed content won't show up until
- you explicitly give applyAuthorStyles = true
- you open up DevTools and click inside rectangle with magnifier via Elements tab
Comment 3 Hajime Morrita 2012-06-11 19:26:01 PDT
Will take a look.
Comment 4 Hajime Morrita 2012-06-11 23:56:30 PDT
Unassigning myself - Bug 88843 will fix a part of this.
Comment 5 Hajime Morrita 2012-07-19 02:13:22 PDT
(In reply to comment #2)
> There's 2 phenomenon due to this issue.
> 
> 1. Styles inherited even though applyAuthorStyles is explicitly set as "false"
> http://jsdo.it/agektmr/z03X
This works as intended - applyAuthorStyles affects only to shadow tree, not distributed contents

> 
> 2. Weird behavior on this example
> http://jsdo.it/agektmr/bpbU
> 
> distributed content won't show up until
> - you explicitly give applyAuthorStyles = true
> - you open up DevTools and click inside rectangle with magnifier via Elements tab
Looks like fixed.

Feel free to reopen if my understanding is wrong.
Thanks,