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

Side by Side Diff: LayoutTests/svg/repaint/shape-with-nested-outline.html

Issue 609463002: Don't include nested outlines when computing repaint rects for SVG objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
(Empty)
1 <!DOCTYPE html>
2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <script src="../../resources/run-after-display.js"></script>
4 <script>
5 window.testIsAsync = true;
6 window.onload = runRepaintTest;
7
8 function repaintTest() {
9 runAfterDisplay(function() {
10 document.querySelector('#r').setAttribute('fill', 'green');
11 if (window.testRunner)
12 finishRepaintTest();
13 });
14 };
15 </script>
16 <style>
17 g {
18 outline: 50px solid lightblue;
19 }
20 rect#r {
21 outline: 50px solid blue;
22 }
23 </style>
24 <svg width="500" height="500">
25 <g transform="translate(50 50)">
26 <rect width="400" height="100"/>
27 <rect y="300" width="400" height="100"/>
28 <rect id="r" x="100" y="100" width="200" height="200" fill="blue"/>
29 </g>
30 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/svg/repaint/shape-with-nested-outline-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698