Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html> |
michael@0 | 3 | <!-- |
michael@0 | 4 | https://bugzilla.mozilla.org/show_bug.cgi?id=379741 |
michael@0 | 5 | --> |
michael@0 | 6 | <head> |
michael@0 | 7 | <title>Test for Bug 379741</title> |
michael@0 | 8 | <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> |
michael@0 | 9 | <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> |
michael@0 | 10 | </head> |
michael@0 | 11 | <body> |
michael@0 | 12 | <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=379741">Mozilla Bug 379741</a> |
michael@0 | 13 | <div id="content" style="display: none"> |
michael@0 | 14 | <div id="noframe"></div> |
michael@0 | 15 | </div> |
michael@0 | 16 | <pre id="test"> |
michael@0 | 17 | <script class="testbody" type="text/javascript"> |
michael@0 | 18 | |
michael@0 | 19 | /** Test for Bug 379741 **/ |
michael@0 | 20 | |
michael@0 | 21 | var cs = getComputedStyle(document.getElementById("noframe"), ""); |
michael@0 | 22 | ok(cs.marginTop == "0" || cs.marginTop == "0px", |
michael@0 | 23 | "computed margin-top is not none"); |
michael@0 | 24 | ok(cs.marginRight == "0" || cs.marginRight == "0px", |
michael@0 | 25 | "computed margin-right is not none"); |
michael@0 | 26 | ok(cs.marginBottom == "0" || cs.marginBottom == "0px", |
michael@0 | 27 | "computed margin-bottom is not none"); |
michael@0 | 28 | ok(cs.marginLeft == "0" || cs.marginLeft == "0px", |
michael@0 | 29 | "computed margin-left is not none"); |
michael@0 | 30 | ok(cs.paddingTop == "0" || cs.paddingTop == "0px", |
michael@0 | 31 | "computed padding-top is not none"); |
michael@0 | 32 | ok(cs.paddingRight == "0" || cs.paddingRight == "0px", |
michael@0 | 33 | "computed padding-right is not none"); |
michael@0 | 34 | ok(cs.paddingBottom == "0" || cs.paddingBottom == "0px", |
michael@0 | 35 | "computed padding-bottom is not none"); |
michael@0 | 36 | ok(cs.paddingLeft == "0" || cs.paddingLeft == "0px", |
michael@0 | 37 | "computed padding-left is not none"); |
michael@0 | 38 | ok(cs.markerOffset == "auto", |
michael@0 | 39 | "computed marker-offset is not none"); |
michael@0 | 40 | |
michael@0 | 41 | </script> |
michael@0 | 42 | </pre> |
michael@0 | 43 | </body> |
michael@0 | 44 | </html> |
michael@0 | 45 |