Chromium Code Reviews

Side by Side Diff: LayoutTests/svg/custom/change-background-color.html

Issue 211193002: Compute correct repaint rect for decorated RenderSVGRoots (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase (adds additional TE conflict.) 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>
3 if (window.testRunner)
4 testRunner.waitUntilDone();
5 window.onload = function() {
6 var svg = document.querySelector('svg');
7 setTimeout(function() {
8 svg.style.backgroundColor = "green";
9 requestAnimationFrame(function() {
10 if (window.testRunner)
11 testRunner.notifyDone();
12 });
13 }, 0);
pdr. 2014/03/31 16:51:32 Is this setTimeout needed? I think the rAF should
14 };
15 </script>
16 <svg width="200px" height="100px" viewBox="0 0 100 100"
17 style="background-color: red">
18 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/svg/custom/change-background-color-expected.html » ('j') | no next file with comments »

Powered by Google App Engine