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

Unified Diff: Source/web/tests/data/composited_selection_bounds_empty_editable_input.html

Issue 929213004: Plumb selection bounds as a single unit (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: TODO for moving WebSelectionBound Created 5 years, 8 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: Source/web/tests/data/composited_selection_bounds_empty_editable_input.html
diff --git a/Source/web/tests/data/composited_selection_bounds_empty_editable_input.html b/Source/web/tests/data/composited_selection_bounds_empty_editable_input.html
new file mode 100644
index 0000000000000000000000000000000000000000..b699025edfcaed417e31a39f7c6a7952c6bf3b65
--- /dev/null
+++ b/Source/web/tests/data/composited_selection_bounds_empty_editable_input.html
@@ -0,0 +1,22 @@
+<style>
+ @font-face {
+ font-family: ahem;
+ src: url(Ahem.ttf);
+ }
+ * {
+ font-family: ahem;
+ margin: 0;
+ padding: 0;
+ }
+</style>
+<input type="text" id="text"/>
+<script>
+ var textNode = document.getElementById("text");
+ textNode.focus();
+
+ var expectEditable = true;
+ var expectEmptyTextFormControl = true;
+ var yBottomEpsilon = 2;
+ window.expectedResult = [document, 2, 2, 2, 14, document, 2, 2, 2, 14, expectEditable, expectEmptyTextFormControl, yBottomEpsilon];
+</script>
+

Powered by Google App Engine
This is Rietveld 408576698