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

Unified Diff: third_party/WebKit/LayoutTests/svg/text/text-collapsed-ws-remove-textnode.html

Issue 1872513005: Add test for metrics invalidation on textnode removal (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « no previous file | third_party/WebKit/LayoutTests/svg/text/text-collapsed-ws-remove-textnode-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/svg/text/text-collapsed-ws-remove-textnode.html
diff --git a/third_party/WebKit/LayoutTests/svg/text/adding-id-on-pending-path.html b/third_party/WebKit/LayoutTests/svg/text/text-collapsed-ws-remove-textnode.html
similarity index 53%
copy from third_party/WebKit/LayoutTests/svg/text/adding-id-on-pending-path.html
copy to third_party/WebKit/LayoutTests/svg/text/text-collapsed-ws-remove-textnode.html
index 9ba1e36656cc669232637eef4c70446523f6ce70..4bd3ec41b09ec9a6ff57ac06c7c5482f562213e0 100644
--- a/third_party/WebKit/LayoutTests/svg/text/adding-id-on-pending-path.html
+++ b/third_party/WebKit/LayoutTests/svg/text/text-collapsed-ws-remove-textnode.html
@@ -1,11 +1,10 @@
<!DOCTYPE html>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
<svg>
- <path d="M0,20h100" fill="none"/>
- <text><textPath xlink:href="#path">PASS</textPath></text>
+ <text y="20">Foo<tspan> </tspan> bar</text>
</svg>
-<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
runAfterLayoutAndPaint(function() {
- document.querySelector('path').id = 'path';
+ document.querySelector('tspan').firstChild.remove();
}, true);
</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/text/text-collapsed-ws-remove-textnode-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698