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

Side by Side Diff: LayoutTests/fast/css/getPropertyValue-columns.html

Issue 1274643002: CSSStyleDeclaraction returns empty string (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed changes from imported/csswg-test Created 5 years, 4 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 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>-webkit-columns shorthand getPropertyValue test</title> 4 <title>-webkit-columns shorthand getPropertyValue test</title>
5 <style> 5 <style>
6 .test { 6 .test {
7 width: 100px; 7 width: 100px;
8 height: 100px; 8 height: 100px;
9 } 9 }
10 </style> 10 </style>
(...skipping 22 matching lines...) Expand all
33 } 33 }
34 34
35 shouldBeEqualToString('webkitColumnsValue("columns1")', '10px auto'); 35 shouldBeEqualToString('webkitColumnsValue("columns1")', '10px auto');
36 shouldBeEqualToString('webkitColumnsValue("columns2")', 'auto 10'); 36 shouldBeEqualToString('webkitColumnsValue("columns2")', 'auto 10');
37 shouldBeEqualToString('webkitColumnsValue("columns3")', '10px auto'); 37 shouldBeEqualToString('webkitColumnsValue("columns3")', '10px auto');
38 shouldBeEqualToString('webkitColumnsValue("columns4")', 'auto auto'); 38 shouldBeEqualToString('webkitColumnsValue("columns4")', 'auto auto');
39 shouldBeEqualToString('webkitColumnsValue("columns5")', 'auto 2'); 39 shouldBeEqualToString('webkitColumnsValue("columns5")', 'auto 2');
40 shouldBeEqualToString('webkitColumnsValue("columns6")', '10px 2'); 40 shouldBeEqualToString('webkitColumnsValue("columns6")', '10px 2');
41 shouldBeEqualToString('webkitColumnsValue("columns7")', 'auto auto'); 41 shouldBeEqualToString('webkitColumnsValue("columns7")', 'auto auto');
42 debug("NOTE: 'foo' is an illegal CSS value for '-webkit-columns'."); 42 debug("NOTE: 'foo' is an illegal CSS value for '-webkit-columns'.");
43 shouldBe('webkitColumnsValue("columns8")', "null"); 43 shouldBeEqualToString('webkitColumnsValue("columns8")', "");
44 debug("NOTE: If only few longhand properties are specified, getPropertyVal ue for shorthand property returns null.") 44 debug("NOTE: If only few longhand properties are specified, getPropertyVal ue for shorthand property returns empty string.")
45 shouldBe('webkitColumnsValue("columns9")', "null"); 45 shouldBeEqualToString('webkitColumnsValue("columns9")', "");
46 </script> 46 </script>
47 </body> 47 </body>
48 </html> 48 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698