tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 47740a76f29f2c2da6820885e0c2f64bbf67f4d8
parent 9fa9f08478d5ce7b651f7587961365e389d03fa8
Author: Oriol Brufau <obrufau@igalia.com>
Date:   Mon,  5 Jan 2026 10:39:59 +0000

Bug 2008424 [wpt PR 56971] - layout: Fix intrinsic size of block-in-inline not marked as depending on block constraints, a=testonly

Automatic update from web-platform-tests
layout: Fix intrinsic size of block-in-inline not marked as depending on block constraints

When a block-level that depends on block constraints is inside an inline
formatting context, then the intrinsic size of the entire IFC needs to
be marked as depending on block constraints too.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>

--

wpt-commits: b9947bc31e9eb85875ae3c81c5567300ee388fae
wpt-pr: 56971

Diffstat:
Atesting/web-platform/tests/css/css-flexbox/percentage-heights-023.html | 34++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+), 0 deletions(-)

diff --git a/testing/web-platform/tests/css/css-flexbox/percentage-heights-023.html b/testing/web-platform/tests/css/css-flexbox/percentage-heights-023.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Flexbox: percentage in block-level inside inline inside flex item</title> +<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com"> +<link rel="help" href="https://github.com/servo/servo/issues/41630"> +<link rel="match" href="../reference/ref-filled-green-200px-square.html"> +<meta name="assert" content="The <canvas> size is 200 x 200"> + +<style> +#flex-container { + display: flex; + flex-direction: column; +} +#flex-item { + width: max-content; + height: 200px; + background: red; +} +#target { + display: block; + height: 100%; + background: green; +} +</style> + +<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> + +<div id="flex-container"> + <div id="flex-item"> + <span id="inline"> + <canvas id="target" width="400" height="400"></canvas> + </span> + </div> +</div>