зеркало из https://github.com/mozilla/gecko-dev.git
test for bug 494901
--HG-- extra : rebase_source : 42ade56cf5e0a803f3f952809049a3a934703d5a
This commit is contained in:
Родитель
0d60851492
Коммит
a96debc29c
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin/"?>
|
||||
<window title="textbox align=baseline reference"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml">
|
||||
<html:style type="text/css">
|
||||
#container {
|
||||
margin-top: 12px;
|
||||
padding-top: 8px;
|
||||
}
|
||||
label, textbox {
|
||||
-moz-appearance: none;
|
||||
background: inherit;
|
||||
border: none 0px;
|
||||
margin-top: 0px;
|
||||
padding-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
</html:style>
|
||||
|
||||
<hbox id="container" align="center">
|
||||
<label value="test"/>
|
||||
<textbox value="text"/>
|
||||
</hbox>
|
||||
</window>
|
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin/"?>
|
||||
<window title="textbox align=baseline test (bug 494901)"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml">
|
||||
<html:style type="text/css">
|
||||
hbox {
|
||||
margin-top: 0px;
|
||||
padding-top: 0px;
|
||||
}
|
||||
label, textbox {
|
||||
-moz-appearance: none;
|
||||
background: inherit;
|
||||
border: none 0px;
|
||||
}
|
||||
label {
|
||||
margin-top: 0px;
|
||||
padding-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
textbox {
|
||||
margin-top: 12px;
|
||||
padding-top: 8px;
|
||||
margin-bottom: 5px;
|
||||
padding-bottom: 9px;
|
||||
}
|
||||
</html:style>
|
||||
|
||||
<hbox align="baseline">
|
||||
<label value="test"/>
|
||||
<textbox value="text"/>
|
||||
</hbox>
|
||||
</window>
|
Загрузка…
Ссылка в новой задаче