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

Side by Side Diff: LayoutTests/fast/shapes/parsing/parsing-shape-outside.html

Issue 200633005: [CSS Shapes] Remove deprecated shapes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test expectations Created 6 years, 9 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 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script src="parsing-test-utils.js"></script> 7 <script src="parsing-test-utils.js"></script>
8 <script> 8 <script>
9 description('Testing parsing of the shape-outside property.'); 9 description('Testing parsing of the shape-outside property.');
10 10
(...skipping 11 matching lines...) Expand all
22 22
23 invalidShapeValues.forEach(function(value, i, a) { 23 invalidShapeValues.forEach(function(value, i, a) {
24 testShapePropertyParsingFailure("shape-outside", value, "none") 24 testShapePropertyParsingFailure("shape-outside", value, "none")
25 }); 25 });
26 26
27 testShapePropertyParsingFailure("shape-outside", "outside-shape", "none"); 27 testShapePropertyParsingFailure("shape-outside", "outside-shape", "none");
28 28
29 applyToEachArglist( 29 applyToEachArglist(
30 testNotInheritedShapeProperty, 30 testNotInheritedShapeProperty,
31 [// [property, parentValue, childValue, expectedValue] 31 [// [property, parentValue, childValue, expectedValue]
32 ["shape-outside", "none", "rectangle(10px, 20px, 30px, 40px)", "parent: non e, child: rectangle(10px, 20px, 30px, 40px, 0px, 0px)"], 32 ["-webkit-shape-outside", "none", "circle(30px at 10px 20px)", "parent: non e, child: circle(30px at 10px 20px)"],
33 ["shape-outside", "rectangle(10px, 20px, 30px, 40px)", "initial", "parent: rectangle(10px, 20px, 30px, 40px, 0px, 0px), child: none"], 33 ["-webkit-shape-outside", "circle(30px at 10px 20px)", "initial", "parent: circle(30px at 10px 20px), child: none"],
34 ["shape-outside", "rectangle(10px, 20px, 30px, 40px)", "", "parent: rectang le(10px, 20px, 30px, 40px, 0px, 0px), child: none"], 34 ["-webkit-shape-outside", "circle(30px at 10px 20px)", "", "parent: circle( 30px at 10px 20px), child: none"],
35 ["shape-outside", "rectangle(10px, 20px, 30px, 40px)", "inherit", "parent: rectangle(10px, 20px, 30px, 40px, 0px, 0px), child: rectangle(10px, 20px, 30px, 40px, 0px, 0px)"], 35 ["-webkit-shape-outside", "circle(30px at 10px 20px)", "inherit", "parent: circle(30px at 10px 20px), child: circle(30px at 10px 20px)"],
36 ["shape-outside", "", "inherit", "parent: none, child: none"], 36 ["shape-outside", "", "inherit", "parent: none, child: none"],
37 ["shape-outside", "none", "inherit", "parent: none, child: none"]] 37 ["shape-outside", "none", "inherit", "parent: none, child: none"]]
38 ); 38 );
39 </script> 39 </script>
40 </body> 40 </body>
41 </html> 41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698