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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/svg/custom/change-background-color-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/change-background-color.html
diff --git a/LayoutTests/svg/custom/change-background-color.html b/LayoutTests/svg/custom/change-background-color.html
new file mode 100644
index 0000000000000000000000000000000000000000..d788f2637415a688fe553fd93cec77515887b11e
--- /dev/null
+++ b/LayoutTests/svg/custom/change-background-color.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<script>
+if (window.testRunner)
+ testRunner.waitUntilDone();
+window.onload = function() {
+ var svg = document.querySelector('svg');
+ setTimeout(function() {
+ svg.style.backgroundColor = "green";
+ requestAnimationFrame(function() {
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
+ }, 0);
pdr. 2014/03/31 16:51:32 Is this setTimeout needed? I think the rAF should
+};
+</script>
+<svg width="200px" height="100px" viewBox="0 0 100 100"
+ style="background-color: red">
+</svg>
« 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
This is Rietveld 408576698