mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
Tables with borders inside of tables without borders got red dotted borders instead of the specified style because of laxist css rule in EditorContent.css; b=96354, r=jag, sr=kin
This commit is contained in:
parent
69576cc308
commit
a94f735a16
@ -43,11 +43,20 @@ table {
|
||||
empty-cells: show;
|
||||
}
|
||||
|
||||
/* give a red dotted border to tables and cells with no border
|
||||
otherwise they are invisible
|
||||
*/
|
||||
table[empty-cells],
|
||||
table[border="0"],
|
||||
table[border="0"] td, table[border="0"] th,
|
||||
table[border="0"],
|
||||
/* next two selectors on line below for the case where tbody is omitted */
|
||||
table[border="0"] > tr > td, table[border="0"] > tr > th,
|
||||
table[border="0"] > thead > tr > td, table[border="0"] > tbody > tr > td, table[border="0"] > tfoot > tr > td,
|
||||
table[border="0"] > thead > tr > th, table[border="0"] > tbody > tr > th, table[border="0"] > tfoot > tr > th,
|
||||
table:not([border]),
|
||||
table:not([border]) td, table:not([border]) th
|
||||
/* next two selectors on line below for the case where tbody is omitted */
|
||||
table:not([border]) > tr > td, table:not([border]) > tr > th,
|
||||
table:not([border]) > thead > tr > td, table:not([border]) > tbody > tr > td, table:not([border]) > tfoot > tr > td,
|
||||
table:not([border]) > thead > tr > th, table:not([border]) > tbody > tr > th, table:not([border]) > tfoot > tr > th
|
||||
{
|
||||
border: 1px dotted red;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user