Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/svg/text/adding-id-on-pending-path.html |
| diff --git a/third_party/WebKit/LayoutTests/svg/text/adding-id-on-pending-path.html b/third_party/WebKit/LayoutTests/svg/text/adding-id-on-pending-path.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ec61954917c1943564395f27f9c3367c5c600850 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/svg/text/adding-id-on-pending-path.html |
| @@ -0,0 +1,17 @@ |
| +<!DOCTYPE html> |
| +<div> |
|
fs
2016/03/17 17:27:33
Not needed.
hyunjunekim2
2016/03/18 07:44:06
Done.
|
| +<svg> |
| + <path d="M0,20h100" fill="none"/> |
| + <text><textPath xlink:href="#path">PASS</textPath></text> |
| +</svg> |
| +</div> |
| +<script> |
| +if (window.testRunner) |
| + testRunner.waitUntilDone(); |
| + |
| +setTimeout(function() { |
|
fs
2016/03/17 17:27:33
It'd probably be preferable to use runAfterLayoutA
hyunjunekim2
2016/03/18 07:44:06
Done.
|
| + document.querySelector('path').id = 'path'; |
| + if (window.testRunner) |
| + testRunner.notifyDone(); |
| +}, 0); |
| +</script> |