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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/svg-absolute-children.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 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" width="100" height="100" style="position: static" onload="runRepaintAndPixelT est()"> 1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" width="100" height="100" style="position: static" onload="runRepaintTest()">
2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> 2 <script xlink:href="../../fast/repaint/resources/repaint.js"/>
3 <rect width="100" height="100" fill="red" /> 3 <rect width="100" height="100" fill="red" />
4 <rect id="rect" width="1" height="1" fill="green" style="position: absolute" / > 4 <rect id="rect" width="1" height="1" fill="green" style="position: absolute" / >
5 <script> 5 <script>
6 <![CDATA[ 6 <![CDATA[
7 function repaintTest() { 7 function repaintTest() {
8 var rect = document.getElementById('rect'); 8 var rect = document.getElementById('rect');
9 rect.setAttribute("width", "100"); 9 rect.setAttribute("width", "100");
10 rect.setAttribute("height", "100"); 10 rect.setAttribute("height", "100");
11 } 11 }
12 ]]> 12 ]]>
13 </script> 13 </script>
14 </svg> 14 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698