mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
bug 60365 - have caption inherit margin-left, margin-right, align=center from table. sr=attinasi, r=alexsavulov
This commit is contained in:
parent
e5f14b70c3
commit
11af6aef5c
@ -187,12 +187,20 @@ table[align="right"] {
|
||||
-moz-opacity: inherit;
|
||||
}
|
||||
|
||||
/* caption inherits from table not table-outer */
|
||||
caption {
|
||||
display: table-caption;
|
||||
text-align: center;
|
||||
margin-left: inherit;
|
||||
margin-right: inherit;
|
||||
-moz-box-sizing: border-box;
|
||||
}
|
||||
|
||||
table[align="center"] > caption {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
tr {
|
||||
display: table-row;
|
||||
vertical-align: inherit;
|
||||
|
@ -187,12 +187,20 @@ table[align="right"] {
|
||||
-moz-opacity: inherit;
|
||||
}
|
||||
|
||||
/* caption inherits from table not table-outer */
|
||||
caption {
|
||||
display: table-caption;
|
||||
text-align: center;
|
||||
margin-left: inherit;
|
||||
margin-right: inherit;
|
||||
-moz-box-sizing: border-box;
|
||||
}
|
||||
|
||||
table[align="center"] > caption {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
tr {
|
||||
display: table-row;
|
||||
vertical-align: inherit;
|
||||
|
Loading…
Reference in New Issue
Block a user