mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 369422 � marquee inside white-space:pre elements acts bad, r=dbaron, sr=roc
This commit is contained in:
parent
81e22a3593
commit
69c87b57a7
@ -41,8 +41,4 @@
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
} /* This hack is needed until bug 119078 gets fixed */
|
||||
|
||||
.innerDiv {
|
||||
white-space: normal !important;
|
||||
}
|
||||
}
|
||||
|
@ -44,7 +44,7 @@
|
||||
xmlns:xbl="http://www.mozilla.org/xbl">
|
||||
|
||||
|
||||
<binding id="marquee" inheritstyle="false">
|
||||
<binding id="marquee">
|
||||
|
||||
<resources>
|
||||
<stylesheet src="chrome://xbl-marquee/content/xbl-marquee.css"/>
|
||||
@ -642,14 +642,16 @@
|
||||
extends="chrome://xbl-marquee/content/xbl-marquee.xml#marquee"
|
||||
inheritstyle="false">
|
||||
|
||||
<!-- White-space isn't allowed because a marquee could be
|
||||
inside 'white-space: pre' -->
|
||||
<content>
|
||||
<html:div xbl:inherits="" style="overflow: hidden">
|
||||
<html:div style="display: -moz-box; margin: 0 100%;">
|
||||
<html:div class="innerDiv">
|
||||
<children/>
|
||||
</html:div>
|
||||
</html:div>
|
||||
</html:div>
|
||||
<html:div xbl:inherits="" style="overflow: hidden"
|
||||
><html:div style="display: -moz-box; margin: 0 100%;"
|
||||
><html:div class="innerDiv"
|
||||
><children
|
||||
/></html:div
|
||||
></html:div
|
||||
></html:div>
|
||||
</content>
|
||||
|
||||
</binding>
|
||||
@ -659,12 +661,14 @@
|
||||
extends="chrome://xbl-marquee/content/xbl-marquee.xml#marquee"
|
||||
inheritstyle="false">
|
||||
|
||||
<!-- White-space isn't allowed because a marquee could be
|
||||
inside 'white-space: pre' -->
|
||||
<content>
|
||||
<html:div xbl:inherits="" style="overflow: hidden; width: 100%; margin-right: 100%">
|
||||
<html:div class="innerDiv">
|
||||
<children/>
|
||||
</html:div>
|
||||
</html:div>
|
||||
<html:div xbl:inherits="" style="overflow: hidden; width: 100%; margin-right: 100%"
|
||||
><html:div class="innerDiv"
|
||||
><children
|
||||
/></html:div
|
||||
></html:div>
|
||||
</content>
|
||||
|
||||
</binding>
|
||||
|
Loading…
Reference in New Issue
Block a user