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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/background-serialize-expected.txt

Issue 1988013003: Move generic shorthand serialization checks out of specific routines (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shorthand1
Patch Set: actually fix test Created 4 years, 7 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
OLDNEW
1 Test background properties obtained by using cssText when the properties are set by using style element's textContent. 1 Test background properties obtained by using cssText when the properties are set by using style element's textContent.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS test('.test { background: none; }') is ".test { background: none; }" 6 PASS test('.test { background: none; }') is ".test { background: none; }"
7 PASS test('.test { background: none; background-color: black;}') is ".test { bac kground: none black; }" 7 PASS test('.test { background: none; background-color: black;}') is ".test { bac kground: none black; }"
8 PASS test('.test { background: none; background-color: initial !important;}') is ".test { background-image: none; background-attachment: initial; background-col or: initial !important; background-size: initial; background-origin: initial; ba ckground-clip: initial; background-position: initial; background-repeat: initial ; }" 8 PASS test('.test { background: none; background-color: initial !important;}') is ".test { background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background -origin: initial; background-clip: initial; background-color: initial !important ; }"
9 PASS test('.test { background: initial; }') is ".test { background: initial; }" 9 PASS test('.test { background: initial; }') is ".test { background: initial; }"
10 PASS test('.test { background: initial; background-color: black; }') is ".test { background-image: initial; background-attachment: initial; background-color: bl ack; background-size: initial; background-origin: initial; background-clip: init ial; background-position: initial; background-repeat: initial; }" 10 PASS test('.test { background: initial; background-color: black; }') is ".test { background-image: initial; background-position: initial; background-size: initi al; background-repeat: initial; background-attachment: initial; background-origi n: initial; background-clip: initial; background-color: black; }"
11 PASS test('.test { background: inherit; }') is ".test { background: inherit; }" 11 PASS test('.test { background: inherit; }') is ".test { background: inherit; }"
12 PASS test('.test { background: inherit; background-color: black; }') is ".test { background-image: inherit; background-attachment: inherit; background-color: bl ack; background-size: inherit; background-origin: inherit; background-clip: inhe rit; background-position: inherit; background-repeat: inherit; }" 12 PASS test('.test { background: inherit; background-color: black; }') is ".test { background-image: inherit; background-position: inherit; background-size: inher it; background-repeat: inherit; background-attachment: inherit; background-origi n: inherit; background-clip: inherit; background-color: black; }"
13 PASS test('.test { background: none; background-repeat: repeat-x !important;}') is ".test { background-image: none; background-attachment: initial; background-c olor: initial; background-size: initial; background-origin: initial; background- clip: initial; background-position: initial; background-repeat: repeat-x !import ant; }" 13 PASS test('.test { background: none; background-repeat: repeat-x !important;}') is ".test { background-image: none; background-position: initial; background-siz e: initial; background-attachment: initial; background-origin: initial; backgrou nd-clip: initial; background-color: initial; background-repeat: repeat-x !import ant; }"
14 PASS test('.test { background: none; background-repeat: repeat-x;}') is ".test { background: none repeat-x; }" 14 PASS test('.test { background: none; background-repeat: repeat-x;}') is ".test { background: none repeat-x; }"
15 PASS test('.test { background: none; background-position-x: 0%;}') is ".test { b ackground: none 0%; }" 15 PASS test('.test { background: none; background-position-x: 0%;}') is ".test { b ackground: none 0%; }"
16 PASS test('.test { background: none; background-position: 20% 80%;}') is ".test { background: none 20% 80%; }" 16 PASS test('.test { background: none; background-position: 20% 80%;}') is ".test { background: none 20% 80%; }"
17 PASS test('.test { background-position-x: 5%; }') is ".test { background-positio n-x: 5%; }" 17 PASS test('.test { background-position-x: 5%; }') is ".test { background-positio n-x: 5%; }"
18 PASS test('.test { background-position-y: 5%; }') is ".test { background-positio n-y: 5%; }" 18 PASS test('.test { background-position-y: 5%; }') is ".test { background-positio n-y: 5%; }"
19 PASS test('.test { background-position-x: 5%; background-position-y: 10%; }') is ".test { background-position: 5% 10%; }" 19 PASS test('.test { background-position-x: 5%; background-position-y: 10%; }') is ".test { background-position: 5% 10%; }"
20 PASS test('.test { background-position-x: 5%; background-position-y: 10% !import ant; }') is ".test { background-position-x: 5%; background-position-y: 10% !impo rtant; }" 20 PASS test('.test { background-position-x: 5%; background-position-y: 10% !import ant; }') is ".test { background-position-x: 5%; background-position-y: 10% !impo rtant; }"
21 PASS test('.test { background: url(dummy://test.png); }') is ".test { background : url(\"dummy://test.png\"); }" 21 PASS test('.test { background: url(dummy://test.png); }') is ".test { background : url(\"dummy://test.png\"); }"
22 PASS test('.test { background: url(dummy://test.png); background-color: black; } ') is ".test { background: url(\"dummy://test.png\") black; }" 22 PASS test('.test { background: url(dummy://test.png); background-color: black; } ') is ".test { background: url(\"dummy://test.png\") black; }"
23 PASS successfullyParsed is true 23 PASS successfullyParsed is true
24 24
25 TEST COMPLETE 25 TEST COMPLETE
26 26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698