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

Unified Diff: LayoutTests/fast/dom/Range/getBoundingClientRect-caret-expected.txt

Issue 998263002: range.getBoundingClientRect() returns incorrect value for collapsed ranges (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 | « LayoutTests/fast/dom/Range/getBoundingClientRect-caret.html ('k') | Source/core/dom/Range.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Range/getBoundingClientRect-caret-expected.txt
diff --git a/LayoutTests/fast/dom/Range/getBoundingClientRect-caret-expected.txt b/LayoutTests/fast/dom/Range/getBoundingClientRect-caret-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca59847446117df6f0eb682e2eb1bb67792b3dea
--- /dev/null
+++ b/LayoutTests/fast/dom/Range/getBoundingClientRect-caret-expected.txt
@@ -0,0 +1,14 @@
+hello
+Test getBoundingClientRect of caret for collapsed range.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS rect.left is 22
+PASS rect.top is 8
+PASS rect.width is 0
+PASS rect.height is 19
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/Range/getBoundingClientRect-caret.html ('k') | Source/core/dom/Range.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698