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

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: 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
« no previous file with comments | « LayoutTests/fast/dom/Range/getClientRects-character.html ('k') | Source/core/rendering/RenderText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0c6e570bb70fb73c7a0709c33c274a016d5975a1
--- /dev/null
+++ b/LayoutTests/fast/dom/Range/getClientRects-character-expected.txt
@@ -0,0 +1,10 @@
+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
+ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ
+ABCDEFGHIJKLMNOPQRSTUVWXYZ ABCDEFGHIJKLMNOPQRSTUVWXYZ
« no previous file with comments | « LayoutTests/fast/dom/Range/getClientRects-character.html ('k') | Source/core/rendering/RenderText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698