better way to ignore iframe width

This commit is contained in:
Christopher Chedeau
2014-12-11 13:44:03 +00:00
parent fde2328ba6
commit 0f9b777623

View File

@@ -71,8 +71,10 @@ var layoutTestUtils = (function() {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
body {
width: 0; hack to ignore three hundred px width of the body {}
body > div {
align-self: flex-start;
} }
*/} + '').slice(15, -4); */} + '').slice(15, -4);
doc.head.appendChild(style); doc.head.appendChild(style);