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

Side by Side Diff: LayoutTests/inspector/elements/styles/region-style-crash.html

Issue 1158883003: DevTools: shard inspector/elements tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <style>
4 #article1 { -webkit-flow-into: flow1; }
5 #region1 { -webkit-flow-from: flow1; position: absolute; top: 10px; width: 350px ; height: 25px;}
6 #p1 { color: #ff0000; }
7 @-webkit-region #region1 {
8 #p1 { color: #008000; }
9 }
10
11 </style>
12 <script src="../../../http/tests/inspector/inspector-test.js"></script>
13 <script src="../../../http/tests/inspector/elements-test.js"></script>
14 <script>
15
16 function test()
17 {
18 InspectorTest.selectNodeAndWaitForStylesWithComputed("p1", dumpAllStyles);
19
20 function dumpAllStyles()
21 {
22 InspectorTest.dumpSelectedElementStyles();
23 InspectorTest.completeTest();
24 }
25 }
26
27 </script>
28 </head>
29
30 <body onload="runTest()">
31 <p>
32 Tests that webkit css region styling can be parsed correctly. Test passes if it doesn't crash.
33 </p>
34
35 <div id="article1">
36 <p id="p1">P color styled in region: #008000.</p>
37 </div>
38 <div id="region1" class="regionBox"></div>
39
40 </body>
41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698