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:
parent
c380d24c54
commit
0b4631ed27
@ -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');
|
||||
}
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user