What is the meaning of “common in viewport” in the CSS specification?

There are some chapters in the CSS specification that mention "common in the viewport"; for example: height calculation .

This section also applies to non-substituted block-level elements in a normal stream when "overflow" is not calculated in the "visible", but distributed in the viewing area.

What attribute can propagate? And is this against the rule that a child inherits an attribute from its parent?

+4
source share
1 answer

, overflow body html, html :

UA . HTML "HTML" "html" XHTML, HTML "BODY" "" XHTML , "" , "". "" "". , , "" "".

, , background:

, CSS (, HTML, body > ), .

3.11.1.

, . , . ( , .) , .. .

3.11.2. HTML <body>

, HTML html [HTML401] XHTML html [XHTML11]: "background-image " "none" "background- " ", HTML body XHTML body . body , , . HTML- canvas body, html.

(<body background="..." bgcolor="...">), , html body .

, , body html, , . , , 15 .

, . Inheritance "" ; (body to html html ).

+6

Source: https://habr.com/ru/post/1667934/


All Articles