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> |