Commit Graph
597 Commits
Author SHA1 Message Date
Ian Kilpatrick efac7d89bb Bug 1911491 [wpt PR 47446] - [layout] Fix null-dref crash with removed layout object., a=testonly
Automatic update from web-platform-tests
[layout] Fix null-dref crash with removed layout object.

As above - we were trying to access a layout object which was
cleared from the fragment.

Fixed: 40286186
Change-Id: Ibae87e40759f1e9ebe39062c4ba6d8752b9a8125
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5760561
Reviewed-by: David Grogan <[email protected]>
Commit-Queue: Ian Kilpatrick <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1337108}

--

wpt-commits: a7eb020c78e4ef449ee89e67fe7096af84e86409
wpt-pr: 47446
2024-08-06 13:20:30 +00:00
Di Zhang 37b7491a02 Bug 1911392 [wpt PR 47436] - Remove NonStandardAppearanceValuesHighUsage, shipped in 124, a=testonly
Automatic update from web-platform-tests
Remove NonStandardAppearanceValuesHighUsage, shipped in 124

The deprecation was completed and fully disabled for M124 users [1].
This CL removes all of the code supporting the deprecated high usage
appearance values.

Note that part of blink code still uses the ControlPart values to
render some widgets (e.g. inner-spin-button).
This patch is only to remove the support for these as CSS values.

We also replaced the Virtual test suite
"deprecated-css-appearance-values-enabled" by "slider-vertical-enabled",
where only feature NonStandardAppearanceValueSliderVertical is enabled.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/5341111

Change-Id: I277302655e7b72ce9b5b7eb644d57046fd44b7f5
Bug: 40610694
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5757984
Commit-Queue: Di Zhang <[email protected]>
Reviewed-by: Mason Freed <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1336897}

--

wpt-commits: 1eaddc37a55977200ae3f983eafc1cfcb121235e
wpt-pr: 47436
2024-08-06 13:20:25 +00:00
Mason Freed 33fd4793f7 Bug 1910400 [wpt PR 47330] - Rename position-try-options to position-try-fallbacks, a=testonly
Automatic update from web-platform-tests
Rename position-try-options to position-try-fallbacks

This has 3 LGTMs to ship:
https://groups.google.com/a/chromium.org/g/blink-dev/c/kJwhHYXupWk/m/qYfaEe98CAAJ

Note that this CL also adds a virtual test suite that re-enables
the `position-try-options` property. I wanted to include that in
the same CL, because I plan to try to merge this CL back to M128,
and I'd like the test coverage to follow.

Fixed: 349600667
Change-Id: Ibd6415c1da80a1e1ca34874fece9fcf360d40668
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5739360
Reviewed-by: Mike Taylor <[email protected]>
Commit-Queue: Mike Taylor <[email protected]>
Auto-Submit: Mason Freed <[email protected]>
Reviewed-by: Rune Lillesveen <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1334247}

--

wpt-commits: 3bf9755fce4f412f145bb2d7f9c0579fc4f7cc92
wpt-pr: 47330
2024-07-31 00:59:57 +00:00
Gregory Pappas da04458f61 Bug 1898833 - Support oncontentvisibilityautostatechange event handler r=emilio,smaug
Spec PR: https://github.com/whatwg/html/pull/10364

Differential Revision: https://phabricator.services.mozilla.com/D217187
2024-07-21 00:23:40 +00:00
Norisz Fay 0973d6e31a Backed out changeset 5d51dcf32767 (bug 1898833) for causing wpt failures on trusted-types-event-handlers.html CLOSED TREE 2024-07-21 03:02:14 +03:00
Gregory Pappas e5dfa71577 Bug 1898833 - Support oncontentvisibilityautostatechange event handler r=emilio,smaug
Spec PR: https://github.com/whatwg/html/pull/10364

Differential Revision: https://phabricator.services.mozilla.com/D217187
2024-07-20 18:48:58 +00:00
Norisz Fay 1cf233fb29 Backed out changeset e2635b8bf747 (bug 1898833) for causing mochitest failures on test_interfaces_secureContext.html CLOSED TREE 2024-07-20 21:07:17 +03:00
Gregory Pappas 02bcf355d7 Bug 1898833 - Support oncontentvisibilityautostatechange event handler r=emilio,smaug
Spec PR: https://github.com/whatwg/html/pull/10364

Differential Revision: https://phabricator.services.mozilla.com/D217187
2024-07-20 16:55:45 +00:00
Chris Harrelson de961b5193 Bug 1908269 [wpt PR 47170] - Integrate content-visibility with anchor positioning, a=testonly
Automatic update from web-platform-tests
Integrate content-visibility with anchor positioning

The solution is described in this document:
https://docs.google.com/document/d/1xYfuf2qp1rHRP22zBKvSl4MIPx8fTnefmgYlSOhkArs/edit?tab=t.0

Spec edit: https://github.com/w3c/csswg-drafts/pull/10583

Bug: 333443429

Change-Id: I04ec19ec091da7c1ef0889b60f601b190874236f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5671067
Reviewed-by: Vladimir Levin <[email protected]>
Commit-Queue: Chris Harrelson <[email protected]>
Reviewed-by: Ian Kilpatrick <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1329246}

--

wpt-commits: 689374032a3e9d122bcbabda79a782f794554441
wpt-pr: 47170
2024-07-19 10:29:27 +00:00
Jonathan Kew f18797f6fa Bug 1894546 - Treat content-visibility:auto as visible when document is being used as an image. r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D216320
2024-07-12 09:54:02 +00:00
Jonathan Kew cfb5c2420d Bug 1907081 - In print/preview context, always treat content-visibility:auto as visible. r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D216254
2024-07-12 09:54:01 +00:00
Florian Rivoal 278a0155a1 Bug 1905279 [wpt PR 46928] - Move tests to match the spec's move, a=testonly
Automatic update from web-platform-tests
Move tests to match the spec's move

See https://github.com/w3c/csswg-drafts/pull/10447

--

wpt-commits: c6273f7c688e8e62356f2a0a6e388108d58042ef
wpt-pr: 46928
2024-07-09 08:28:34 +00:00
Rune Lillesveen ef01912ef5 Bug 1903785 [wpt PR 46843] - [@container] Clear skipped style recalc for all descendants, a=testonly
Automatic update from web-platform-tests
[@container] Clear skipped style recalc for all descendants

The existing code assumed we would always resume style recalc from the
skipped container's layout, but that is not always the case.

Take the following scenario which could happen with nested containers:

1. Style recalc is not skipped for an outer container because it is not
   marked for layout.
2. Style recalc is skipped for an inner container because it is marked
   for layout.
3. Layout changes the width of the outer container because the outer
   container is auto-sized, and changes size because an ancestor box
   changes its size.
4. The @container evaluation changes for the outer container, which
   means we enter UpdateStyleAndLayoutTreeForContainer() for the outer
   container.
5. We reach recalc for the inner container, whose subtree was skipped
   for style recalc, but we did not clear the skipping or retrieve the
   stored style recalc change.

In this CL we always check, clear, and return the StyleRecalcChange if
style recalc was skipped.

Bug: 346264227
Change-Id: I3dc997850068a6751333ed588adf2f1f0e87518f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5630638
Reviewed-by: Anders Hartvoll Ruud <[email protected]>
Commit-Queue: Rune Lillesveen <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1317345}

--

wpt-commits: 1ec7cf9a1bf651899999bab7f99e09d48416d708
wpt-pr: 46843
2024-06-24 07:56:53 +00:00
Rune Lillesveen 634ffaefa4 Bug 1902616 [wpt PR 46747] - [@container] Container lookup in flat tree, a=testonly
Automatic update from web-platform-tests
[@container] Container lookup in flat tree

The spec changed from looking up shadow-including ancestors to flat tree
ancestors for finding the container being queried by a container query.

Bug: 340876720
Change-Id: Id069f09c311fd49256c73bcf6d4b9b420ebe6c7c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5625932
Commit-Queue: Rune Lillesveen <[email protected]>
Reviewed-by: Anders Hartvoll Ruud <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1315123}

--

wpt-commits: 5f7fee3064a32d5d175545fc8f4019a39ea12194
wpt-pr: 46747
2024-06-18 12:21:46 +00:00
Rune Lillesveen 20a0601f80 Bug 1901696 [wpt PR 46687] - [@container] Add tests for tree scoped container names, a=testonly
Automatic update from web-platform-tests
[@container] Add tests for tree scoped container names

Bug: 340876720
Change-Id: I843e17d27dce541c759ca1b8bc8e63e0253221d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5614870
Reviewed-by: Anders Hartvoll Ruud <[email protected]>
Commit-Queue: Rune Lillesveen <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1313296}

--

wpt-commits: 7a64eacf3d279146bddbcd694c99502fe1de36af
wpt-pr: 46687
2024-06-14 07:17:11 +00:00
Steinar H. Gunderson 97ab31598c Bug 1900595 [wpt PR 46615] - Fix !important parsing on contain-type., a=testonly
Automatic update from web-platform-tests
Fix !important parsing on contain-type.

Fixed: 343249146
Change-Id: I4e2aad294e609ffd91c25be2e0084843e9671f60
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5596350
Commit-Queue: Steinar H Gunderson <[email protected]>
Commit-Queue: Anders Hartvoll Ruud <[email protected]>
Auto-Submit: Steinar H Gunderson <[email protected]>
Reviewed-by: Anders Hartvoll Ruud <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1309867}

--

wpt-commits: f5127b51e9dc0446d03f4700110eeaed9fa36ca3
wpt-pr: 46615
2024-06-07 07:38:58 +00:00
Emilio Cobos Álvarez a554ccbe72 Bug 1790886 - Fix container query WPT tests to reflect recent WG resolution. r=jwatt
As per CSSWG resolution in:

  https://github.com/w3c/csswg-drafts/issues/5984#issuecomment-2112977366

Differential Revision: https://phabricator.services.mozilla.com/D212412
2024-06-03 15:40:22 +00:00
Vladimir Levin 95476a209f Bug 1899554 [wpt PR 46534] - CV: Update the ContentVisibilityAutoStateChange test, a=testonly
Automatic update from web-platform-tests
CV: Update the ContentVisibilityAutoStateChange test

This patch updates the test based on feedback in
https://chromium-review.googlesource.com/c/chromium/src/+/5570779

[email protected]

Change-Id: I7267b223ef0716355bd53b80692996284ae5f255
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5572428
Commit-Queue: Vladimir Levin <[email protected]>
Reviewed-by: Oriol Brufau <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1307449}

--

wpt-commits: 90476ebd2881e529d96937ae9ed546bc18289dd3
wpt-pr: 46534
2024-06-03 07:40:28 +00:00
Vladimir Levin 552a99cea6 Bug 1898809 [wpt PR 46479] - CV: Add content attribute handling + test, a=testonly
Automatic update from web-platform-tests
CV: Add content attribute handling + test

This patch adds a content attribute parsing and a wpt test for
contentvisibilityautostatechange event

[email protected]

Change-Id: Iae610a794477d3ca0b346b752b489cd101399fcc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5570779
Commit-Queue: Vladimir Levin <[email protected]>
Reviewed-by: Khushal Sagar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1305905}

--

wpt-commits: a92b1b3b74a1cb9fb9842d96af6c5d0a12711588
wpt-pr: 46479
2024-06-03 07:39:49 +00:00
Philip Jägenstedt cf6b6e5844 Bug 1896620 [wpt PR 46249] - Update scroll to text fragment test mapping, a=testonly
Automatic update from web-platform-tests
Update scroll to text fragment test mapping (#46249)

The feature was renamed in web-features:
https://github.com/web-platform-dx/web-features/pull/1007

Additionally include some tests of the interaction with other features.
This results in some tests being tagged with multiple features, which
could potentially be used to filter out tests depending on the
implementation status of the different features.
--

wpt-commits: dab963f555e6136cf4a51e4f162937996f3ce732
wpt-pr: 46249
2024-05-23 10:00:00 +00:00
Ian Kilpatrick 863f5780e6 Bug 1893769 [wpt PR 45936] - [layout] Fix synthesis of inline baselines., a=testonly
Automatic update from web-platform-tests
[layout] Fix synthesis of inline baselines.

Previously for <button>, <input type=button> (and friends), and
<input type=range> we'd explicitly produce a baseline at appropriate
"end" edge.

This wasn't strictly correct instead we should be synthesizing them
within LogicalBoxFragment::BaselineMetrics.

There are three different ways to synthesize these baseline, off the
margin-box (the default), content-box (buttons), and border-box (range
and checkbox/radio with effective appearance).

Instead of checking all these conditions, this patch introduces an
additional field to the computed style to tell BaselineMetrics which
edge the synthesize off.

This patch changes two WPT tests which I believe were incorrect, see:
https://github.com/web-platform-tests/wpt/issues/45889

The TL;DR is that:
<button></button> <button style="contain:layout"></button>

Currently have different baselines when they shouldn't.

The image rebaselines are ensuring that we synthesize the baseline
for range controls consistently. Previously we'd synthesize them off
the border-box if they were in the same writing-mode, and off the
margin-box if in a different writing-mode.

Bug: 40937312
Change-Id: I28eedfbce58ead9d5e3119ae3b164c559fb9267c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5479489
Reviewed-by: Morten Stenshorne <[email protected]>
Commit-Queue: Ian Kilpatrick <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1293898}

--

wpt-commits: b312464e2203190809de7c34055a51b7643ba6c2
wpt-pr: 45936
2024-05-02 07:27:27 +00:00
Philip Rogers ec32092b1b Bug 1892841 [wpt PR 45835] - Always initialize PaintInfo::descendant_painting_blocked_, a=testonly
Automatic update from web-platform-tests
Always initialize PaintInfo::descendant_painting_blocked_

`PaintInfo::descendant_painting_blocked_` is a cache of
`LayoutObject::ChildPaintBlockedByDisplayLock()`, but wasn't being
initialized in `BoxFragmentPainter::PaintTextClipMask`, which led to
painting locked content. This patch prevents this class of bugs by
forcing `descendant_painting_blocked_` to be initialized in the ctor.

Bug: 333952115
Change-Id: Ibea822ba510e1c854d63c5f6dd2b025535498abc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5472456
Reviewed-by: Vladimir Levin <[email protected]>
Commit-Queue: Philip Rogers <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1291343}

--

wpt-commits: ec57fe8800ad35b9648561988ebeb049f5bb58df
wpt-pr: 45835
2024-04-29 07:27:34 +00:00
Rune Lillesveen 1cb959d696 Bug 1892345 [wpt PR 45791] - Support computing light-dark() for registered color syntax, a=testonly
Automatic update from web-platform-tests
Support computing light-dark() for registered color syntax

ComputeRegisteredPropertyValue() did not handle light/dark pairs.

Added some more complex computed style tests for registered color
syntax. color-mix() is not supported either. To be fixed in a separate
CL.

Bug: 335383222
Change-Id: Ic7c4dddeb141b71e16aa86fee4df8ef3c5b5bd48
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5463142
Commit-Queue: Rune Lillesveen <[email protected]>
Reviewed-by: Anders Hartvoll Ruud <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1289903}

--

wpt-commits: b7ecf93438c84775b6e7bfc4a53a7481fecabf6e
wpt-pr: 45791
2024-04-25 13:28:30 +00:00
Roman Komarov 09dc701362 Bug 1891940 [wpt PR 45759] - Tests for an explicit initial and “space” style queries, a=testonly
Automatic update from web-platform-tests
Tests for an explicit `initial` and “space” style queries (#45759)

--

wpt-commits: 13789bb2123e5a84de327f8dd736629ae8243ecd
wpt-pr: 45759
2024-04-23 09:47:52 +00:00
Stephen Chenney a31b14d4ad Bug 1891544 [wpt PR 45716] - Paint selection with other highlight parts, a=testonly
Automatic update from web-platform-tests
Paint selection with other highlight parts

When using the highlight overlay painting path, selection was
being painted as a separate step after the other highlight parts.
This resulted in double painting of non-selected text after a
recent CL, and also prevents selection from inheriting non-specified
colors from layers below.

This CL moves selection painting into the same loop as other highlight
parts, removing the double painting and making it possible, in the
next CL, to fix the color inheritance problem.

As a necessary substep:
* Add a LineRelativeRect::Unite method
* Add methods to adjust a line relative rect to match ink overflow
* Add unit testing for LineRelativeRect
* Add a cc file for LineRelativeRect.

And remove some of the fuzzy matching from a previous CL.

Bug: 40264572
Change-Id: Ic9a578895f363c85b0c2d2bb4e67dcb5b4159f5f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5447735
Reviewed-by: Fredrik Söderquist <[email protected]>
Commit-Queue: Stephen Chenney <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1288710}

--

wpt-commits: 22fe04d3f6f32ae698aa74ae35fb2db189d10cb4
wpt-pr: 45716
2024-04-23 09:47:09 +00:00
Stephen Chenney aa2286f706 Bug 1890145 [wpt PR 45596] - Fix rendering of font ligatures with highlights, a=testonly
Automatic update from web-platform-tests
Fix rendering of font ligatures with highlights

Highlights for a range that falls within a font ligature should
behave as selection behaves, and split the ligature. To achieve
this, apply the selection painting approach to highlight text.
Use clipping to the highlight rect and paint text that
expands to include all the ligature characters before and after
the range.

To then render the originating text correctly outside the
highlighted range, we must also move the originating text painting
into the same loop as the highlight parts.

All this is in preparation for moving selection into the same
loop.

Bug: 40264572
Change-Id: I70e2c333cdb76f1a73612f186254b668324048e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5430353
Auto-Submit: Stephen Chenney <[email protected]>
Reviewed-by: Fredrik Söderquist <[email protected]>
Commit-Queue: Stephen Chenney <[email protected]>
Commit-Queue: Fredrik Söderquist <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1285776}

--

wpt-commits: 1d522695b62ff465480400962a1dbc1ab923b41c
wpt-pr: 45596
2024-04-19 07:34:09 +00:00
Daniil Sakhapov 0d1b342c9b Bug 1886251 [wpt PR 45199] - Fix style containment scope removal, a=testonly
Automatic update from web-platform-tests
Fix style containment scope removal

When removal is coming from Node::WillBeRemoved, we don't need to
reattach anything, just clear the scope and remove it from scopes,
unlike reattaching as in case of style update.

Fixed: 329231572
Change-Id: I70fb8d9b876ee04bac52f022430ca8aa65316239
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5380324
Reviewed-by: Rune Lillesveen <[email protected]>
Commit-Queue: Daniil Sakhapov <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1275594}

--

wpt-commits: fa118071ec249c4f2a034b9977bddba983aeb4ad
wpt-pr: 45199
2024-03-22 17:34:27 +00:00
Emilio Cobos Álvarez b7b135bb6f Bug 1837118 - Fix the expectation of contain-style-counters-002.html to match CSSWG resolution. r=twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D204806
2024-03-15 18:59:51 +00:00
Gastón Rodríguez 08d29725fa Bug 1884862 [wpt PR 45045] - Fuzz Fluent failing wpt tests., a=testonly
Automatic update from web-platform-tests
Fuzz Fluent failing wpt tests.

This CL adds a temporary fuzz acceptance to some wpt web tests. The
fuzziness is added to make web tests with fluent scrollbars pass when
there are differences between the baseline and the ref html that cause
some scrollbars to be composited and others to not be, which causes a
1 shade of gray difference between some anti-alias pixels in the
scrollbar's thumb.

These tests are failing in wpt.fyi for Edge, since Edge has Fluent
scrollbars enabled by default.

This issue will be fixed by
https://issues.chromium.org/issues/40778657 , and when that work is
finished I will revert this CL.

Bug: 326116366, 329199184
Change-Id: Ib8e26c1bdcdfa3f78d7eab198dd62b290d79304d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5362506
Reviewed-by: Olga Gerchikov <[email protected]>
Commit-Queue: Gaston Rodriguez <[email protected]>
Reviewed-by: Yaroslav Shalivskyy <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1271612}

--

wpt-commits: 7557e87f6686cb37c27cb789d49d91c7630bdad5
wpt-pr: 45045
2024-03-15 12:24:28 +00:00
Antti Koivisto 0cb4b0c2f1 Bug 1881771 [wpt PR 44746] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=269971, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=269971 (#44746)

--

wpt-commits: 48a1f0d5caf85a3e66cdc2fca4ae8a7ccaa4d387
wpt-pr: 44746
2024-03-01 20:09:53 +00:00
Frédéric Wang ed1fc9b82d Bug 1880928 - Add tests for content-visibility update with contain-intrinsic-size. r=cathiechen
Differential Revision: https://phabricator.services.mozilla.com/D202403
2024-02-29 08:50:55 +00:00
Mason Freed fd7fefaef9 Bug 1878426 [wpt PR 44387] - Remove declarative shadow DOM polyfill, a=testonly
Automatic update from web-platform-tests
Remove declarative shadow DOM polyfill

Declarative shadow DOM is standard [1] and implemented in all
modern browsers. This removes a polyfill that isn't needed in WPT
any longer.

[1] https://html.spec.whatwg.org/multipage/scripting.html#attr-template-shadowrootmode

Bug: N/A
Change-Id: Ie9bfdf24f75901cf9a476844a76065e5a18a6815
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263643
Auto-Submit: Mason Freed <[email protected]>
Reviewed-by: Joey Arhar <[email protected]>
Commit-Queue: Mason Freed <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1257013}

--

wpt-commits: 5eb84ee7e7fd03bbe975fb7b655d75310e8dd71b
wpt-pr: 44387
2024-02-13 08:17:35 +00:00
Antti Koivisto 5de271648e Bug 1878625 [wpt PR 44395] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=268683, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=268683 (#44395)

--

wpt-commits: 85f9a174f63d2ff81f7b4f6070a8a2f491e218db
wpt-pr: 44395
2024-02-09 08:26:14 +00:00
Antti Koivisto 6100841d44 Bug 1878328 [wpt PR 44383] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=267046, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=267046 (#44383)

--

wpt-commits: fc41ddc2a239adc2e24cb372a6a6bfcab1b441d7
wpt-pr: 44383
2024-02-09 08:25:56 +00:00
Emilio Cobos Álvarez 0b6d473ed5 Bug 1878188 - Avoid re-registering container query frames unnecessarily. r=fredw
This is kind of a wallpaper, but I think it's sound, read below.

The reason this is asserting is that MathML in particular has some odd
frame re-parenting going on (see
nsCSSFrameConstructor::FlushAccumulatedBlock).

That means that our assert in DepthOrderedFrameList is not really
holding depending on when you add or remove the frame from the list.

However this is not a problem in practice, at least for container
queries, because anonymous frames that can wrap mathML cannot be
containers themselves.

I need to figure out what to do with that assert, but given it's useful
for the other users of DepthOrderedFrameList, I think we should take
this for now.

Differential Revision: https://phabricator.services.mozilla.com/D200634
2024-02-05 16:19:03 +00:00
Cathie Chen 356c246299 Bug 1806930 - Intermittent /css/css-contain/content-visibility/content-visibility-auto-state-changed-first-observation.html, r=fredw
Differential Revision: https://phabricator.services.mozilla.com/D198602
2024-01-30 15:54:32 +00:00
Rob Buis a33356fca0 Bug 1876250 [wpt PR 44159] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=264989, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=264989 (#44159)

--

wpt-commits: bf90276ae72b128a0dd47c45ef4db3f75db46d88
wpt-pr: 44159
2024-01-26 04:26:20 +00:00
Vladimir Levin 429003d26e Bug 1875388 [wpt PR 44084] - DL: Update display lock condition to use EDisplay::kRubyText., a=testonly
Automatic update from web-platform-tests
DL: Update display lock condition to use EDisplay::kRubyText.

This patch updates the condition for when to ignore a display lock
to use a ruby-text display mode, which is consistent with the ruby
check in IsStackingContext.

Fixed: 1515531
Change-Id: Ide6b1a3e76bf414e6dcbd1833c96735051cb2902
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5213689
Reviewed-by: Xianzhu Wang <[email protected]>
Commit-Queue: Vladimir Levin <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1249506}

--

wpt-commits: 3c85ffc526170187bb331c1716dd7fdaf11f11b5
wpt-pr: 44084
2024-01-22 09:08:49 +00:00
Frédéric Wang 07c26d02b6 Bug 1874826 - Add more tests for paint/layout containment change and floats. r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D198962
2024-01-18 17:13:35 +00:00
Rune Lillesveen 3f982a8eba Bug 1873889 [wpt PR 43918] - [@container] Never select containers for unknown queries, a=testonly
Automatic update from web-platform-tests
[@container] Never select containers for unknown queries

Per resolution in [1]. Spec PR in [2] landed. Behind a flag.

[1] https://github.com/w3c/csswg-drafts/issues/7551#issuecomment-1854385652
[2] https://github.com/w3c/csswg-drafts/pull/9776

Bug: 1511267
Change-Id: Icf2cde2c54eec770ff4c3b5ac03a1558d8a3733f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5181075
Reviewed-by: Anders Hartvoll Ruud <[email protected]>
Commit-Queue: Rune Lillesveen <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1247112}

--

wpt-commits: 8d44112056a13458a417dce9fe55d7e4336d8dc9
wpt-pr: 43918
2024-01-18 08:23:25 +00:00
Cathie Chen 868e886cf6 Bug 1874761 - content-visibility-with-top-layer-006.html should check the result after determining the proximity to the viewport, r=fredw
Differential Revision: https://phabricator.services.mozilla.com/D198601
2024-01-16 15:00:56 +00:00
Mason Freed 36d441658a Bug 1874517 [wpt PR 43983] - Fix content-visibility-095.html expectation, a=testonly
Automatic update from web-platform-tests
Fix content-visibility-095.html expectation

This test seems to be working, except that the reference image doesn't
apply `contain: content` to the table corresponding to table.hidden,
which has content-visibility:hidden.

Bug: 1510865
Change-Id: I3beb913ad7910f983aec15c262d06e282006e063
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5195268
Auto-Submit: Mason Freed <[email protected]>
Reviewed-by: Ian Kilpatrick <[email protected]>
Commit-Queue: Ian Kilpatrick <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1246889}

--

wpt-commits: 5049a31d2a7eebd7bca08317e56664021a8bd36c
wpt-pr: 43983
2024-01-16 09:09:25 +00:00
Stephen Chenney a79c82894d Bug 1872959 [wpt PR 43848] - Fix Highlight Pseudos using container-relative units, a=testonly
Automatic update from web-platform-tests
Fix Highlight Pseudos using container-relative units

Add support for creating a new style when the highlight uses
container-relative units and has a different container to that
of its parent. And also fix a problem where highlight styles
are not created inside container queries for the container itself.

Add testing of highlights using container queries.

Fixes a typo too.

Units depending on block/inline direction still do
not work for vertical writing modes. That's for another CL.

Bug: 1468306
Change-Id: I781a35810133f3591c7a3587ff5d13df0dfac9ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5149171
Reviewed-by: Rune Lillesveen <[email protected]>
Commit-Queue: Stephen Chenney <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1245980}

--

wpt-commits: 217ab9f1480ea3ebce180e7cf9f787246691bfe7
wpt-pr: 43848
2024-01-15 09:06:52 +00:00
Cathie Chen 6eb8feb2d7 Bug 1865267 - Intermittent /css/css-contain/content-visibility/content-visibility-vs-scrollIntoView-003.html, r=fredw
Differential Revision: https://phabricator.services.mozilla.com/D197941
2024-01-12 16:06:27 +00:00
Cathie Chen 1cd763f5bf Bug 1810970 - Intermittent /css/css-contain/content-visibility/content-visibility-auto-state-changed-removed.html, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D197496
2024-01-12 16:04:53 +00:00
Cathie Chen a844956938 Bug 1872468 - Intermittent TEST-UNEXPECTED-TIMEOUT /css/css-contain/content-visibility/animation-display-lock.html, r=fredw
Differential Revision: https://phabricator.services.mozilla.com/D197494
2024-01-10 14:49:17 +00:00
Frédéric Wang 03ef142404 Bug 1765615 - Add tests for dynamic paint/layout containment and IFC. r=emilio
These tests verify that floats and margin-collapsing are properly
handled when paint/layout containment changes dynamically.

Differential Revision: https://phabricator.services.mozilla.com/D197885
2024-01-10 07:29:13 +00:00
Frédéric Wang d0c2d016ee Bug 1765615 - Add tests for dynamic content-visibility/contain/relevancy changes. r=emilio
This adds tests for checking containment update when `contain`,
`content-visibility`, or relevancy change.

Differential Revision: https://phabricator.services.mozilla.com/D196957
2024-01-10 07:29:12 +00:00
Jihye Hong 78793fc4b3 Bug 1868364 - Revert content-visibility-with-popover-top-layer-005.html and content-visibility-with-top-layer-005.html which cause regression r=cathiechen
Differential Revision: https://phabricator.services.mozilla.com/D196403
2024-01-04 14:10:56 +00:00
Cathie Chen e5b70dbcaa Bug 1861378 - Intermittent /css/css-contain/content-visibility/animation-display-lock.html, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D197384
2023-12-29 14:30:05 +00:00