Open Bug 1229401 Opened 9 years ago Updated 2 years ago

p and h1..h6 align should not "align descendants"

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

People

(Reporter: Ms2ger, Unassigned)

References

Details

(Keywords: dev-doc-needed, site-compat)

Attachments

(1 file, 1 obsolete file)

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.
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: