<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] -->
<style>
video {
    display: inline-block;
    width: 100px;
    height: 100px;
    background-color: green;
}
</style>
<video>
