Skip to content

Truly independent web browser

466 B
Raw Blame
<!doctype html>
<script src="../include.js"></script>
<style>
    input {
        font-size: 20px;
    }
</style>
<input id="input" placeholder="placeholder" />
<script>
    test(() => {
        const container = internals.getShadowRoot(input).firstElementChild;
        const placeholder = container.children[1];

        input.setAttribute("placeholder", "updated");

        println(placeholder.computedStyleMap().get("min-height").toString());
    });
</script>