<!-- webkit-test-runner [ internal:LayoutFormattingContextEnabled=true internal:LayoutFormattingContextIntegrationEnabled=false ] --> | |
<style> | |
canvas { | |
position: absolute; | |
height: 50%; | |
border: 1px solid green; | |
width: 300px; | |
} | |
</style> | |
<div><canvas></div> |