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

Unified Diff: LayoutTests/fast/text/inline-block-in-selection-root-expected.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/fast/text/inline-block-in-selection-root.html ('k') | Source/core/rendering/RenderBlock.h » ('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-expected.html
diff --git a/LayoutTests/fast/text/inline-block-in-selection-root-expected.html b/LayoutTests/fast/text/inline-block-in-selection-root-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..23e10fbd4f6d2ba400b80a0dda77419c8a22d46c
--- /dev/null
+++ b/LayoutTests/fast/text/inline-block-in-selection-root-expected.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<div id="start">xx</div>
+<div style="font-family: monospace">inline block inside selection root</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/fast/text/inline-block-in-selection-root.html ('k') | Source/core/rendering/RenderBlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698