Bug 369422 � marquee inside white-space:pre elements acts bad, r=dbaron, sr=roc

This commit is contained in:
martijn.martijn%gmail.com 2007-02-17 10:34:39 +00:00
parent 81e22a3593
commit 69c87b57a7
2 changed files with 17 additions and 17 deletions

View File

@ -41,8 +41,4 @@
margin: 0 !important;
padding: 0 !important;
} /* This hack is needed until bug 119078 gets fixed */
.innerDiv {
white-space: normal !important;
}
}

View File

@ -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>