S
Shawn Modersohn
The CSS2 specification states that a replaced element is an element where
the UA knows only the intrinsic dimensions, such as an image tag.
Section 10.3 lists 8 situations where width is possibly affected by other
variables.
I am trying to gain an understanding of the first four in terms of replaced
vs non replaced and inline vs block.
I understand that an image tag is an example of a non-replaced element. I
would also gather that it is an inline non-replaced element because it
neither forms a new block of content and it is an element that the UA only
knows the intrinsic dimensions.
An inline replaced element might be a strong tag.
A block level non-replaced element would be a div as an example.
But I can't think of where I would see a block level non-replaced element,
at least not an element that is inherently block level. What would be an
example of an element that forms a new block of content and that the UA
knows only the intrinsic dimensions?
Do I understand these contexts correctly?
Thanks.
the UA knows only the intrinsic dimensions, such as an image tag.
Section 10.3 lists 8 situations where width is possibly affected by other
variables.
I am trying to gain an understanding of the first four in terms of replaced
vs non replaced and inline vs block.
I understand that an image tag is an example of a non-replaced element. I
would also gather that it is an inline non-replaced element because it
neither forms a new block of content and it is an element that the UA only
knows the intrinsic dimensions.
An inline replaced element might be a strong tag.
A block level non-replaced element would be a div as an example.
But I can't think of where I would see a block level non-replaced element,
at least not an element that is inherently block level. What would be an
example of an element that forms a new block of content and that the UA
knows only the intrinsic dimensions?
Do I understand these contexts correctly?
Thanks.