зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1414786: Do not match caption's labels with child combinators. r=dao
Nested captions are not used, nor nested labels inside captions. Another approach would be to just move all our captions that currently use <caption><label> to use <caption label="">, and get rid of the <xbl:children> element. Let me know if that's preferred, but seems not necessary to me. MozReview-Commit-ID: Gx7vB0tio5O --HG-- extra : rebase_source : 752765f30aa5b0b26e57d2144bcdca2cce5d09cb
This commit is contained in:
Родитель
de4f072c15
Коммит
e9deab270e
|
@ -8,7 +8,7 @@ label:not(.menu-text),
|
|||
textbox,
|
||||
description,
|
||||
.tab-text,
|
||||
caption > label {
|
||||
caption label {
|
||||
font-size: 1.11rem;
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ window * {
|
|||
font-size: 1.11rem;
|
||||
}
|
||||
|
||||
caption > label:not(.dialogTitle) {
|
||||
caption label:not(.dialogTitle) {
|
||||
font-size: 1.27rem;
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ label:not(.menu-text),
|
|||
textbox,
|
||||
description,
|
||||
.tab-text,
|
||||
caption > label {
|
||||
caption label {
|
||||
font-size: 1.36rem;
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ window * {
|
|||
font-size: 1.36rem;
|
||||
}
|
||||
|
||||
caption > label:not(.dialogTitle) {
|
||||
caption label:not(.dialogTitle) {
|
||||
font-size: 1.55rem;
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ label:not(.menu-text),
|
|||
textbox,
|
||||
description,
|
||||
.tab-text,
|
||||
caption > label {
|
||||
caption label {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ window * {
|
|||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
caption > label:not(.dialogTitle) {
|
||||
caption label:not(.dialogTitle) {
|
||||
font-size: 1.42rem;
|
||||
}
|
||||
|
||||
|
|
|
@ -77,14 +77,14 @@ xul|caption {
|
|||
}
|
||||
|
||||
html|h2,
|
||||
xul|caption > xul|checkbox,
|
||||
xul|caption > xul|label {
|
||||
xul|caption xul|checkbox,
|
||||
xul|caption xul|label {
|
||||
font-weight: 600;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
xul|caption > xul|checkbox,
|
||||
xul|caption > xul|label {
|
||||
xul|caption xul|checkbox,
|
||||
xul|caption xul|label {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче