Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/svg/text/surrogate-pair-attribute-positions.html |
| diff --git a/third_party/WebKit/LayoutTests/svg/text/surrogate-pair-attribute-positions.html b/third_party/WebKit/LayoutTests/svg/text/surrogate-pair-attribute-positions.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..214d30b7fb64575f28abd470b0d2ab7357cab3a9 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/svg/text/surrogate-pair-attribute-positions.html |
| @@ -0,0 +1,17 @@ |
| +<!DOCTYPE html> |
| +<svg width="200" height="100"> |
| + <style> |
| + @font-face { |
| + font-family: MyFont; |
| + src: url(../../third_party/adobe-fonts/CSSFWOrientationTest.otf); |
| + } |
| + </style> |
| + <text font-family="MyFont" font-size="50" x="0 100" y="50">𑀏<tspan>𑀏</tspan></text> |
| + <script> |
| + document.body.offsetLeft; // Kick off loading @font-face |
|
pdr.
2016/04/06 18:10:57
Is the test really flaky without this? I know we h
fs
2016/04/06 18:21:14
I guess this was a "better safe than sorry" from m
|
| + if (window.testRunner) { |
| + testRunner.waitUntilDone(); |
| + document.body.onload = function () { testRunner.notifyDone(); }; |
| + } |
| + </script> |
| +</svg> |