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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/repaint/inner-svg-change-viewBox.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 width="200" height="200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="ht tp://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()"> 1 <svg width="200" height="200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="ht tp://www.w3.org/1999/xlink" onload="runRepaintTest()">
2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"></script > 2 <script xlink:href="../../fast/repaint/resources/repaint.js"></script>
3 <script> 3 <script>
4 <![CDATA[ 4 <![CDATA[
5 function repaintTest() { 5 function repaintTest() {
6 document.getElementById('s').setAttribute("viewBox", "0 0 200 200"); 6 document.getElementById('s').setAttribute("viewBox", "0 0 200 200");
7 } 7 }
8 ]]> 8 ]]>
9 </script> 9 </script>
10 10
11 <svg id="s" viewBox="0 0 800 800"> 11 <svg id="s" viewBox="0 0 800 800">
12 <rect fill="green" width="50%" height="50%"/> 12 <rect fill="green" width="50%" height="50%"/>
13 </svg> 13 </svg>
14 </svg> 14 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698