[pull] master from web-platform-tests:master#2053
Merged
pull[bot] merged 20 commits intoAll-Blockchains:masterfrom Mar 30, 2026
Merged
[pull] master from web-platform-tests:master#2053pull[bot] merged 20 commits intoAll-Blockchains:masterfrom
pull[bot] merged 20 commits intoAll-Blockchains:masterfrom
Conversation
* Make disable attribute effect test optional Fix the tests that passed on browsers without ever hitting the asserts because we did not wait for them to run. * Remove t.step. These are `promise_test`s * Update test name * Update optional test Make optional test pull in changes made by beaufortfrancois in another review.
Differential Revision: https://phabricator.services.mozilla.com/D289016 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2021509 gecko-commit: a015827f7d7af9f8d48338aa32f8aab6ebf0b104 gecko-commit-git: 0163d6cc71365892725616a0f03490d51d3a06d0 gecko-reviewers: bvisness
Differential Revision: https://phabricator.services.mozilla.com/D289933 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2025361 gecko-commit: 9239a97af457fdaeda58bf7badf7d4e0198b91c3 gecko-commit-git: 8b80f67788b7f82b162af5268771f074a50cd6aa gecko-reviewers: emilio
Improve custom specified value testing for animation-duration since it only accepts non-negative time values. When a negative input is wrapped in CSSMathSum, associating the resulting calc value with the property triggers simplification and canonicalization. For example, an input such as -3.14ms ends up as calc(-0.0034s). The previous custom range handling was not sufficient for these cases. Copy and adapt assert_is_equal_with_range_handling so the behavior is tested correctly. Differential Revision: https://phabricator.services.mozilla.com/D288380 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2023997 gecko-commit: 562bd181e786cc7d79920cf9a41d38811df9299c gecko-commit-git: 90583a3778e3213cf620f4935940e8a6e47c50e3 gecko-reviewers: emilio, firefox-style-system-reviewers
…doption Differential Revision: https://phabricator.services.mozilla.com/D289818 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2026205 gecko-commit: 24670c018d5786cfc4bd77acc700271aa1cba8f8 gecko-commit-git: 5bfe2873c228face5f0db493e76c90c519a62986 gecko-reviewers: smaug
Differential Revision: https://phabricator.services.mozilla.com/D290577 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2027052 gecko-commit: 3bed2de10f2e4e24fddda579c5e7f1d204ae9389 gecko-commit-git: 1f9442396e61713da3ae13b2e7871028696e13b7 gecko-reviewers: emilio
The bug was fixed by bug 1996500 which improved the handling of `pre-line` and replaced elements. Differential Revision: https://phabricator.services.mozilla.com/D290359 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1945281 gecko-commit: d9f7ad6107d5d90188053f087f9a23cfdc08dd6f gecko-commit-git: 1660b071b50c4c3c989310a067b799e26a83b9a7 gecko-reviewers: m_kato
In case any of the windows retrieved from self.parent.base.window_handles() are closed before self.parent.base.set_window() is called for them, that call will cause an error, which we can just ignore. Differential Revision: https://phabricator.services.mozilla.com/D290252 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2023019 gecko-commit: ad5750368b6965206a10ecd68437e91beb1daa58 gecko-commit-git: 0fbf3d29e37cb169c63c6f05cc8ca0f1ce851987 gecko-reviewers: jgraham
… to Oklab and allow a small epsilon difference. And do not require color_space or flags to match for the colors to be considered equal. (Tentative behavior, pending resolution of w3c/csswg-drafts#13157; once the WG decides exactly what to do there we can refine this as necessary.) Adding a simple test based on the codepen example in the issue. Further tests should be created once the details of the issue are resolved. Differential Revision: https://phabricator.services.mozilla.com/D289607 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2025848 gecko-commit: b96485698f5e346ff45d120cec0059ab21a6c5a7 gecko-commit-git: cd22e47cb340c5226b910aaca2f905a6b38916ab gecko-reviewers: firefox-style-system-reviewers, emilio
Differential Revision: https://phabricator.services.mozilla.com/D289605 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2023978 gecko-commit: db75bc81aec7b0ace2b810ea29007e27866e74e6 gecko-commit-git: 8be2ad2875abfa8d63835333eaf4ae651be07d67 gecko-reviewers: Sasha
…ests for Wayland headful. Differential Revision: https://phabricator.services.mozilla.com/D289606 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2023978 gecko-commit: 431bf6148f4ae07d6971cfa6fb961e751684781b gecko-commit-git: a34caac7779575300d980f5e4134d7302b7cb88c gecko-reviewers: jdescottes
Fixed: 496627699 Change-Id: I11f1c16e3182cee0d809e47aa8b3b96777c409cf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7708299 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Steinar H Gunderson <sesse@chromium.org> Cr-Commit-Position: refs/heads/main@{#1606998}
Convert several manual WPT console tests to automated testharness.js tests using WebDriver BiDi log.entryAdded via testdriver.js?feature=bidi. Changes: - Remove manual tests: console-count-logging-manual.html console-countReset-logging-manual.html console-number-format-specifiers-symbol-manual.html console-timing-logging-manual.html - Add automated tests: console-count-logging.html console-countReset-logging.html console-number-format-specifiers-symbol.html console-timing-logging.html console-timing-missing-label-warnings.tentative.html - Update NeverFixTests accordingly. Bug: 489738791 Change-Id: Iba1718b4e423391cc8a186664a3889002e87c4fd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7657323 Commit-Queue: Minju Kim <mkim@igalia.com> Reviewed-by: Alex N. Jose <alexnj@chromium.org> Reviewed-by: Philip Jägenstedt <foolip@chromium.org> Cr-Commit-Position: refs/heads/main@{#1607021}
Style queries and name-only container queries match a named container even if its container-type is 'none'. Check container-name changes for invalidation before relying on container-type being set. Add dynamic changes tests for name-only container queries. Bug: 496700746, 40287550 Change-Id: Ic5ed5512f31d0bce4daf9ed5063f0a7b163cf8a5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7706063 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/main@{#1607027}
Throw an exception when streaming, or fail silently on regular setter. Added tests for both. Bug: 496521461 Change-Id: I6d4b682f37771f20ad398a0d418dbb56d491dcb1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7706306 Commit-Queue: Noam Rosenthal <nrosenthal@google.com> Reviewed-by: Philip Jägenstedt <foolip@chromium.org> Cr-Commit-Position: refs/heads/main@{#1607046}
Rewrite textpath-side-001 to use Ahem font, shorter text, and simpler quadratic curves for reliable cross-browser pixel matching. The original test used FreeSans (missing font file), long Lorem Ipsum text, and a complex S-shaped cubic Bezier, causing Firefox to fail due to accumulated sub-pixel glyph positioning differences despite correctly implementing the side attribute. Add new tests: - textpath-side-002: side='left' renders identically to default - textpath-side-003: side='right' matches reversed path - textpath-side-004: invalid side values fall back to default - textpath-side-005: side attribute on circular paths (left=outside, right=inside) All tests use Ahem font for deterministic rendering, short text (ABCD) to minimize floating-point accumulation, and tight fuzzy tolerances. Ref: w3c/svgwg#1068 Ref: https://www.w3.org/2026/03/12-svg-minutes.html Co-authored-by: Virali Purbey <viralipurbey@microsoft.com>
Implement the border-area value for background-clip from CSS Backgrounds Level 4 [1], gated behind the experimental CSSBackgroundClipBorderArea runtime flag. The border-area value clips a background to the area painted by the border strokes, taking border-width and border-style into account but ignoring any transparency introduced by border-color. This enables effects like gradient borders without border-image. Parsing changes: - Add "border-area" CSS keyword and EFillBox::kBorderArea enum value with bidirectional CSSValueID mappings. - Accept border-area in ConsumeBackgroundClip() when the flag is enabled, controlled by an AllowBorderAreaValue enum. Reject it for -webkit-background-clip (and other prefixed properties) via UseAliasParsing(). - Support the full [ border-area || text ] combined syntax via a new EFillBox::kBorderAreaText value and space-separated CSSValueList parsing. Canonical serialization: "border-area text". - In the background shorthand, default background-origin to border-box when border-area is the clip (alone or combined with text) and origin is not explicitly specified, per spec [2][3]. Rendering changes: - Use a path-based clip (outer minus inner border contour) for area-filling border styles (solid, inset, outset, groove, ridge). Uses BorderEdge (which applies EffectiveStyle) for consistency with how borders are actually painted. - For non-area-filling styles (dashed, dotted, double), use a mask-based approach via BoxBorderPainter::PaintBorderArea(), which paints border strokes in opaque black as a DstIn mask. - For the combined [ border-area text ] case, the DstIn mask is the union of border-area strokes and text shapes, both painted as opaque regions in the same mask layer. - Handle kBorderArea and kBorderAreaText in all EFillBox switch statements across background geometry, SVG mask painting, and layout code. For SVG, border-area maps to the stroke-box reference area. - Add IsSpecialClipFillBox() helper for the repeated kText/kBorderArea/kBorderAreaText checks in layout code. - Exclude kBorderArea/kBorderAreaText from the bottom-layer fast path, opaque rect computation, and composited fixed-attachment backgrounds. - Widen the clip_ and origin_ bitfields in FillLayer from 3 to 4 bits to accommodate the new EFillBox values without overflow. Also adds WPT tests for parsing, computed values, shorthand serialization, and reftests for border-area (standalone and combined with text), corner-shape, and border-shape. Adds Chromium pixel tests for dashed, dotted, double, and mixed border styles. [1]: https://drafts.csswg.org/css-backgrounds-4/#typedef-bg-clip [2]: https://drafts.csswg.org/css-backgrounds-4/#propdef-background [3]: w3c/csswg-drafts#11167 (comment) Bug: 329302543, 387626415, 496306817 Change-Id: I2a8f4eeb51b1b36b3a3a532ceaf0b68f740fa7d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7678270 Reviewed-by: Fredrik Söderquist <fs@opera.com> Commit-Queue: Jason Leo <cgqaq@chromium.org> Cr-Commit-Position: refs/heads/main@{#1607101}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )