Bug 149437

Summary: Add more rendering tests for shadow DOM
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: CSSAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, koivisto, thorton
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 148695    
Attachments:
Description Flags
Adds tests koivisto: review+

Description Ryosuke Niwa 2015-09-21 18:02:59 PDT
We should add more tests for shadow DOM rendering especifically :host and ::slotted
Comment 1 Ryosuke Niwa 2015-09-21 18:04:28 PDT
Created attachment 261708 [details]
Adds tests
Comment 2 Antti Koivisto 2015-09-21 18:32:02 PDT
Comment on attachment 261708 [details]
Adds tests

View in context: https://bugs.webkit.org/attachment.cgi?id=261708&action=review

> LayoutTests/ChangeLog:8
> +        Added various tests for shadow tree rendering as well as tests for :host pesudo class and ::slotted pesudo element.

Spelling: pesudo class, pesudo element
Comment 3 Ryosuke Niwa 2015-09-21 19:17:00 PDT
Comment on attachment 261708 [details]
Adds tests

View in context: https://bugs.webkit.org/attachment.cgi?id=261708&action=review

> LayoutTests/ChangeLog:15
> +        * fast/shadow-dom/css-scoping-shadow-host-rule-expected.html: Copied from LayoutTests/fast/shadow-dom/css-scoping-shadow-root-hides-children-expected.html.
> +        * fast/shadow-dom/css-scoping-shadow-host-rule.html: Added.

I'll split this into css-scoping-shadow-host-rule.html and css-scoping-shadow-host-functional-rule.html as discussed in person.
Comment 4 Ryosuke Niwa 2015-09-21 19:26:44 PDT
Committed r190098: <http://trac.webkit.org/changeset/190098>