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

Unified Diff: third_party/WebKit/LayoutTests/svg/text/adding-id-on-pending-path.html

Issue 1812493002: If add 'id' on pending SVG resource references does not work for non-resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « no previous file | third_party/WebKit/LayoutTests/svg/text/adding-id-on-pending-path-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/adding-id-on-pending-path.html
diff --git a/third_party/WebKit/LayoutTests/svg/transforms/change-transform-to-none-shape.html b/third_party/WebKit/LayoutTests/svg/text/adding-id-on-pending-path.html
similarity index 52%
copy from third_party/WebKit/LayoutTests/svg/transforms/change-transform-to-none-shape.html
copy to third_party/WebKit/LayoutTests/svg/text/adding-id-on-pending-path.html
index bc8f608d3f60a3cfdc1ff8ec01eb99ea633c8781..9ba1e36656cc669232637eef4c70446523f6ce70 100644
--- a/third_party/WebKit/LayoutTests/svg/transforms/change-transform-to-none-shape.html
+++ b/third_party/WebKit/LayoutTests/svg/text/adding-id-on-pending-path.html
@@ -1,10 +1,11 @@
<!DOCTYPE html>
-<script src="../../resources/run-after-layout-and-paint.js"></script>
<svg>
- <rect width="100" height="100" fill="green" style="transform: translate(100px, 100px)"/>
+ <path d="M0,20h100" fill="none"/>
+ <text><textPath xlink:href="#path">PASS</textPath></text>
</svg>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
runAfterLayoutAndPaint(function() {
- document.querySelector('rect').style.transform = 'none';
+ document.querySelector('path').id = 'path';
}, true);
</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/text/adding-id-on-pending-path-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698