blob: 9ef08cc351765a77362dd01fa149545dec957d42 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
This test passes if it doesn't hit assert.
<input type="color" id=colorinput>
<script>
colorinput.offsetWidth;
</script>
<style>
#colorinput { width: 200px; }
</style>
<script>
if (window.internals)
internals.invalidateFontCache();
colorinput.offsetWidth;
</script>
</body>
</html>