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

Unified Diff: LayoutTests/fast/text/international/unicode-bidi-isolate-collapsed-whitespace.html

Issue 26315003: Bidi-Isolate inlines break layout with collapsed whitespace (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased patch Created 7 years, 2 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: LayoutTests/fast/text/international/unicode-bidi-isolate-collapsed-whitespace.html
diff --git a/LayoutTests/fast/text/international/unicode-bidi-isolate-collapsed-whitespace.html b/LayoutTests/fast/text/international/unicode-bidi-isolate-collapsed-whitespace.html
new file mode 100644
index 0000000000000000000000000000000000000000..2803c13b9b88c52a64208c3e4f9795a25a12ca90
--- /dev/null
+++ b/LayoutTests/fast/text/international/unicode-bidi-isolate-collapsed-whitespace.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+<style>
+body > div {
+ display: inline-block;
+ border: 1px solid black;
+ width: 200px;
+}
+</style>
+<body>
+<p>This is a test for line layout to properly handle collapsing whitespace interspersed with inline isolated content.</p>
+<div id="test">
+<p>123
+ <span style="unicode-bidi: -webkit-isolate">456</span> 789</p>
+<p>123 <span style="unicode-bidi: -webkit-isolate">456</span> 789</p>
+<p>123
+ <span style="unicode-bidi: -webkit-isolate">4 56
+</span> 789</p>
+<p>123
+ <span style="unicode-bidi: -webkit-isolate">
+ 456
+ </span>
+ 789</p>
+<p>1 2 3
+ <span style="unicode-bidi: -webkit-isolate">
+ 4 5 6
+ </span>
+ 7 8 9 </p>
+</p>
+<p>123
+ <span style="unicode-bidi: -webkit-isolate"></span> 789</p>
+<p>123
+ <span style="unicode-bidi: -webkit-isolate"> </span> 789</p>
+<p>123
+<span style="unicode-bidi: -webkit-isolate"> 4 56 </span>
+ 789 <span style="unicode-bidi: -webkit-isolate"> 10 11 12 </span> 13 14 15 </p>
+<p>123
+<span style="unicode-bidi: -webkit-isolate"> 4 <span style="unicode-bidi: -webkit-isolate"> 5 6 7 </span> 89 </span>
+ 10 11 12 <span style="unicode-bidi: -webkit-isolate"> 13 14 15 </p>
+
+</div>
+</body></html>

Powered by Google App Engine
This is Rietveld 408576698