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:
bzbarsky%mit.edu 2004-10-24 17:33:22 +00:00
Родитель 27b107ff22
Коммит 8cf7d0e9af
2 изменённых файлов: 20 добавлений и 0 удалений

Просмотреть файл

@ -437,6 +437,16 @@ marquee {
marquee[direction="up"], marquee[direction="down"] { marquee[direction="up"], marquee[direction="down"] {
-moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-vertical'); -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 */ /* PRINT ONLY rules follow */

Просмотреть файл

@ -437,6 +437,16 @@ marquee {
marquee[direction="up"], marquee[direction="down"] { marquee[direction="up"], marquee[direction="down"] {
-moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-vertical'); -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 */ /* PRINT ONLY rules follow */