Chromium Code Reviews

Side by Side Diff: LayoutTests/svg/repaint/add-outline-property-on-root.html

Issue 211193002: Compute correct repaint rect for decorated RenderSVGRoots (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make border tests less RAL/non-RAL sensitive. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <script>
4 window.testIsAsync = true;
5 window.onload = runRepaintTest;
6
7 function repaintTest() {
8 setTimeout(function() {
9 requestAnimationFrame(function() {
10 document.querySelector('svg').style.outline = "10px solid green";
11 if (window.testRunner)
12 finishRepaintTest();
13 });
14 }, 0);
15 };
16 </script>
17 <svg width="100" height="100">
18 <rect width="100" height="100" fill="blue"/>
19 </svg>
20
OLDNEW

Powered by Google App Engine