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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-4/disable-last-property-without-semicolon.html

Issue 1534323003: DevTools: [CSS] do not treat random css comments as disabled properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaseline Created 4 years, 11 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 3
4 <script src="../../../http/tests/inspector/inspector-test.js"></script> 4 <script src="../../../http/tests/inspector/inspector-test.js"></script>
5 <script src="../../../http/tests/inspector/elements-test.js"></script> 5 <script src="../../../http/tests/inspector/elements-test.js"></script>
6 <script> 6 <script>
7 7
8 function test() 8 function test()
9 { 9 {
10 var formattedStyle; 10 var formattedStyle;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 return; 70 return;
71 InspectorTest.addResult("raw cssText:"); 71 InspectorTest.addResult("raw cssText:");
72 InspectorTest.addResult("{" + style.cssText + "}"); 72 InspectorTest.addResult("{" + style.cssText + "}");
73 } 73 }
74 } 74 }
75 </script> 75 </script>
76 76
77 <style> 77 <style>
78 78
79 #formatted { 79 #formatted {
80 property1: value1; 80 color: red;
81 property2: value2 81 margin: 0
82 } 82 }
83 83
84 </style> 84 </style>
85 </head> 85 </head>
86 86
87 <body id="mainBody" onload="runTest()"> 87 <body id="mainBody" onload="runTest()">
88 <p> 88 <p>
89 Verifies that formatter adds a semicolon when enabling property. 89 Verifies that formatter adds a semicolon when enabling property.
90 </p> 90 </p>
91 <div id="formatted">Formatted</div> 91 <div id="formatted">Formatted</div>
92 </body> 92 </body>
93 </html> 93 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698