Open Bug 1229401 Opened 4 years ago Updated 2 months ago
p and h1
..h6 align should not "align descendants"
Per the second code block in <https://html.spec.whatwg.org/multipage/rendering.html#tables-2>.
So Gecko and IE11 both do align descendants, but Chrome 45 does not (but it does do text-align). I don't think that makes it obvious which way the spec should go.
Probably ok to switch the behavior here, though, given that it's possible (although unlikely) that some mobile-oriented content might depend on the other behavior.
This actually also applies to the p element.
Summary: h1..h6 align should not "align descendants" → p and h1..h6 align should not "align descendants"
... or not, because even though the spec doesn't say to align descendants for p, Chrome does so.
This bug was also presumably spun off of bug 196292 comment 27,which would have been nice to say when filing so that I wouldn't have to spend time searching for it.
Filed https://github.com/whatwg/html/issues/372 ; we shouldn't do anything here until that resolves.
See Also: → https://github.com/whatwg/html/issues/372
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.