Skip to content

Conversation

@Loirooriol
Copy link
Contributor

CSS Display defines "replaced element" in the same spec, so there is no need to link CSS2.

CSS Display defines "replaced element" in the same spec, so there is no need to link CSS2.
@SelenIT
Copy link
Collaborator

SelenIT commented Jun 1, 2017

By the way, shouldn't the definition of the "replaced element" in CSS be synchronized with the corresponding definition in HTML? For example, the MDN page, based on CSS definition, lists input and textarea as replaced elements, while the 'Rendering' section of the HTML spec explicitly lists them as non-replaced (and introduces the term 'widget' instead).

@tabatkins
Copy link
Member

@Loirooriol Ah, thanks, those links pre-date us adding the definition to this spec.

@SelenIT Yes, there's a category of "semi-replaced" that we've been edging around in CSSWG discussions for a little bit that we need to formalize at some point - their layout is described by CSS, but they have some intrinsic sizing qualities like a replaced element does. input and textarea both fall into this.

@tabatkins tabatkins merged commit d66d9d3 into w3c:master Jun 2, 2017
@Loirooriol Loirooriol deleted the patch-3 branch June 10, 2017 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants