| Index: LayoutTests/fast/text-autosizing/inherited-multiplier.html
|
| diff --git a/LayoutTests/fast/text-autosizing/inherited-multiplier.html b/LayoutTests/fast/text-autosizing/inherited-multiplier.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..70ac61de4a9a7ceda0f58311e581a8281e3121e4
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/text-autosizing/inherited-multiplier.html
|
| @@ -0,0 +1,30 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<meta name="viewport" content="width=800">
|
| +<style>
|
| + body {
|
| + font-size: 16px;
|
| + margin: 0;
|
| + overflow: hidden;
|
| + width: 800px;
|
| + }
|
| +</style>
|
| +<script src="resources/autosizingTest.js"></script>
|
| +</head>
|
| +<body>
|
| +<div id="outer">
|
| + This test verifies that a text autosizing multiplier that is inherited from a
|
| + parent element's RenderStyle 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.
|
| +</div>
|
| +<script>
|
| + var outer = document.querySelector('#outer');
|
| + var inner = document.createElement('div');
|
| + inner.innerText = outer.innerText;
|
| + inner.style.fontSize = '12px';
|
| + outer.appendChild(inner);
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|