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

Side by Side Diff: LayoutTests/fast/block/float/floats-offset-linebox-contain-inline.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 <title>CSS Test: Test for wrapping around floats which are overlapped by the element that must avoid them</title>
5 <link rel="author" title="WebKit" href="http://webkit.org/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats">
7 <style type="text/css">
8 .container { font: 12px Ahem; color: red; width: 100px; height: 100px; b ackground: lime; -webkit-line-box-contain: inline; line-box-contain: inline; pos ition: relative; }
9 div { background: white; }
10 .reference { position: absolute; width: 100px; height: 100px; background : black; }
11 </style>
12 </head>
13 <body>
14 <!-- Ensure lineboxes respect line-box-contain when avoiding floats. -->
15 There should be no red below.
16 <div class="container">
17 <div style="float: left; width: 10px; height: 10px; 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 XXXXXXX XXXX XXXX XXXX
22 </div>
23
24
25 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698