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

Side by Side Diff: LayoutTests/inspector/elements/styles/svg-style.xhtml

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 xmlns="http://www.w3.org/1999/xhtml">
2 <head>
3
4 <script src="../../../http/tests/inspector/inspector-test.js"></script>
5 <script src="../../../http/tests/inspector/elements-test.js"></script>
6 <script>
7
8 function test()
9 {
10 InspectorTest.selectNodeAndWaitForStyles("main", step1);
11
12 function step1()
13 {
14 InspectorTest.addResult("Main style:");
15 InspectorTest.dumpSelectedElementStyles(true, false, true);
16 InspectorTest.completeTest();
17 }
18 }
19 </script>
20 </head>
21
22 <body onload="runTest()">
23 <p>
24 Tests that svg:style does not crash when the related element is inspected.
25 </p>
26
27 <svg:svg xmlns:svg="http://www.w3.org/2000/svg" version="1.1">
28 <svg:defs>
29 <svg:style type="text/css">
30 rect {fill: red}
31 </svg:style>
32 </svg:defs>
33 <svg:rect id="main" width="100" height="100"/>
34 </svg:svg>
35 </body>
36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698