Skip to content

The headless browser for AI agents and web scraping

test: gate modern containing-block coordinates

SGavrl2f559aeccfa4
diff --git a/render-repros/checks.json b/render-repros/checks.json
index 30e8a2d2..797c1156 100644
--- a/render-repros/checks.json
+++ b/render-repros/checks.json
@@ -34,6 +34,16 @@
"modern-hydration-contracts": [
{"name": "modern hydration contracts", "color": "#16803c", "width": 360, "height": 90}
],
+ "modern-containing-block-triggers": [
+ {"name": "filter containing block", "color": "#087f5b", "x": 95, "y": 75, "width": 20, "height": 20},
+ {"name": "perspective containing block", "color": "#1971c2", "x": 215, "y": 75, "width": 20, "height": 20},
+ {"name": "contain layout containing block", "color": "#e8590c", "x": 335, "y": 75, "width": 20, "height": 20},
+ {"name": "container-type negative control", "color": "#7048e8", "x": 775, "y": 175, "width": 20, "height": 20},
+ {"name": "will-change containing block", "color": "#c2255c", "x": 575, "y": 75, "width": 20, "height": 20},
+ {"name": "content-visibility containing block", "color": "#2b8a3e", "x": 695, "y": 75, "width": 20, "height": 20},
+ {"name": "filter fixed containing block", "color": "#f08c00", "x": 25, "y": 25, "width": 10, "height": 10},
+ {"name": "contain fixed containing block", "color": "#1098ad", "x": 265, "y": 25, "width": 10, "height": 10}
+ ],
"modern-streams": [
{"name": "streamed hydration contracts", "color": "#186aa5", "width": 360, "height": 90}
],
diff --git a/render-repros/modern-containing-block-triggers.html b/render-repros/modern-containing-block-triggers.html
new file mode 100644
index 00000000..36538fe5
--- /dev/null
+++ b/render-repros/modern-containing-block-triggers.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html><html><head><title>modern containing block triggers</title><style>
+html,body{margin:0}
+.root{position:relative;width:800px;height:200px;padding:20px;box-sizing:border-box;background:#eee}
+.row{display:grid;grid-template-columns:100px 100px 100px 100px 100px 100px;column-gap:20px}
+.cb{width:100px;height:80px;background:#ccc}
+.filter{filter:blur(0)}
+.perspective{perspective:1000px}
+.contain{contain:layout}
+.container{container-type:inline-size}
+.will-change{will-change:transform}
+.visibility{content-visibility:auto}
+.badge{position:absolute;right:5px;bottom:5px;width:20px;height:20px}
+.filter .badge{background:#087f5b}
+.perspective .badge{background:#1971c2}
+.contain .badge{background:#e8590c}
+.container .badge{background:#7048e8}
+.will-change .badge{background:#c2255c}
+.visibility .badge{background:#2b8a3e}
+.fixed-filter{position:fixed;left:5px;top:5px;width:10px;height:10px;background:#f08c00}
+.fixed-contain{position:fixed;left:5px;top:5px;width:10px;height:10px;background:#1098ad}
+</style></head><body><div class="root"><div class="row">
+ <div id="filter-cb" class="cb filter"><span id="filter-badge" class="badge"></span><span id="filter-fixed" class="fixed-filter"></span></div>
+ <div id="perspective-cb" class="cb perspective"><span id="perspective-badge" class="badge"></span></div>
+ <div id="contain-cb" class="cb contain"><span id="contain-badge" class="badge"></span><span id="contain-fixed" class="fixed-contain"></span></div>
+ <div id="container-cb" class="cb container"><span id="container-badge" class="badge"></span></div>
+ <div id="will-change-cb" class="cb will-change"><span id="will-change-badge" class="badge"></span></div>
+ <div id="visibility-cb" class="cb visibility"><span id="visibility-badge" class="badge"></span></div>
+</div></div></body></html>