Skip to content

Commit bdd14c3

Browse files
committed
Fix over-zealous img style rule
1 parent a9d6acd commit bdd14c3

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

css3-writing-modes/Overview.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
.figurepair { display: table; margin: 1em auto; }
1717
.figurepair .figure { display: table-cell; }
1818
h2, .example { clear: both; }
19-
img, object { max-width: 100%; display: block; margin: 1em auto; }
19+
.figure img,
20+
.figure object,
21+
dd object { max-width: 100%; display: block; margin: 1em auto; }
2022
</style>
2123
<link href="http://www.w3.org/StyleSheets/TR/W3C-WD.css" rel=stylesheet
2224
type="text/css">

css3-writing-modes/Overview.src.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
.figurepair { display: table; margin: 1em auto; }
1515
.figurepair .figure { display: table-cell; }
1616
h2, .example { clear: both; }
17-
img, object { max-width: 100%; display: block; margin: 1em auto; }
17+
.figure img,
18+
.figure object,
19+
dd object { max-width: 100%; display: block; margin: 1em auto; }
1820
</style>
1921
<link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-WD.css">
2022
</head>

0 commit comments

Comments
 (0)