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

Unified Diff: third_party/WebKit/LayoutTests/svg/text/surrogate-pair-attribute-positions.html

Issue 1848463002: Include the surrogate character count when updating text state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@svg-metrics-cleanup-5
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/surrogate-pair-attribute-positions-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/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">&#x1100F;<tspan>&#x1100F;</tspan></text>
+ <script>
+ document.body.offsetLeft; // Kick off loading @font-face
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ document.body.onload = function () { testRunner.notifyDone(); };
+ }
+ </script>
+</svg>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/text/surrogate-pair-attribute-positions-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698