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

Side by Side 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, 1 month 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset="UTF-8"> 2 <meta charset="UTF-8">
3 <style> 3 <style>
4 #arabic {
5 direction: rtl;
6 }
7 #cyrillic {
8 word-break: break-word;
9 white-space: pre-line;
10 font-family: Arial;
11 }
4 div { 12 div {
5 direction: rtl; 13 line-height: 20px;
6 line-height: 20px; 14 border: 1px solid black;
7 border: 1px solid black; 15 display: inline-block;
8 display: inline-block;
9 } 16 }
10 </style> 17 </style>
11 <p>There should be only one line of arabic below.</p> 18 <p>Following paragraphs should not wrap.</p>
12 <div id="test" style="word-break: break-all" data-expected-height=22>اب و عدم وا بستگی.</div> 19 <div id="arabic" style="word-break: break-all" data-expected-height=22>اب و عدم وابستگی.</div>
20 <div id="cyrillic" data-expected-height=22>Договор</div>
13 <script src="../../../resources/check-layout.js"></script> 21 <script src="../../../resources/check-layout.js"></script>
14 <script> 22 <script>checkLayout("div");</script>
15 checkLayout("#test");
16 </script>
OLDNEW
« 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