layout/reftests/bugs/419060-ref.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
     2 	"http://www.w3.org/TR/html4/strict.dtd">
     3 <html lang="en-US">
     4 <head>
     5 	<title>Absolute positioning margin:auto regression</title>
     6 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     7 	<meta http-equiv="Content-Style-Type" content="text/css">
     8 	<style type="text/css">
    10 	body > div {
    11 		position: relative;
    12 		border: medium solid;
    13 		width: 600px;
    14 		padding-bottom: 0.5em;
    15 	}
    17 	body > div > div {
    18 		background: blue;
    19 		width: 400px;
    20 		height: 1em;
    21 		margin-left: 100px;
    22 	}
    24 	</style>
    25 </head>
    26 <body>
    28 <div>
    29 This div should be centered within its container:
    30 <div></div>
    31 </div>
    33 </body>
    34 </html>

mercurial