mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Make vertical marquees actually be 200px height by default. Bug 265631,
original patch by Martijn Wargers <m.wargers@hccnet.nl> with some changes by me, r=doron, sr=jst
This commit is contained in:
parent
27b107ff22
commit
8cf7d0e9af
@ -437,6 +437,16 @@ marquee {
|
||||
|
||||
marquee[direction="up"], marquee[direction="down"] {
|
||||
-moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-vertical');
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
/* Marquees with a height attr that actually specifies a height should have
|
||||
auto CSS height here. Note that this rule has the same specificity as the
|
||||
preceding one, so it has to come later in the sheet to work. */
|
||||
marquee[height*="1"], marquee[height*="2"], marquee[height*="3"],
|
||||
marquee[height*="4"], marquee[height*="5"], marquee[height*="6"],
|
||||
marquee[height*="7"], marquee[height*="8"], marquee[height*="9"] {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* PRINT ONLY rules follow */
|
||||
|
@ -437,6 +437,16 @@ marquee {
|
||||
|
||||
marquee[direction="up"], marquee[direction="down"] {
|
||||
-moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-vertical');
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
/* Marquees with a height attr that actually specifies a height should have
|
||||
auto CSS height here. Note that this rule has the same specificity as the
|
||||
preceding one, so it has to come later in the sheet to work. */
|
||||
marquee[height*="1"], marquee[height*="2"], marquee[height*="3"],
|
||||
marquee[height*="4"], marquee[height*="5"], marquee[height*="6"],
|
||||
marquee[height*="7"], marquee[height*="8"], marquee[height*="9"] {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* PRINT ONLY rules follow */
|
||||
|
Loading…
Reference in New Issue
Block a user