<!doctype html> | |
<script src="../../resources/check-layout.js"></script> | |
<style> | |
html,body {margin:0;} | |
</style> | |
<p> THe hr element uses border-box sizing so a 100% width does not create a horizontal scrollbar. </p> | |
<hr width="100%" size="2" data-expected-width="802"> | |
<script> | |
window.checkLayout('hr'); | |
</script> |