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

Unified Diff: third_party/WebKit/LayoutTests/fast/css3-text/css3-word-break/word-break-all-rtl.html

Issue 2438683006: Fix max preferred width for LayoutText when break-all (Closed)
Patch Set: Rebaseline Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css3-text/css3-word-break/word-break-all-rtl-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css3-text/css3-word-break/word-break-all-rtl.html
diff --git a/third_party/WebKit/LayoutTests/fast/css3-text/css3-word-break/word-break-all-rtl.html b/third_party/WebKit/LayoutTests/fast/css3-text/css3-word-break/word-break-all-rtl.html
index c3ed15d0a9450fc7b482081bce399e3fa4992c77..90860f2e113e28daa251bd00d59ef79882dfb31b 100644
--- a/third_party/WebKit/LayoutTests/fast/css3-text/css3-word-break/word-break-all-rtl.html
+++ b/third_party/WebKit/LayoutTests/fast/css3-text/css3-word-break/word-break-all-rtl.html
@@ -1,16 +1,22 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<style>
+#arabic {
+ direction: rtl;
+}
+#cyrillic {
+ word-break: break-word;
+ white-space: pre-line;
+ font-family: Arial;
+}
div {
- direction: rtl;
- line-height: 20px;
- border: 1px solid black;
- display: inline-block;
+ line-height: 20px;
+ border: 1px solid black;
+ display: inline-block;
}
</style>
-<p>There should be only one line of arabic below.</p>
-<div id="test" style="word-break: break-all" data-expected-height=22>اب و عدم وابستگی.</div>
+<p>Following paragraphs should not wrap.</p>
+<div id="arabic" style="word-break: break-all" data-expected-height=22>اب و عدم وابستگی.</div>
+<div id="cyrillic" data-expected-height=22>Договор</div>
<script src="../../../resources/check-layout.js"></script>
-<script>
- checkLayout("#test");
-</script>
+<script>checkLayout("div");</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css3-text/css3-word-break/word-break-all-rtl-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698