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

Unified Diff: LayoutTests/fast/css/all-shorthand-expected.html

Issue 335733003: Added layout tests for all shorthand property. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/css/all-shorthand-expected.html
diff --git a/LayoutTests/fast/css/all-shorthand-expected.html b/LayoutTests/fast/css/all-shorthand-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..b5aea0b41de1aad59a4f0ee0b066023e95f56e4c
--- /dev/null
+++ b/LayoutTests/fast/css/all-shorthand-expected.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<style>
+#target1 { color: red; background-color: currentColor; }
+#target1 { color: green; }
+
+#parent { color: green; }
+#target2 { color: red; background-color: currentColor; }
+
+#target3 { color: green !important; }
+
+#target4 { color: red !important; }
+#target4 { background-color: red; }
+
+#target5 { background-color: red; }
+#target5 { color: green !important; }
+
+#target6 { color: red !important; }
+
+#target7 { direction: rtl; }
+
+#target8 { direction: rtl !important; }
+
+#parent9 { color: green; }
+</style>
+<div id='target1'>green color, green background-color</div>
+
+<div id='parent'>
+ <div id='target2'>red color, red background-color</div>
+</div>
+
+<div id='target3'>green color</div>
+
+<div id='target4'>red color, red background-color</div>
+
+<div id='target5'>green color, red background-color</div>
+
+<div id='target6'>red color</div>
+
+<div id='target7'>direction is rtl</div>
+
+<div id='target8'>direction is rtl</div>
+
+<div id='parent9'>
+ <div id='target9'>green color</div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698