blob: 17b25a9f03b883451a88999d7e4722e2d750d811 [file] [log] [blame]
<!DOCTYPE html><!-- webkit-test-runner [ contentMode=desktop ] -->
<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>