Merge mozilla-central to autoland. a=merge CLOSED TREE
[gecko.git] / layout / reftests / details-summary / float-right-and-float-details.html
blobc82755859783238ec2a8b2de2e19808e9a44c39d
1 <!DOCTYPE html>
2 <!-- Any copyright is dedicated to the Public Domain.
3 - http://creativecommons.org/publicdomain/zero/1.0/ -->
5 <html>
6 <style>
7 body {
8 width: 400px;
10 div#float {
11 float: right;
12 width: 200px;
13 height: 200px;
14 background-color: lightgreen;
16 details {
17 float: right;
18 background-color: orange;
20 summary {
21 background-color: green;
22 /* Hide the triangle for comparing with div in reftest. */
23 list-style-type: none;
25 </style>
26 <body>
27 <!-- This tall float block is necessary to reproduce the incorrect height of the details. -->
28 <div id="float"></div>
29 <details>
30 <summary>Summary</summary>
31 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
32 tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
33 veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
34 commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
35 velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
36 cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
37 est laborum.
38 </details>
39 </body>
40 </html>