layout/reftests/bugs/424236-9-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.

michael@0 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
michael@0 2 "http://www.w3.org/TR/html4/strict.dtd">
michael@0 3 <html lang="en-US">
michael@0 4 <head>
michael@0 5 <title>reftest, bug 424236</title>
michael@0 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
michael@0 7 <meta http-equiv="Content-Style-Type" content="text/css">
michael@0 8 <style type="text/css">
michael@0 9
michael@0 10 body { font-size: 16px; }
michael@0 11 * { -moz-outline-offset: -1px; outline-offset: -1px; }
michael@0 12 body > span { outline: 1px dotted black; }
michael@0 13 /* can't compare to border combined with negative margin because of
michael@0 14 margin collapsing */
michael@0 15 body > div { display: block; outline: 1px dotted black; width: 10em; }
michael@0 16 body > div + span + div { width: 5em; }
michael@0 17
michael@0 18 </style>
michael@0 19 </head>
michael@0 20 <body>
michael@0 21
michael@0 22 <span></span><div>text</div><span>Some words that must be wider than 10em</span><div>text</div>
michael@0 23
michael@0 24 </body>
michael@0 25 </html>

mercurial