Make marquee use inline-block. b=163504 r=martijn sr=bzbarsky

git-svn-id: svn://10.0.0.236/trunk@219047 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%dbaron.org 2007-01-27 18:40:57 +00:00
parent c380d24c54
commit 0b4631ed27
2 changed files with 7 additions and 4 deletions

View File

@ -488,7 +488,8 @@ noembed, param {
/* emulation of non-standard HTML <marquee> tag */
marquee {
display: block;
display: inline-block;
vertical-align: text-bottom;
-moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-horizontal');
}

View File

@ -643,7 +643,7 @@
inheritstyle="false">
<content>
<html:div xbl:inherits="" style="overflow: -moz-scrollbars-none">
<html:div xbl:inherits="" style="overflow: hidden">
<html:div style="display: -moz-box; margin: 0 100%;">
<html:div class="innerDiv">
<children/>
@ -654,11 +654,13 @@
</binding>
<!-- use margin-right to force large intrinsic width -->
<binding id="marquee-vertical"
extends="chrome://xbl-marquee/content/xbl-marquee.xml#marquee">
extends="chrome://xbl-marquee/content/xbl-marquee.xml#marquee"
inheritstyle="false">
<content>
<html:div xbl:inherits="" style="overflow: -moz-scrollbars-none">
<html:div xbl:inherits="" style="overflow: hidden; width: 100%; margin-right: 100%">
<html:div class="innerDiv">
<children/>
</html:div>