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

Unified Diff: LayoutTests/svg/repaint/add-background-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. 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/repaint/add-background-property-on-root-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/repaint/add-background-property-on-root.html
diff --git a/LayoutTests/svg/repaint/add-background-property-on-root.html b/LayoutTests/svg/repaint/add-background-property-on-root.html
new file mode 100644
index 0000000000000000000000000000000000000000..bacab508718250a6f8b6f088622e26affe0d5ffb
--- /dev/null
+++ b/LayoutTests/svg/repaint/add-background-property-on-root.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<script>
+window.testIsAsync = true;
+window.onload = runRepaintTest;
+
+function repaintTest() {
+ setTimeout(function() {
+ requestAnimationFrame(function() {
+ document.querySelector('svg').style.background = "green";
+ if (window.testRunner)
+ finishRepaintTest();
+ });
+ }, 0);
+};
+</script>
+<div style="width: 100px; height: 100px; background: red">
+ <svg width="100" height="100"></svg>
+</div>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/svg/repaint/add-background-property-on-root-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698