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

Unified Diff: third_party/WebKit/LayoutTests/svg/text/removing-id-on-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
Index: third_party/WebKit/LayoutTests/svg/text/removing-id-on-path.html
diff --git a/third_party/WebKit/LayoutTests/svg/transforms/change-transform-to-none-shape.html b/third_party/WebKit/LayoutTests/svg/text/removing-id-on-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/removing-id-on-path.html
index bc8f608d3f60a3cfdc1ff8ec01eb99ea633c8781..73b4624ce3f825fdb9709d3eb88ecc1b59e666e6 100644
--- a/third_party/WebKit/LayoutTests/svg/transforms/change-transform-to-none-shape.html
+++ b/third_party/WebKit/LayoutTests/svg/text/removing-id-on-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 id="path" d="M0,20h100" fill="none"/>
+ <text><textPath xlink:href="#path">FAIL</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 = '';
}, true);
</script>

Powered by Google App Engine
This is Rietveld 408576698