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

Side by Side Diff: LayoutTests/css3/supports.html

Issue 1090423007: Serialize <string> with double quotes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 5 years, 8 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
« no previous file with comments | « no previous file | LayoutTests/css3/supports-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 <style> 5 <style>
6 .test { 6 .test {
7 content: "UNTOUCHED"; 7 content: "UNTOUCHED";
8 } 8 }
9 9
10 @supports (display: none) { 10 @supports (display: none) {
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 description("Test the @supports rule."); 244 description("Test the @supports rule.");
245 var numTests = 48; 245 var numTests = 48;
246 var untouchedTests = [1, 3, 5, 8, 12, 13, 14, 18, 22, 23, 24, 25, 28, 29, 34 , 36, 43, 44, 45, 46]; // Tests whose content shouldn't change from the UNTOUCHE D default. 246 var untouchedTests = [1, 3, 5, 8, 12, 13, 14, 18, 22, 23, 24, 25, 28, 29, 34 , 36, 43, 44, 45, 46]; // Tests whose content shouldn't change from the UNTOUCHE D default.
247 247
248 var container = document.getElementById("test_container"); 248 var container = document.getElementById("test_container");
249 for (var i=0; i < numTests; i++) { 249 for (var i=0; i < numTests; i++) {
250 var div = document.createElement("div"); 250 var div = document.createElement("div");
251 div.id = "t" + i; 251 div.id = "t" + i;
252 div.className = "test"; 252 div.className = "test";
253 container.appendChild(div); 253 container.appendChild(div);
254 shouldBeEqualToString("getComputedStyle(document.getElementById('t"+i+"' )).content", untouchedTests.indexOf(i) >= 0 ? "'UNTOUCHED'" : "'APPLIED'"); 254 shouldBeEqualToString("getComputedStyle(document.getElementById('t"+i+"' )).content", untouchedTests.indexOf(i) >= 0 ? '"UNTOUCHED"' : '"APPLIED"');
255 } 255 }
256 256
257 test_container.parentNode.removeChild(test_container); 257 test_container.parentNode.removeChild(test_container);
258 </script> 258 </script>
259 </body> 259 </body>
260 </html> 260 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/css3/supports-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698