-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Description
Due to the removal of margin standardisation in normalize 2.x h1 tags within nested elements will now have an incorrect margin since only the font-size is getting set.
For example, the following markup:
<section>
<aside>
<article>
<h1>heading</h1>
</article>
</aside>
</section>
Will be subject to the following selector in Chrome 24.0.1312.52
:-webkit-any(article,aside,nav,section) :-webkit-any(article,aside,nav,section) h1 {
font-size: 1.17em;
-webkit-margin-before: 1em;
-webkit-margin-after: 1em;
}
In version 1.0.2 The margin will be consistent at 0.67em due to the setting of an overall font-size and margin rule for each header tag.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels