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

Unified Diff: LayoutTests/fast/dom/Range/getClientRects-character-expected.txt

Issue 24023007: Fix wrong width of Range in vertical text (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove extra fprintf Created 7 years, 3 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: LayoutTests/fast/dom/Range/getClientRects-character-expected.txt
diff --git a/LayoutTests/fast/dom/Range/getClientRects-character-expected.txt b/LayoutTests/fast/dom/Range/getClientRects-character-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..123764dd7d24dfc588951048ec6e8032bb9e0fbe
--- /dev/null
+++ b/LayoutTests/fast/dom/Range/getClientRects-character-expected.txt
@@ -0,0 +1,13 @@
+Test horizontal
+PASS 1 is rects.length
+PASS box.offsetWidth / 26 is >= rects[0].width
+PASS box.offsetHeight / 2 is >= rects[0].height
+Test vertical
+PASS 1 is rects.length
+PASS box.offsetWidth / 2 is >= rects[0].width
+PASS box.offsetHeight / 26 is >= rects[0].height
+PASS successfullyParsed is true
+
+TEST COMPLETE
+ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ
+ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ

Powered by Google App Engine
This is Rietveld 408576698