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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/text-dom-removal.svg

Issue 1972273002: Let repaint tests test pixels by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics /SVG/1.1/DTD/svg11-basic.dtd"> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics /SVG/1.1/DTD/svg11-basic.dtd">
3 <svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns: xlink="http://www.w3.org/1999/xlink" id="svg-root" width="400" height="400" onlo ad="runRepaintAndPixelTest()"> 3 <svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns: xlink="http://www.w3.org/1999/xlink" id="svg-root" width="400" height="400" onlo ad="runRepaintTest()">
4 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> 4 <script xlink:href="../../fast/repaint/resources/repaint.js"/>
5 <script type="text/ecmascript"> 5 <script type="text/ecmascript">
6 <![CDATA[ 6 <![CDATA[
7 function repaintTest() { 7 function repaintTest() {
8 var group = document.getElementById("objectsToRemove"); 8 var group = document.getElementById("objectsToRemove");
9 if (group != null) { 9 if (group != null) {
10 while (group.firstChild) { 10 while (group.firstChild) {
11 group.removeChild(group.firstChild); 11 group.removeChild(group.firstChild);
12 } 12 }
13 } 13 }
14 } 14 }
15 ]]> 15 ]]>
16 </script> 16 </script>
17 <rect x="0" y="0" width="400" height="400" style="fill:none; stroke:black; s troke-width:1"/> 17 <rect x="0" y="0" width="400" height="400" style="fill:none; stroke:black; s troke-width:1"/>
18 <g id="objectsToRemove"> 18 <g id="objectsToRemove">
19 <rect width="20" height="20"/> 19 <rect width="20" height="20"/>
20 <text x="50" y="125">This should not be visible</text> 20 <text x="50" y="125">This should not be visible</text>
21 </g> 21 </g>
22 </svg> 22 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698