[XForms] Support repeat appearance="compact". Bug 317518, r=me+smaug, patch by surkov@dc.baikal.ru

git-svn-id: svn://10.0.0.236/trunk@195558 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
allan%beaufour.dk 2006-04-27 10:07:39 +00:00
parent 2fa3f9b1d9
commit c1db03c1b4

View File

@ -574,7 +574,7 @@ html|*:root upload[mozType|type="http://www.w3.org/2001/XMLSchema#hexBinary"] {
-moz-binding: url('chrome://xforms/content/xforms-xhtml.xml#xformswidget-upload');
}
/* repeat */
/* repeat widgets */
html|*:root repeat {
-moz-binding: url('chrome://xforms/content/xforms-xhtml.xml#xformswidget-repeat');
}
@ -583,6 +583,18 @@ xul|*:root repeat {
-moz-binding: url('chrome://xforms/content/xforms-xul.xml#xformswidget-repeat');
}
/* repeat styles */
html|*:root repeat[appearance="compact"] .xf-repeat-item {
display: inline;
}
xul|*:root repeat[appearance="compact"] *|*[anonid="insertion"] {
-moz-box-orient: horizontal;
}
xul|*:root repeat .xf-repeat-item {
-moz-box-flex: 1;
}
/* default MIP styling */
*:disabled {
display: none;