mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
49 lines
1.4 KiB
XML
49 lines
1.4 KiB
XML
<?xml version="1.0"?>
|
|
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
|
<?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?>
|
|
<!--
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=371080
|
|
-->
|
|
<window title="Mozilla Bug 371080"
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
align="start">
|
|
<script type="application/javascript" src="/MochiKit/packed.js"></script>
|
|
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
|
|
<body xmlns="http://www.w3.org/1999/xhtml">
|
|
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=371080">Mozilla Bug 371080</a>
|
|
</body>
|
|
|
|
<!-- This Mac OS X native button should be 68 pixels wide from
|
|
the dark border line on the left to the dark border line on
|
|
the right. It should be 21 pixels tall from the dark border
|
|
line on the top to the dark border line on the bottom -->
|
|
<button class="bigbutton"
|
|
label="OK"
|
|
width="5"
|
|
id="button1"
|
|
height="5"/>
|
|
|
|
<script class="testbody" type="application/javascript">
|
|
<![CDATA[
|
|
|
|
/** Test for Bug 371080 **/
|
|
SimpleTest.waitForExplicitFinish();
|
|
|
|
function checkButtonDimensions() {
|
|
is($("button1").boxObject.width, 79, "mac button width");
|
|
is($("button1").boxObject.height, 22, "mac button height");
|
|
}
|
|
|
|
|
|
addLoadEvent(checkButtonDimensions);
|
|
|
|
addLoadEvent(SimpleTest.finish);
|
|
|
|
|
|
|
|
]]>
|
|
</script>
|
|
</window>
|