Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / 005.html
blobac99ad830de154483f786aba82c673c3c6f9d706
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN">
2 <html>
3 <head>
4 <title>CSS Floats: Shrink Wrapped Right Floats With Right Aligned Text</title>
5 <style>
6 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
7 .container { width: 40%; padding: 0; margin: 1em; border: solid black; font: 2em/1 Ahem; height: 1em; width: 2em; background: red; }
8 .test { text-align: right; float: right; clear: right; color: green; }
9 </style>
10 </head>
11 <body>
12 <p class="control">Ahem_font_required_for_this_test.</p>
13 <p>The following two boxes should look identical.</p>
14 <div class="container"> <div class="test">xx</div> </div>
15 <div class="container"> <div class="test"> xx </div> </div>
16 </body>
17 </html>