Releases: web-platform-tests/wpt
merge_pr_49029
Fix nested traversals
Multiple crashes were occurring due to inconsistencies between option
traversals. OptionList was not considering nested s to be
associated with the select. However, HTMLOptionElement::InsertedInto and
HTMLOptionElement::OwnerSelectElement were considering nested s
to be associated with selects.
This patch makes the traversals consistent by disallowing nested
s from creating associations with elements. Fixed: 376786406 Change-Id: Ia6e4cc7d028033885b452efe03687638446350ab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5990895 Commit-Queue: Joey Arhar [email protected] Reviewed-by: David Baron [email protected] Cr-Commit-Position: refs/heads/main@{#1379764}merge_pr_49027
View transition layered capture: determine geometry based on box model
Instead of capturing the border offset, we capture the following
layout sizes to determine sizing, in addition to the border box:
-
padding box
-
content box
-
The box-sizing property
-
In layered capture mode, we use the content box size as the
reference box for positioning the snapshot, so that padding take
effect. -
The ::view-transition-image-pair pseudo-element now has
position:relative so that it gets affected by padding. It has the
content box size. -
The width/height of the group is determined by the box-sizing
property, and it receives the computed padding.
Bug: 375395117
Change-Id: I18fe5126fbfac58b0619043cc5521ea1f280e457
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5953705
Reviewed-by: Khushal Sagar [email protected]
Reviewed-by: Philip Rogers [email protected]
Reviewed-by: Arthur Sonzogni [email protected]
Commit-Queue: Noam Rosenthal [email protected]
Cr-Commit-Position: refs/heads/main@{#1379706}
merge_pr_49024
[@scope] Calculate full nesting context in ParseRuleForInsert
We ignored @scope entirely in ParseRuleForInsert, causing rules inserted
into @scope rules to parse incorrectly.
'CalculateNestingContext' is a separate function, because the same
functionality will be needed in other places (setSelectorText).
Fixed: 363019835
Change-Id: I49f2026fa8548ce4707f750f474b59350ab68fbe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5997373
Commit-Queue: Anders Hartvoll Ruud [email protected]
Reviewed-by: Steinar H Gunderson [email protected]
Cr-Commit-Position: refs/heads/main@{#1379655}
merge_pr_49023
[@container] Make style() queries for IACVT values false
Also fix crash for querying IACVT value for registered property.
Bug: 376834363
Change-Id: Ief7718b633690992b3720b0100743f0f84c0525b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5999463
Reviewed-by: Anders Hartvoll Ruud [email protected]
Commit-Queue: Rune Lillesveen [email protected]
Cr-Commit-Position: refs/heads/main@{#1379633}
merge_pr_49022
Always preserve collapsible spaces in text controls.
Differential Revision: https://phabricator.services.mozilla.com/D228129
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1905904
gecko-commit: 53711e5bca1a324c5ca26bddc9a0d58920259942
gecko-reviewers: masayuki
merge_pr_49021
[CredentialContainer] Test more scenarios around the abort reason's
merge_pr_49020
Add WebDX feature mapping for font-variant-position.
Change-Id: I3343f95c1b34e1f69817a4e788c9b2dfdd618c2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6000471
Reviewed-by: Shunya Shishido [email protected]
Reviewed-by: Rune Lillesveen [email protected]
Commit-Queue: Steinar H Gunderson [email protected]
Cr-Commit-Position: refs/heads/main@{#1379604}
merge_pr_49019
layout: Fix trailing collapsible space handling with
-
Trailing collapsible space should not be handled in ruby-base lines
because such lines are contained by another line.
This CL introducesLineBreaker:: disable_trailing_whitespace_collapsing_
. -
ComputeTrailingCollapsibleSpace() should iterate inside ruby columns
recursively. -
RemoveTrailingCollapsibleSpace() and TrailingCollapsibleSpaceWidth()
should compute ruby column widths correctly. -
ruby-intra-level-whitespace-001.html passed accidentally. It requires
and table-like pairing.
Bug: 376097115
Change-Id: I55e4559012ec08c9b423ad8a518890c02862d857
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5996911
Commit-Queue: Koji Ishii [email protected]
Auto-Submit: Kent Tamura [email protected]
Reviewed-by: Koji Ishii [email protected]
Cr-Commit-Position: refs/heads/main@{#1379515}
merge_pr_49018
[line-clamp] [text-box-trim] Trim the last line before clamp inside nested blocks
When text-box-trim: trim-end
is used together with line-clamp
, it
should trim the block-end leading of the last line before clamp, the
one with the ellipsis. This worked when that last line before clamp is
directly contained by the line-clamp container, but it doesn't when it
is inside a nested block element.
The reason for this is that, although for InlineNode
s,
ConstraintSpace::ShouldTextBoxTrimNodeEnd
is always set if the
parent BlockNode
is as well; for BlockNode
s, that flag is only set
for nodes that are the last in-flow child node of its parent.
This means that, for line-clamp, there is no flag to tell a child
BlockNode
that it is fine to trim if there's a clamp point inside
it, even if it wouldn't be fine to trim in its last formatted line.
This patch therefore adds a ShouldTextBoxTrimInsideWhenLineClamp
field to ConstraintSpace
to indicate this.
Bug: 40336192, 40254880
Change-Id: I1690ab296dd9686a09f4b9f06a7d86d8998d9446
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5987915
Commit-Queue: Andreu Botella [email protected]
Reviewed-by: Koji Ishii [email protected]
Cr-Commit-Position: refs/heads/main@{#1379720}
merge_pr_49017
[line-clamp] Fix DCHECK failure with hidden block-in-inlines
When painting a hidden-from-paint block-in-inline (which can happen if
the block-in-inline is after the clamp point in a line-clamp
container), there was a DCHECK failure since
BoxFragmentPainter::PaintBoxItem
was not expected to be called on
hidden for paint items. This is because, in all other cases, this call
is skipped if the item is hidden, but that was not the case for block
in inlines. This patch fixes this by adding a condition before the
call in
BoxFragmentPainter::PaintBoxDecorationBackgroundForBlockInInline
.
Bug: 40336192
Change-Id: I9a7a4acbb9e5e1cb42d27865665a5ce37d9bfa57
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5987970
Commit-Queue: Andreu Botella [email protected]
Reviewed-by: Koji Ishii [email protected]
Cr-Commit-Position: refs/heads/main@{#1379688}