blob: bbc3e2f0c507c8e81441a615ac4b7d7210594e8e [file] [log] [blame]
<!DOCTYPE html>
<meta name="viewport" content="width=800">
body {
font-size: 16px;
margin: 0;
overflow: hidden;
width: 800px;
<script src="resources/autosizingTest.js"></script>
<div id="outer">
This test verifies that a text autosizing multiplier that is inherited from a
parent element's ComputedStyle is reflected in the computed font size, even if the
specified font size is different and the next text autosizing pass doesn't alter
the multiplier.
var outer = document.querySelector('#outer');
var inner = document.createElement('div');
inner.innerText = outer.innerText; = '12px';