al {
            background-color: transparent;
        }
        input[type=range] {
            visibility: hidden;
            inline-size: 0;
            margin: 0;
        }
    </style>

    <p>Test passes if you see no red:</p>

    <div class="horizontal"><span style="display: inline-flex; background-color: red;"><input type="range"></span></div>
    <div style="writing-mode: vertical-lr;"><input type="range"></div>
    <div style="writing-mode: vertical-rl;"><input type="range"></div>
    <div styl