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

Side by Side Diff: LayoutTests/svg/css/script-tests/svg-paint-order.js

Issue 339963002: Remove SVG paint order runtime flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test Created 6 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
« no previous file with comments | « no previous file | Source/core/css/RuntimeCSSEnabled.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 description("Test paint-order.") 1 description("Test paint-order.")
2 if (internals.runtimeFlags.svgPaintOrderEnabled) {
3 2
4 if (window.testRunner) 3 if (window.testRunner)
5 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
6 createSVGTestCase(); 5 createSVGTestCase();
7 6
8 var text = createSVGElement("text"); 7 var text = createSVGElement("text");
9 text.setAttribute("id", "text"); 8 text.setAttribute("id", "text");
10 text.setAttribute("x", "100px"); 9 text.setAttribute("x", "100px");
11 text.setAttribute("y", "100px"); 10 text.setAttribute("y", "100px");
12 rootSVGElement.appendChild(text); 11 rootSVGElement.appendChild(text);
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 89
91 debug(""); 90 debug("");
92 debug("Test invalid values of 'paint-order' (presentation attribute)"); 91 debug("Test invalid values of 'paint-order' (presentation attribute)");
93 test_attr("foo", "fill stroke markers"); 92 test_attr("foo", "fill stroke markers");
94 test_attr("fill foo", "fill stroke markers"); 93 test_attr("fill foo", "fill stroke markers");
95 test_attr("stroke foo", "fill stroke markers"); 94 test_attr("stroke foo", "fill stroke markers");
96 test_attr("markers foo", "fill stroke markers"); 95 test_attr("markers foo", "fill stroke markers");
97 test_attr("normal foo", "fill stroke markers"); 96 test_attr("normal foo", "fill stroke markers");
98 test_attr("fill markers stroke foo", "fill stroke markers"); 97 test_attr("fill markers stroke foo", "fill stroke markers");
99 98
100 } else {
101 debug("paint-order is disabled, skipping test.");
102 }
103
104 var successfullyParsed = true; 99 var successfullyParsed = true;
105 100
106 completeTest(); 101 completeTest();
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/RuntimeCSSEnabled.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698