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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/text/hyphens/hyphens-align.html

Issue 2564263002: Merge 2924: Fix not to double count the widths of hyphens (Closed)
Patch Set: Created 4 years 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script>
3 if (window.internals)
4 internals.setMockHyphenation('en-us');
5 </script>
6 <style>
7 div {
8 width: 15ch;
9 border: 2px solid blue;
10 }
11 .hyphen {
12 hyphens: auto;
13 }
14 </style>
15 <div style="text-align: justify">
16 <div class="hyphen">This is hyphenation enabled paragraph.</div>
17 <div>This is hyphen&shy;ation enabled paragraph.</div>
18 </div>
19 <div style="text-align: right">
20 <div class="hyphen">This is hyphenation enabled paragraph.</div>
21 <div>This is hyphen&shy;ation enabled paragraph.</div>
22 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698