mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 12:07:52 +00:00
b=25617, r=buster@netscape.com r=karnaze@netscape.com Removed rules that specify
margin-left for right floated table/image and margin-right for left floated table/image. This doesn't work when percentage based widths are involved
This commit is contained in:
parent
f5f5217038
commit
67f68abf0e
@ -151,12 +151,6 @@ table {
|
||||
margin-bottom: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
table[align=left] {
|
||||
margin-right: 4px;
|
||||
}
|
||||
table[align=right] {
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
/* must never set padding in td, th */
|
||||
td, th {
|
||||
@ -417,13 +411,6 @@ br {
|
||||
img {
|
||||
display: inline;
|
||||
}
|
||||
/* note: not exactly 4.x compatible; 4.x has 3px for *both* margins */
|
||||
img[align=left] {
|
||||
margin-right: 4px;
|
||||
}
|
||||
img[align=right] {
|
||||
margin-left: 4px;
|
||||
}
|
||||
:link img, :visited img, :out-of-date img,
|
||||
:link:active img, :visited:active img, :out-of-date:active img,
|
||||
img[usemap], object[usemap] {
|
||||
|
@ -151,12 +151,6 @@ table {
|
||||
margin-bottom: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
table[align=left] {
|
||||
margin-right: 4px;
|
||||
}
|
||||
table[align=right] {
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
/* must never set padding in td, th */
|
||||
td, th {
|
||||
@ -417,13 +411,6 @@ br {
|
||||
img {
|
||||
display: inline;
|
||||
}
|
||||
/* note: not exactly 4.x compatible; 4.x has 3px for *both* margins */
|
||||
img[align=left] {
|
||||
margin-right: 4px;
|
||||
}
|
||||
img[align=right] {
|
||||
margin-left: 4px;
|
||||
}
|
||||
:link img, :visited img, :out-of-date img,
|
||||
:link:active img, :visited:active img, :out-of-date:active img,
|
||||
img[usemap], object[usemap] {
|
||||
|
Loading…
x
Reference in New Issue
Block a user