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

Side by Side Diff: LayoutTests/svg/repaint/change-background-color.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. 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>
4 window.testIsAsync = true;
5 window.onload = runRepaintTest;
6
7 function repaintTest() {
8 var svg = document.querySelector('svg');
9 setTimeout(function() {
10 svg.style.backgroundColor = "green";
11 requestAnimationFrame(function() {
12 if (window.testRunner)
13 finishRepaintTest();
14 });
15 }, 0);
16 };
17 </script>
18 <svg width="200px" height="100px" viewBox="0 0 100 100"
19 style="background-color: red">
20 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698