aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/css/css-values
Commit message (Collapse)AuthorAgeFilesLines
* Sync WPT with upstream (20-04-2025) (#36618)Servo WPT Sync2 days27-0/+420
| | | | | | Automated downstream sync of changes from upstream as of 20-04-2025 [no-wpt-sync] Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* layout: Add initial support for the `::marker` pseudo-element (#36317)Martin Robinson2025-04-071-3/+0
| | | | | | | | | | | | | | | This change adds support for the `::marker` pseudo-element and ensure that markers are cached into the box tree. This is only initial support, there are a few things missing such as animations, transitions, and support the `content` CSS property. Testing: There are WPT tests for this change. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* Enable layout_grid_enabled pref for all tests (#36316)Oriol Brufau2025-04-031-2/+0
| | | | | | This is part of #36315 Testing: This improves several tests that rely on this feature Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-03-286-292/+154
| | | | | b'9d20f3ae600d00673a27a69f69e13d4cd8eca443' (#36195) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-03-188-24/+63
| | | | | b'18fda923cafeb4e3e0546ffcfb2302c3b1b11f98' (#36019) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-03-095-25/+55
| | | | | b'c23b0ad587af296087067b48a2f2101233589a8f' (#35869) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-03-025-4/+85
| | | | | b'fc557e215e11221c91de4f283539725ef2f35928' (#35741) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* script: add skeleton implementation of `FontFace` API (#35262)Mukilan Thiyagarajan2025-02-193-12/+0
| | | | | | | | | | | | | | | | This patch implements the `FontFace` interface, but with some caveats 1. The interface is only exposed on `Window`. Support for Workers will be handled in the future. 2. The concept of `css-connected` `FontFace` is not implemented, so `@font-face` rules in stylesheets will not be represented in the DOM. 3. The constructor only supports using `url()` strings as source and `ArrayBuffer` and `ArrayBufferView` are not supported yet. A skeleton implementation of the `load` method of `FontFaceSet` is also implemented in this patch. The intention is to support some web pages that don't load without this method. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-02-162-0/+30
| | | | | b'de61904887c13679551c32e5e3e70b4dc870c98a' (#35480) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* layout: Basic implementation of size keywords on `flex-basis` (#35413)Oriol Brufau2025-02-132-18/+0
| | | | | | | | | | | layout: Basic implementation of size keywords on `flex-basis` This splits the logic to resolve the used value of `flex-basis` into its own method, which preserves size keywords. And then it changes `flex_base_size()` to resolve the provided keywords properly. However, it doesn't handle size keywords in the cross axis. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-02-092-0/+453
| | | | | b'1a5b13545ae58e468ed11e4c21912a3faf3355ea' (#35384) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-02-021-1/+1
| | | | | b'f630424a79c1ae17deaaf27a21efdbca1378af0e' (#35258) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Let animations&transitions fall back to discrete interpolation (#34981)Oriol Brufau2025-01-308-759/+279
| | | | | Bumps Stylo to https://github.com/servo/stylo/pull/109 Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-01-195-11/+341
| | | | | b'8f3f629756d7351867a8be36d5f217608b9adc61' (#35065) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-01-121-3/+6
| | | | | b'475127f90be9926867796ff98717b621a358af52' (#34956) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-01-051-0/+15
| | | | | b'c72ee0c082d350b8b44f7a6bac1f028752b13527' (#34837) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-12-226-0/+234
| | | | | b'979291d49c1a8e3d811df117d9e6b5d399a6deb2' (#34733) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* layout: Allow same `ScriptThread` `<iframe>`s to be resized synchronously ↵Martin Robinson2024-12-171-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | (#34656) Post layout, when a `Window` has all of the new `<iframe>` sizes, size any `Window`s for `Pipeline`s in the same `ScriptThread` synchronously. This ensures that when laying out from the outermost frame to the innermost frames, the frames sizes are set properly. There is still an issue where a non-same-`ScriptThread` `<iframe>` sits in between two `<iframe>`s of the same origin. According to the specification these frames should all be synchrnously laid out -- something quite difficult in Servo. This is issue #34655. This is the first change in a series of changes to improve the consistency of `<iframe>` loading and sizing. Fixes #14719. Fixes #24569. Fixes #24571. Fixes #25269. Fixes #25275. Fixes #25285. Fixes #30571. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* wpt: Fix flakiness in `vh_not_refreshing_on_chrome.html` (#34626)Martin Robinson2024-12-161-2/+0
| | | | | | | | | | | | | | | | | | | | | This test manually animates the height of an `<iframe>` that has content which uses the `vh` unit. Each tick of the animation changes the height by one pixel. Inside the `<iframe>` the element using `vh` units has a transition applied, so every manual tick of the animation triggers a new transition. The causes a pretty slow test execution. This change improves `vh_not_refreshing_on_chrome.html` to remove flakiness by making the test wait to start until after the `<iframe>` has loaded and to increase the `<iframe>` height by 10 pixels instead of 1 when doing the manual animation. These changes make the test faster and much less flaky in Servo. In addition, the test is reformated a bit removing extraneous whitespace and renamed to follow WPT naming conventions. Fixes #23385. Fixes #15570. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* Partial implementation of keyword sizes for block layout (#34568)Oriol Brufau2024-12-166-18/+49
| | | | | | | Adds support for min-content, max-content, fit-content and stretch, for block-level elements that don't establish an independent formatting context, and for block-level elements when there is no float. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-12-151-0/+2
| | | | | b'38623a53d6598cb7aab4be8a810102b352a652df' (#34622) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-12-054-15/+25
| | | | | b'bf49dde84c5f05613115d6146d109f0ec3900694' (#34483) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-11-245-10/+285
| | | | | b'6d461cc41e1a9951e1991a94f651e389b0ca24ba' (#34360) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Upgrade Stylo to 2024-11-01 (#34322)Oriol Brufau2024-11-215-18/+0
| | | | | | | | | | | | | | | | | * Upgrade Stylo to 2024-11-01 Signed-off-by: Oriol Brufau <obrufau@igalia.com> * Fixup for https://phabricator.services.mozilla.com/D224747 Signed-off-by: Oriol Brufau <obrufau@igalia.com> * Update test expectations Signed-off-by: Oriol Brufau <obrufau@igalia.com> --------- Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Enable Shadow DOM for tests (#34299)Josh Matthews2024-11-201-0/+2
| | | | | | | | | | | | | * Enable shadowdom implementation in all tests. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Update test expectations. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-11-171-13/+109
| | | | | b'6cf69a4f431581e9438681abc776029308ee8a8c' (#34265) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-11-101-2/+0
| | | | | b'8686b7a6d288d3b2c22b5ddb5a21773619b22b85' (#34202) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-11-035-85/+75
| | | | | b'd2f2efe271ae2fa661c52ed2fe8564e21ad4036f' (#34115) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-10-271-0/+2
| | | | | b'73d6bd0d61f0ad5341d0c2303a7638e3aa12a594' (#34029) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Consistent resolution of cyclic percentages in min sizing properties (#33988)Oriol Brufau2024-10-241-0/+2
| | | | | | | | | | | | | | | The spec says that cyclic percentages in min sizing properties should be resolved against zero when computing intrinsic contributions. We were already doing that in the inline axis, but we were treating the entire expression as `auto` in the block axis. With this patch we will follow the spec in both axes. But note that browsers don't follo the spec in either axis, so we may have to revisit (see https://github.com/w3c/csswg-drafts/issues/10969). calc-min-height-block-1.html now fails because it tests what browsers do instead of what the spec says. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-10-2010-0/+267
| | | | | b'5a9d9349a312e12a950d5f4703cd41609a06f242' (#33923) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Enable `stretch` keyword (#33659)Oriol Brufau2024-10-056-384/+0
| | | | | Bump Stylo to servo/stylo#81 Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Sync WPT with upstream (29-09-2024) (#33580)Servo WPT Sync2024-09-292-6/+15
| | | | | | | | | | | | | | | * Update web-platform-tests to revision b'16d17064d2122cfa83b22f8bab32c96e6514c034' Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org> * Update big5-decode-csbig5.html.ini Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org> Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com> Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com>
* Enable min-content, max-content, fit-content and stretch (#33492)Oriol Brufau2024-09-2010-1110/+3
| | | | | | | | | For the sizing properties. We don't actually support them yet, just treating them as the initial value. Signed-off-by: Oriol Brufau <obrufau@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-09-152-24/+69
| | | | | b'4c3d068f942231dc905ea283e4f82bd70801c37c' (#33461) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Upgrade stylo to 2024-09-02 (#33370)Oriol Brufau2024-09-132-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Upgrade stylo to 2024-09-02 Signed-off-by: Oriol Brufau <obrufau@igalia.com> * Fixup for https://phabricator.services.mozilla.com/D217308 Signed-off-by: Oriol Brufau <obrufau@igalia.com> * Fixup for https://phabricator.services.mozilla.com/D217626 Signed-off-by: Oriol Brufau <obrufau@igalia.com> * Fixup for https://phabricator.services.mozilla.com/D218488 Signed-off-by: Oriol Brufau <obrufau@igalia.com> * Fixup for https://phabricator.services.mozilla.com/D219537 Signed-off-by: Oriol Brufau <obrufau@igalia.com> * Update test expectations Signed-off-by: Oriol Brufau <obrufau@igalia.com> --------- Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* layout: Lay out absolutes in atomic containing blocks (#33336)Martin Robinson2024-09-061-63/+0
| | | | | | | | | | When inline atomics establish containing blocks for absolute descendants, layout should happen with those atomics as the containing block. This ensures that the absolute descendents have the correct containing block and Fragment parent. This wasn't happening before and this change fixes that. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Oriol Brufau <obrufau@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-09-013-6/+6
| | | | | b'5d8ec746ed021738e7ee0cee92ad1a1814ba00fe' (#33274) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* layout: Add an indefinite containing block for intrinsic sizing (#33204)Oriol Brufau2024-08-291-2/+0
| | | | | | | | | | | | | | | | | | When computing the min-content or max-content size of an element we need to ignore `inline-size`, `min-inline-size` and `max-inline-size`. However, we should take the block-axis sizing properties into account. That's because the contents could have percentages depending on them, which can then affect their inline size via an aspect ratio. Therefore, this patch adds `IndefiniteContainingBlock`, which is similar to `ContainingBlock`, but it allows an indefinite inline-size. This struct is then passed arround during intrinsic sizing. More refinement will be needed in follow-up patches in order to fully address the problem. Signed-off-by: Oriol Brufau <obrufau@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* layout: Enable flexbox by default on non-legacy layout (#33186)Martin Robinson2024-08-265-21/+8
| | | | | | | Flexbox is still very much in progress, but things are working well enough that we can enable it by default. It improves most pages that use flexbox now. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-08-252-2/+3
| | | | | b'd988aeeb33edc4d452899921799b8bed69fff65d' (#33178) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-08-1916-0/+358
| | | | | b'ebe057a1153d34042bac1ff3dc944220876f69ec' (#33116) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update stylo for latest changes. (#33079)Josh Matthews2024-08-161-87/+0
| | | Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-08-119-3/+101
| | | | | b'3b3beee1bf2469013583bafe702f2d4821d76c1f' (#33000) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-08-0715-888/+554
| | | | | b'3634d5a63f2fa3969616396d95537c91c3348fe5' (#32959) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Upgrade stylo to 2024-07-16 (#32812)Martin Robinson2024-07-241-2/+0
| | | | | | | | | | | | | | * Upgrade stylo to 2024-07-16 Signed-off-by: Martin Robinson <mrobinson@igalia.com> * Use the new `dom` crate from stylo Signed-off-by: Martin Robinson <mrobinson@igalia.com> --------- Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Oriol Brufau <obrufau@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-07-2115-0/+4947
| | | | | b'5af3e9c2a2aba76ade00f0dbc3486e50a74a4506' (#32824) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-07-144-2/+14
| | | | | b'f3dd9cba239a9655951ee62ec4dafc8fe37df2c5' (#32774) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-07-072-0/+162
| | | | | b'4e3b5de2eb8218cf18a1674618994efeb96e2cc0' (#32717) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Sync WPT with upstream (30-06-2024) (#32649)Servo WPT Sync2024-06-302-0/+14
| | | | | | | | | | | | | | * Update web-platform-tests to revision b'639fa536940371f833fbbcc10104e20f435f9777' Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org> * Delete tests/wpt/meta/css/css-values/cap-invalidation.html.ini * Update css-font-face.https.sub.tentative.html.ini --------- Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org> Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com>