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

Side by Side Diff: LayoutTests/svg/repaint/inner-svg-change-viewBox-contract.svg

Issue 205263004: Convert svg repaint tests to pixel test only repaint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove fixedpos Created 6 years, 9 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 | Annotate | Revision Log
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="runRepaintTest()"> 2 width="300" height="300" onload="runRepaintAndPixelTest()">
3 <script xlink:href="../../fast/repaint/resources/repaint.js" /> 3 <script xlink:href="../../fast/repaint/resources/text-based-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
« no previous file with comments | « LayoutTests/svg/repaint/inner-svg-change-viewBox.svg ('k') | LayoutTests/svg/repaint/inner-svg-change-viewPort-relative.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698