<!DOCTYPE html>
<html>
<head>
<style>
body {
font: 20px Ahem;
}
p {
font: 16px Ariel;
}
</style>
<script src="../../../resources/check-layout.js"></script>
</head>
<body onload="checkLayout('.object')" style="width: 500px">
<p>crbug.com/2210 - Rendering of fallback content is very inconsistent among browsers. This captures Blink's current rendering of each test case.</p>
<object class="object" data-expected-width="300" data-expected-height="150"></object>
<object class="object" data-expected-width="300" data-expected-height="150"> </object>
<object class="object" data-expected-width="20" data-expected-height="20">X</object>
<object class="object" type="application/x-no-such-plugin" width="100" height="100" data-expected-width="100" data-expected-height="100"></object>
<object class="object" type="application/x-no-such-plugin" data-expected-width="300" data-expected-height="150"></object>
<object class="object" width="100" height="100" data-expected-width="100" data-expected-height="100"></object>
<br>
<object id="bi1" class="object" data-expected-width="0" data-expected-height="0"><div style="height:100px; width:100px; background-color:green;"></div></object>
<object id="bi2" class="object" width="100" height="100" data-expected-width="0" data-expected-height="0"><div style="height:100px; width:100px; background-color:green;"></div></object>
<applet class="object" type="application/x-no-such-plugin" width="100" height="100" data-expected-width="0" data-expected-height="0"></applet>
<applet class="object" width="100" height="100" data-expected-width="0" data-expected-height="0"></applet>
<applet class="object" data-expected-width="0" data-expected-height="0"></applet>
<script>
// TODO(crbug.com/716930): offsetWidth and offsetHeight differ when
// LayoutNGBlockInInline was enabled.
// https://docs.google.com/document/d/15kgdIHhb9EVNup6Ir5NWwJxpzY5GH0ED7Ld3iMW3HlA/edit?pli=1#bookmark=id.kssozto3r8eu
bi1.dataset.expectedWidth = 500;
bi1.dataset.expectedHeight = 100;
bi2.dataset.expectedWidth = 500;
bi2.dataset.expectedHeight = 100;
</script>
</body>
</html>