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

Side by Side Diff: LayoutTests/fast/css/style-scoped/style-scoped-with-important-rule-expected.txt

Issue 310443002: Remove scoped styles. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase for CQ Created 6 years, 6 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
(Empty)
1 Test that rules in an inner scoped stylesheet don't override !important rules de clared in an outer scoped stylesheet.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Case1: The target element has any matched important rule declared in an outer sc oped stylesheet, and the element also has any matched normal rule declared in an inner scoped stylesheet.
7 PASS getComputedStyle(target1).borderColor is "rgb(0, 128, 0)"
8 Case2: The target element has any matched important rule declared in an outer sc oped stylesheet, and the element also has a matched normal ID rule declared in a n inner scoped stylesheet.
9 PASS getComputedStyle(target2).borderColor is "rgb(0, 128, 0)"
10 Case3: The target element has any matched important rule declared in an outer sc oped stylesheet, and the element also has matched normal rules declared in an in ner scoped stylesheet and in a STYLE attribute.
11 PASS getComputedStyle(target3).borderColor is "rgb(0, 128, 0)"
12 Case4: The target element has matched important rules. One is declared in an out er scoped stylesheet and the other is declared in an inner scoped stylesheet.
13 PASS getComputedStyle(target4).borderColor is "rgb(0, 0, 255)"
14 Case5: The target element has any matched important rule declared in an author s tylesheet, and the element also has matched normal rules declared in an inner sc oped stylesheet.
15 PASS getComputedStyle(target5).borderColor is "rgb(0, 255, 0)"
16 Case6: The target element has matched important rules. One is declared in an aut hor stylesheet (not scoped) and the other is declared in a scoped stylesheet.
17 PASS getComputedStyle(target6).borderColor is "rgb(0, 0, 255)"
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698