Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / elements / styles-4 / styles-source-lines-recovery.html
blobc6b5deb3c61fbd37934b443870157f8446b2b03a
1 <html>
2 <head>
3 <style>
4 @media all {
5 ::-moz-focus-inner {}
7 #main {
8 color: red;
10 </style>
12 <style>
13 @-webkit-region x {
14 x ? {}
16 #main {
17 color: blue;
19 </style>
21 <style>
22 @-webkit-region x {
23 ? {}
25 #main {
26 color: white;
28 </style>
30 <script src="../../../http/tests/inspector/inspector-test.js"></script>
31 <script src="../../../http/tests/inspector/elements-test.js"></script>
32 <script>
34 function test()
36 InspectorTest.selectNodeAndWaitForStyles("main", step1);
38 function step1()
40 InspectorTest.dumpSelectedElementStyles(true, false, true);
41 InspectorTest.completeTest();
45 </script>
46 </head>
48 <body onload="runTest()">
49 <p>
50 Tests that invalid rule inside @-rule doesn't break source code matching (http://crbug.com/317499).
51 </p>
53 <div id="main"></div>
55 </body>
56 </html>