<!DOCTYPE html>
<script src="../include.js"></script>
<script>
    function setPropertyAndDumpValue(tagName, property, value) {
        const element = document.createElement(tagName);
        element[property] = value;
        println(`${tagName}.${property} after setting to ${value}: ${element[property]}`);
    }

    function testIntegerReflectedProperty(tagName, property) {
        setPropertyAndDumpValue(tagName, property, -1);
        setPropertyAndDumpValue(tagName, property, 20);
        setProperty