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

Unified Diff: LayoutTests/fast/text/inline-block-in-selection-root.html

Issue 331373006: Make inline blocks correctly update their line box selection state. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/TestExpectations ('k') | LayoutTests/fast/text/inline-block-in-selection-root-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text/inline-block-in-selection-root.html
diff --git a/LayoutTests/fast/text/inline-block-in-selection-root.html b/LayoutTests/fast/text/inline-block-in-selection-root.html
new file mode 100644
index 0000000000000000000000000000000000000000..fdd33ae516679ac4c69eb98d0860b0d0c03f089d
--- /dev/null
+++ b/LayoutTests/fast/text/inline-block-in-selection-root.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<div id="start">xx</div>
+<div style="position: relative; font-family: monospace">
+ <div style="display: inline-block">inline block inside selection root</div>
+</div>
+<div id="end">xx</div>
+<script>
+
+var start = document.querySelector('#start'),
+ end = document.querySelector('#end');
+getSelection().setBaseAndExtent(start.firstChild, 0, end.firstChild, 2);
+focus();
+
+</script>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/text/inline-block-in-selection-root-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698