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

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

Issue 2614743004: Fix 'hyphens: auto' to work only when wrapping is allowed (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 div > div {
4 border: thin solid black;
5 font-family: 'Courier New';
6 -webkit-hyphens: auto;
7 hyphens: auto;
8 width: 5ch;
9 }
10 .nowrap {
11 white-space: nowrap;
12 }
13 </style>
14 <script>
15 if (window.internals)
16 internals.setMockHyphenation('en-us');
17 </script>
18 <div lang="en-us">
19 <div>hyphenation</div>
20 <div class="nowrap">hyphenation</div>
21 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698