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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css3-text/css3-word-break/word-break-all-wrap-with-100percent-floats.html

Issue 1920293003: Fix line wrappiing when break-word/break-all and float with 100% width (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/ahem.js"></script>
3 <script src="../../../resources/testharness.js"></script>
4 <script src="../../../resources/testharnessreport.js"></script>
5 <style>
6 p {
7 width: 150px;
8 border: 1px solid black;
9 font: 10px Ahem;
10 }
11 span {
12 float: left;
13 width: 100%;
14 height: 10px;
15 background: papayawhip;
16 }
17 </style>
18 <div id="log"></div>
19 <div id="container">
20 <div style="word-wrap: normal; word-break: normal">
21 <p><span></span>Video source</p>
22 </div>
23 <div style="word-wrap: break-word">
24 <p><span></span>Video source</p>
25 </div>
26 <div style="word-break: break-all">
27 <p><span></span>Video source</p>
28 </div>
29 </div>
30
31 <script>
32 Array.prototype.forEach.call(container.children, function (e) {
33 test(function () {
34 assert_equals(e.offsetHeight, 22, "height");
35 }, e.style.cssText);
36 });
37 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698