зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
27b107ff22
Коммит
8cf7d0e9af
|
@ -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 */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче