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

Unified Diff: LayoutTests/svg/repaint/outline-offset-shape.html

Issue 1157843008: Fix paint invalidation for SVG with outline-offset (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/outline-offset-shape-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/repaint/outline-offset-shape.html
diff --git a/LayoutTests/svg/repaint/outline-offset-shape.html b/LayoutTests/svg/repaint/outline-offset-shape.html
new file mode 100644
index 0000000000000000000000000000000000000000..f8e0685f2ffb51b52b09df6637bee0a47e299d9f
--- /dev/null
+++ b/LayoutTests/svg/repaint/outline-offset-shape.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ document.querySelector('rect').setAttribute('x', 25);
+}
+onload = runRepaintTest;
+</script>
+<style>
+rect {
+ outline: 5px solid blue;
+ outline-offset: 10px;
+}
+</style>
+<svg width="600">
+ <rect x="140" y="25" width="100" height="100" fill="green"/>
+</svg>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/svg/repaint/outline-offset-shape-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698