Chapter 7. Display values supported for generated content

Table of Contents
1. display: inline
2. display: block
3. display: list-item
4. display: table
5. display: table-row-group
6. display: table-row
7. display: table-cell

This section contain the answer to the following question: given the display of normal content (example: display: block;),

are supported for :before and :after generated content?

[Note]About replaced content
  • Replaced content supports all types of content layouts.

  • Using generated content for an element having replaced content will give unspecified results.

Content such as content: icon(left) "middle" attr(foo) circle collapser(); which does not use an explicit layout is said using a list layout.

Generated content not described in this section should not be used in XXE.