| height: calc(100% - 20px); |
| width: calc(100% - 20px); |
| min-height: calc(100% - 20px); |
| min-width: calc(100% - 20px); |
| max-height: calc(100% - 20px); |
| max-width: calc(100% - 20px); |
| <!-- iframes should grow with their containers --> |
| <div><iframe class=normal src="broken.html"></iframe></div> |
| <div><iframe class=min src="broken.html"></iframe></div> |
| <div><iframe class=max src="broken.html"></iframe></div> |
| document.body.offsetHeight; |
| let containers = document.getElementsByTagName("div"); |
| for (let container of containers) |
| container.style.height = "100px"; |