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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/repaint/inner-svg-change-viewBox-contract.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" 1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k"
2 width="300" height="300" onload="runRepaintAndPixelTest()"> 2 width="300" height="300" onload="runRepaintTest()">
3 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js" /> 3 <script xlink:href="../../fast/repaint/resources/repaint.js" />
4 <script><![CDATA[ 4 <script><![CDATA[
5 function repaintTest() { 5 function repaintTest() {
6 document.getElementById("inner").setAttribute("viewBox", "0 0 200 200"); 6 document.getElementById("inner").setAttribute("viewBox", "0 0 200 200");
7 } 7 }
8 ]]></script> 8 ]]></script>
9 <!-- blue rect's lower right edges should be visible after viewbox resizing --> 9 <!-- blue rect's lower right edges should be visible after viewbox resizing -->
10 <rect width="200" height="200" fill="blue"/> 10 <rect width="200" height="200" fill="blue"/>
11 <svg id="inner" width="200" height="200" viewBox="0 0 100 100" preserveAspectRat io="none"> 11 <svg id="inner" width="200" height="200" viewBox="0 0 100 100" preserveAspectRat io="none">
12 <rect width="100" height="100" fill="green"/> 12 <rect width="100" height="100" fill="green"/>
13 </svg> 13 </svg>
14 </svg> 14 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698