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

Side by Side Diff: LayoutTests/fast/css/all-shorthand-css-text.html

Issue 782003002: Remove code in PropertyValueForSerializer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test result Created 6 years 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/all-shorthand-css-text-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script> 2 <script src="../../resources/js-test.js"></script>
3 <style> 3 <style>
4 div { all: initial; } 4 div { all: initial; }
5 div { all: initial; color: red; } 5 div { all: initial; color: red; }
6 div { color: red; all: initial; } 6 div { color: red; all: initial; }
7 div { all: initial !important; color: red; } 7 div { all: initial !important; color: red; }
8 div { all: initial; color: red !important; } 8 div { all: initial; color: red !important; }
9 9
10 div { all: inherit; } 10 div { all: inherit; }
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 shouldBeTrue('contains(cssRules[15].cssText, "width: inherit;")'); 86 shouldBeTrue('contains(cssRules[15].cssText, "width: inherit;")');
87 shouldBeTrue('contains(cssRules[15].cssText, "min-width: initial;")'); 87 shouldBeTrue('contains(cssRules[15].cssText, "min-width: initial;")');
88 shouldBeTrue('contains(cssRules[15].cssText, "max-width: initial;")'); 88 shouldBeTrue('contains(cssRules[15].cssText, "max-width: initial;")');
89 shouldBeTrue('contains(cssRules[15].cssText, "marker-start: initial;")'); 89 shouldBeTrue('contains(cssRules[15].cssText, "marker-start: initial;")');
90 shouldBeTrue('contains(cssRules[15].cssText, "marker-mid: initial;")'); 90 shouldBeTrue('contains(cssRules[15].cssText, "marker-mid: initial;")');
91 shouldBeTrue('contains(cssRules[15].cssText, "marker-end: initial;")'); 91 shouldBeTrue('contains(cssRules[15].cssText, "marker-end: initial;")');
92 92
93 shouldBe('cssRules[16].cssText', '"div { all: unset; }"'); 93 shouldBe('cssRules[16].cssText', '"div { all: unset; }"');
94 shouldBeFalse('contains(cssRules[17].cssText, "all: unset;")'); 94 shouldBeFalse('contains(cssRules[17].cssText, "all: unset;")');
95 shouldBeTrue('contains(cssRules[17].cssText, "color: red;")'); 95 shouldBeTrue('contains(cssRules[17].cssText, "color: red;")');
96 <!-- FIXME: when using "all: unset", the all should be expanded to be -->
97 <!-- "display: unset; ..." -->
98 shouldBeTrue('contains(cssRules[17].cssText, "display: unset;")'); 96 shouldBeTrue('contains(cssRules[17].cssText, "display: unset;")');
99 </script> 97 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/all-shorthand-css-text-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698