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

Unified Diff: LayoutTests/svg/repaint/outline-offset-text.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
Index: LayoutTests/svg/repaint/outline-offset-text.html
diff --git a/LayoutTests/svg/repaint/outline-offset-text.html b/LayoutTests/svg/repaint/outline-offset-text.html
new file mode 100644
index 0000000000000000000000000000000000000000..a15475631b93c075a3abec6e198468fa72f7e83a
--- /dev/null
+++ b/LayoutTests/svg/repaint/outline-offset-text.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ document.querySelector('text').setAttribute('x', 200);
+}
+onload = runRepaintTest;
+</script>
+<style>
+text {
+ font-size: 75px;
+ font-family: sans-serif;
+ text-anchor: end;
+ outline: 5px solid blue;
+ outline-offset: 10px;
+}
+</style>
+<svg width="600">
+ <text x="240" y="100" width="100" height="100" fill="green">Foo</text>
+</svg>
« no previous file with comments | « LayoutTests/svg/repaint/outline-offset-shape-expected.txt ('k') | LayoutTests/svg/repaint/outline-offset-text-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698