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

Side by Side Diff: LayoutTests/fast/regions/region-styling/webkit-region-error-recovery.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Error recovery in @-webkit-region body</title>
5 <script src="../../../resources/testharness.js"></script>
6 <script src="../../../resources/testharnessreport.js"></script>
7 <style>@-webkit-region #flow { ?{} #id {} }</style>
8 <style>@-webkit-region #flow { @font-face ?; #id {} }</style>
9 <style>@-webkit-region #flow { @import ?; #id {} }</style>
10 </head>
11 <body>
12 <div id="log"></div>
13 <script>
14 test(function(){
15 assert_equals(document.styleSheets[0].cssRules.length, 1, "Rule vali d and in CSSOM.");
16 }, "One invalid and one valid rule");
17 test(function(){
18 assert_equals(document.styleSheets[1].cssRules.length, 1, "Rule vali d and in CSSOM.");
19 }, "One invalid @-rule of allowed type and one valid rule");
20 test(function(){
21 assert_equals(document.styleSheets[2].cssRules.length, 1, "Rule vali d and in CSSOM.");
22 }, "One invalid @-rule of disallowed type and one valid rule");
23 </script>
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698