The headless browser for AI agents and web scraping
test: gate form control document modes
SGavrl10509a222b8d
diff --git a/render-repros/checks.json b/render-repros/checks.jsonindex 2571eac4..6bbb9cb7 100644--- a/render-repros/checks.json+++ b/render-repros/checks.json@@ -63,6 +63,18 @@{"name": "custom property font shorthand sets em geometry", "color": "#1971c2", "x": 0, "y": 0, "width": 200, "height": 80},{"name": "later font shorthand replaces prior longhands", "color": "#e8590c", "x": 0, "y": 80, "width": 200, "height": 40}],+ "form-control-geometry": [+ {"name": "standards form contributes only native control height", "color": "#087f5b", "x": 0, "y": 21, "width": 100, "height": 20},+ {"name": "text input size attribute sets intrinsic inline width", "color": "#1971c2", "x": 503, "y": 0, "width": 20, "height": 21},+ {"name": "standards author dimensions use content box", "color": "#e8590c", "x": 808, "y": 0, "width": 20, "height": 30},+ {"name": "checkbox uses native intrinsic border box and margins", "color": "#7048e8", "x": 20, "y": 100, "width": 20, "height": 13},+ {"name": "range uses native intrinsic border box and margins", "color": "#c2255c", "x": 333, "y": 100, "width": 20, "height": 16},+ {"name": "hidden input consumes no flex geometry", "color": "#2b8a3e", "x": 500, "y": 100, "width": 20, "height": 20}+ ],+ "form-control-quirks": [+ {"name": "quirks form keeps legacy one-em bottom margin", "color": "#087f5b", "x": 0, "y": 37, "width": 100, "height": 20},+ {"name": "quirks author dimensions use border box", "color": "#e8590c", "x": 450, "y": 0, "width": 20, "height": 30}+ ],"forced-line-breaks": [{"name": "break-only inline context contributes one line", "color": "#087f5b", "x": 0, "y": 20, "width": 100, "height": 20},{"name": "trailing consecutive breaks preserve empty line", "color": "#1971c2", "x": 150, "y": 40, "width": 100, "height": 20},diff --git a/render-repros/form-control-geometry.html b/render-repros/form-control-geometry.htmlnew file mode 100644index 00000000..aa690e92--- /dev/null+++ b/render-repros/form-control-geometry.html@@ -0,0 +1,47 @@+<!doctype html>+<html>+<head>+ <meta charset="utf-8">+ <title>form control geometry</title>+ <style>+ html, body { margin: 0; }+ .form-case {+ position: absolute;+ left: 0;+ top: 0;+ width: 300px;+ }+ .row {+ position: absolute;+ display: flex;+ align-items: flex-start;+ }+ .text-row { left: 350px; top: 0; }+ .override-row { left: 700px; top: 0; }+ .checkbox-row { left: 0; top: 100px; }+ .range-row { left: 200px; top: 100px; }+ .hidden-row { left: 500px; top: 100px; }+ .marker { width: 20px; }+ .form-marker { width: 100px; height: 20px; background: #087f5b; }+ .text-marker { height: 21px; background: #1971c2; }+ .override-marker { height: 30px; background: #e8590c; }+ .checkbox-marker { height: 13px; background: #7048e8; }+ .range-marker { height: 16px; background: #c2255c; }+ .hidden-marker { height: 20px; background: #2b8a3e; }+ </style>+</head>+<body>+ <div class="form-case">+ <form><input size="17"></form>+ <div class="form-marker"></div>+ </div>+ <div class="row text-row"><input size="17"><div class="marker text-marker"></div></div>+ <div class="row override-row">+ <input size="40" style="width: 100px; height: 30px">+ <div class="marker override-marker"></div>+ </div>+ <div class="row checkbox-row"><input type="checkbox"><div class="marker checkbox-marker"></div></div>+ <div class="row range-row"><input type="range"><div class="marker range-marker"></div></div>+ <div class="row hidden-row"><input type="hidden"><div class="marker hidden-marker"></div></div>+</body>+</html>diff --git a/render-repros/form-control-quirks.html b/render-repros/form-control-quirks.htmlnew file mode 100644index 00000000..0700fcfe--- /dev/null+++ b/render-repros/form-control-quirks.html@@ -0,0 +1,27 @@+<html>+<head>+ <meta charset="utf-8">+ <title>quirks form control geometry</title>+ <style>+ html, body { margin: 0; }+ .form-case { width: 300px; }+ .form-marker { width: 100px; height: 20px; background: #087f5b; }+ .row {+ position: absolute;+ left: 350px;+ top: 0;+ display: flex;+ align-items: flex-start;+ }+ .row input { width: 100px; height: 30px; }+ .override-marker { width: 20px; height: 30px; background: #e8590c; }+ </style>+</head>+<body>+ <div class="form-case">+ <form><input size="17"></form>+ <div class="form-marker"></div>+ </div>+ <div class="row"><input size="40"><div class="override-marker"></div></div>+</body>+</html>