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

Side by Side Diff: LayoutTests/fast/css/draggable-region-parser.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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../resources/js-test.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <p id="description"></p> 6 <p id="description"></p>
7 <div id="console"></div> 7 <div id="console"></div>
8 <script> 8 <script>
9 9
10 description("This tests the parser and serializer for draggable region values.") ; 10 description("This tests the parser and serializer for draggable region values.") ;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 shouldBe("parseDraggableRegion('Drag')", "'drag'"); 43 shouldBe("parseDraggableRegion('Drag')", "'drag'");
44 shouldBe("parseDraggableRegion('DrAG')", "'drag'"); 44 shouldBe("parseDraggableRegion('DrAG')", "'drag'");
45 shouldBe("parseDraggableRegion('NO-DrAG')", "'no-drag'"); 45 shouldBe("parseDraggableRegion('NO-DrAG')", "'no-drag'");
46 shouldBe("parseDraggableRegion('NO-DRAG')", "'no-drag'"); 46 shouldBe("parseDraggableRegion('NO-DRAG')", "'no-drag'");
47 47
48 debug(''); 48 debug('');
49 debug('Some expected failures.'); 49 debug('Some expected failures.');
50 debug(''); 50 debug('');
51 51
52 shouldBe("parseDraggableRegion('')", "null"); 52 shouldBeEqualToString("parseDraggableRegion('')", "");
53 shouldBe("parseDraggableRegion(' ')", "null"); 53 shouldBeEqualToString("parseDraggableRegion(' ')", "");
54 shouldBe("parseDraggableRegion('x')", "null"); 54 shouldBeEqualToString("parseDraggableRegion('x')", "");
55 shouldBe("parseDraggableRegion('x-')", "null"); 55 shouldBeEqualToString("parseDraggableRegion('x-')", "");
56 shouldBe("parseDraggableRegion('x()')", "null"); 56 shouldBeEqualToString("parseDraggableRegion('x()')", "");
57 shouldBe("parseDraggableRegion('x(a)')", "null"); 57 shouldBeEqualToString("parseDraggableRegion('x(a)')", "");
58 shouldBe("parseDraggableRegion('none x')", "null"); 58 shouldBeEqualToString("parseDraggableRegion('none x')", "");
59 shouldBe("parseDraggableRegion('none x()')", "null"); 59 shouldBeEqualToString("parseDraggableRegion('none x()')", "");
60 shouldBe("parseDraggableRegion('none x(a)')", "null"); 60 shouldBeEqualToString("parseDraggableRegion('none x(a)')", "");
61 61
62 debug(''); 62 debug('');
63 63
64 64
65 </script> 65 </script>
66 </body> 66 </body>
67 </html> 67 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698