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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-text-3/overflow-wrap/overflow-wrap-002.html

Issue 1575873005: Import csswg-test@55da5c7bcd5a9d903e4611c3bcc1080cd6a97ad7 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 <meta charset="utf-8">
3 <title>CSS Text Test: overflow-wrap - break-word and white-space - nowrap</title >
4 <link rel="author" title="Intel" href="http://www.intel.com">
5 <link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
6 <link rel="help" title="6.2. Overflow Wrapping: the 'word-wrap'/'overflow-wrap' property" href="http://www.w3.org/TR/css-text-3/#overflow-wrap">
7 <link rel="help" href="http://www.w3.org/TR/css-text-3/#white-space">
8 <link rel="match" href="overflow-wrap-002-ref.html">
9 <meta name="flags" content="ahem">
10 <meta name="assert" content="Test checks that the 'overflow-wrap' property has e ffect if and only if the 'white-space' allows wrapping">
11 <style>
12 #ref {
13 border: 5px solid orange;
14 font: 20px/1 Ahem;
15 overflow-wrap: break-word;
16 width: 200px;
17 }
18 #test {
19 border: 5px solid blue;
20 font: 20px/1 Ahem;
21 overflow-wrap: break-word;
22 white-space: nowrap;
23 width: 200px;
24 }
25 </style>
26 <body>
27 <p class="instructions" style="display:none">Test passes if the black box over flows the blue border box, but fits within the orange border box.</p>
28 <p id="ref">FillerTextFillerTextFillerTextFillerText</p>
29 <p id="test">FillerTextFillerTextFillerTextFillerText</p>
30 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698