Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: LayoutTests/fast/css/style-scoped/style-scoped-nested-expected.txt

Issue 201683003: Remove resetStyleInheritance. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Resolve conflicts Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 CONSOLE WARNING: 'ShadowRoot.applyAuthorStyles' is deprecated. 1 CONSOLE WARNING: 'ShadowRoot.applyAuthorStyles' is deprecated.
2 Test whether scoped styles are applied in the cascade order or not. 2 Test whether scoped styles are applied in the cascade order or not.
3 If this test passes, rules which are declared in descendant scoping element are applied to a target element. 3 If this test passes, rules which are declared in descendant scoping element are applied to a target element.
4 c.f. https://bugs.webkit.org/show_bug.cgi?id=103239 4 c.f. https://bugs.webkit.org/show_bug.cgi?id=103239
5 Only document.style is applied to the target. 5 Only document.style is applied to the target.
6 PASS window.getComputedStyle(target).color is "rgb(255, 0, 0)" 6 PASS window.getComputedStyle(target).color is "rgb(255, 0, 0)"
7 A new scoped style is inserted into the grandparent node of the target. A class rule in the inserted scoped style wins an id rule in document.style. 7 A new scoped style is inserted into the grandparent node of the target. A class rule in the inserted scoped style wins an id rule in document.style.
8 PASS window.getComputedStyle(target).color is "rgb(255, 255, 0)" 8 PASS window.getComputedStyle(target).color is "rgb(255, 255, 0)"
9 A new scoped style is inserted into the parent node of the target. A tag rule in the inserted scoped style wins an id rule and a class rule in existing styles. 9 A new scoped style is inserted into the parent node of the target. A tag rule in the inserted scoped style wins an id rule and a class rule in existing styles.
10 PASS window.getComputedStyle(target).color is "rgb(0, 0, 255)" 10 PASS window.getComputedStyle(target).color is "rgb(0, 0, 255)"
11 Test a span in some shadow dom tree. Since the span's host node is the above tar get, we have to see all inserted scoped styles and an author style to find wheth er the styles have any matched rules or not.
12 PASS window.getComputedStyle(targetInShadow).color is "rgb(0, 0, 255)"
13 Append a new style element to the shadow root. The style's scoping element is th e shadow root. Rules in the style should override other rules in ascendant (scop ed) styles. 11 Append a new style element to the shadow root. The style's scoping element is th e shadow root. Rules in the style should override other rules in ascendant (scop ed) styles.
14 PASS window.getComputedStyle(targetInShadow).color is "rgb(0, 255, 0)" 12 PASS window.getComputedStyle(targetInShadow).color is "rgb(0, 255, 0)"
15 PASS successfullyParsed is true 13 PASS successfullyParsed is true
16 14
17 TEST COMPLETE 15 TEST COMPLETE
18 16
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/style-scoped/style-scoped-nested.html ('k') | LayoutTests/fast/dom/shadow/host-wrapper-reclaimed.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698