<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
#leftBar { | |
margin-right: 2500px; | |
} | |
#largeVideo { | |
width: 100%; | |
background-color: red; | |
} | |
</style> | |
<script src="../../resources/check-layout.js"></script> | |
</head> | |
<body> | |
<p> crbug.com/235189: If our container's width is zero, then so is ours: there should be no red.<p> | |
<div id="leftBar"> | |
<video id="largeVideo" data-expected-width=0></video> | |
</div> | |
<script> | |
checkLayout('#largeVideo'); | |
</script> | |
</body> | |
</html> | |