Bug 88747
Summary: | applyAuthorStyles not effective | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eiji Kitamura <agektmr> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | dglazkov, dominicc, hayato, morrita, shinyak, tasak |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 63606 |
Eiji Kitamura
applyAuthorStyles is not effective regardless of true or false.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Dimitri Glazkov (Google)
Can you please provide a reduction for the problem you're having?
Eiji Kitamura
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
Hajime Morrita
Will take a look.
Hajime Morrita
Unassigning myself - Bug 88843 will fix a part of this.
Hajime Morrita
(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,