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

Side by Side Diff: LayoutTests/fast/block/float/floats-offset-linebox-contain-block.html

Issue 1328673003: Remove -webkit-line-box-contain implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix up a few more tests. Created 5 years, 3 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 PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/st rict.dtd">
2 <html>
3 <head>
4 <style>
5 .container { font: 12px Ahem; color: red; width: 100px; -webkit-line-box -contain: block; line-box-contain: block; position: relative; }
6 div { background: white; }
7 .reference { position: absolute; left: 10px; width: 40px; height: 50px; background: black; }
8 .tallspan { display: inline-block; width: 20px; height: 50px; background : red; vertical-align: top;}
9 .shortspan { display: inline-block; width: 20px; height: 20px; backgroun d: red; vertical-align: top;}
10 </style>
11 </head>
12 <body>
13 <!-- Ensure lineboxes respect line-box-contain when avoiding floats. In this cas e the first inline block avoids the first float as
14 its the start of the line, but the second taller inline block has no effect even though it overlaps the second float. -->
15 There should be no red below.
16 <div class="container">
17 <div style="float: left; width: 10px; height: 25px; background: white"></di v>
18 <div style="float: left; clear:left; width: 40px; height: 50px; background: white"></div>
19 <!-- This should cover the text below as the linebox will offset to avoid th e first float but not the second. -->
20 <div class="reference"></div>
21 <span class="shortspan"></span><span class="tallspan"></span>
22 </div>
23
24
25 </body></html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/block/float/floats-offset-linebox-contain-block-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698