blob: 201348559e5ff44e93d3b0560d788ad15ac1285c [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../../../resources/js-test-pre.js"></script>
<style id="style">
#dummy {
-internal-text-autosizing-status: auto;
}
</style>
</head>
<body>
<div id="target" style="-internal-text-autosizing-status: auto;">Hello</div>
<script>
const target = document.getElementById("target");
const style = document.getElementById("style");
shouldBeEqualToString("window.getComputedStyle(target).getPropertyValue('-internal-text-autosizing-status')", "");
shouldBe("target.style.internalTextAutosizingStatus", "undefined");
shouldBe("style.sheet.cssRules[0].style.internalTextAutosizingStatus", "undefined");
</script>
<script src="../../../../resources/js-test-post.js"></script>
</body>
</html>