Why does changing the positioning of a table-row element from 'static' to 'absolute' back to 'static' result in a permanent height change?
问题 A display: table-row div with height: 75px is nested inside a display: table div with height: 100px The height of the child is 100px initially with position: static By changing the positioning of the child element to absolute and then back to static , the height of the child permanently changes from 100px to 75px . It only occurs if the parent element is a table and the child is a table-row and apparently it's only in WebKit; firefox/IE change back to 100px height but Chrome/Safari don't.