tor-browser

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

commit 351152d7b43f7a5f58d78eba2caba573904bbf32
parent 95b58ef53d85eaabf7e7bda80b6301f5d29689fe
Author: Oriol Brufau <obrufau@igalia.com>
Date:   Mon,  5 Jan 2026 10:33:08 +0000

Bug 2008332 [wpt PR 56956] - layout: Handle block-in-inline dependency on block constraints, a=testonly

Automatic update from web-platform-tests
layout: Handle block-in-inline dependency on block constraints

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

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

--

wpt-commits: ea6a2fb44da383b40cdf206885ee154d7d0d3bd5
wpt-pr: 56956

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

diff --git a/testing/web-platform/tests/css/css-flexbox/percentage-heights-021.html b/testing/web-platform/tests/css/css-flexbox/percentage-heights-021.html @@ -0,0 +1,20 @@ +<!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://drafts.csswg.org/css-flexbox-1/#algo-stretch"> +<link rel="help" href="https://github.com/servo/servo/issues/41623"> +<link rel="match" href="../reference/ref-filled-green-200px-square.html"> +<meta name="assert" content="When the 2nd flex item is stretched to fill the flex line, + it needs to be laid out again, and the percentage should now resolve against 200px."> + +<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> + +<div style="display: flex"> + <div style="height: 200px"></div> + <div style="background: red"> + <span> + <div style="width: 200px; height: 100%; background: green"></div> + </span> + </div> +</div>