aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/css/css-ui
Commit message (Collapse)AuthorAgeFilesLines
* Sync WPT with upstream (06-04-2025) (#36369)Servo WPT Sync2025-04-061-0/+3
| | | | | | Automated downstream sync of changes from upstream as of 06-04-2025 [no-wpt-sync] Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-03-281-0/+6
| | | | | b'9d20f3ae600d00673a27a69f69e13d4cd8eca443' (#36195) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-02-022-0/+12
| | | | | b'f630424a79c1ae17deaaf27a21efdbca1378af0e' (#35258) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2025-01-265-3/+30
| | | | | b'e5e7dab5e72edd352b17105acce2b8f443face10' (#35174) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* script: Remove 'pending reflow' concept and some explicit reflows (#34558)Martin Robinson2024-12-112-4/+0
| | | | | | | | | | | | | | | | | | The `pending reflow` concept isn't necessary now that *update the rendering* is taking care of triggering reflows at the correct time. `Window::reflow` already avoids reflows if the page is not dirty, so pending reflows is now just an extraneous check as long as *update the rendering* runs properly. This change also removes some explicit reflows, which now wait until the appropriate moment during *update the rendering*. This should remove some extra reflows that are not necessary. Servo needs some way to track that resizing the web view needs to re-layout due to the initial containing block changing. Move handling of `Document::needs_paint` to the script thread and use this, expanding the rustdoc to explain what it is for a bit more clearly. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-11-103-0/+159
| | | | | b'8686b7a6d288d3b2c22b5ddb5a21773619b22b85' (#34202) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Implement `transition-behavior` (#33991)Oriol Brufau2024-10-241-18/+0
| | | | | Bump Stylo to https://github.com/servo/stylo/pull/84 Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-10-201-0/+2
| | | | | b'5a9d9349a312e12a950d5f4703cd41609a06f242' (#33923) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Sync WPT with upstream (06-10-2024) (#33668)Servo WPT Sync2024-10-061-0/+18
| | | | | | | | | | | | | | | * Update web-platform-tests to revision b'9448ab31f11e671a8b069e3407b4f6279bea698e' Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org> * Remove intermittent failure. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org> Signed-off-by: Josh Matthews <josh@joshmatthews.net> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
* Let table-related boxes adjust their `overflow` values (#33400)Oriol Brufau2024-09-111-2/+0
| | | | | | | | | | The `overflow` property doesn't apply to table track and track groups, and table elements only accept a few `overflow` values. Therefore, this patch adds an `effective_overflow()` method to get the actual value that needs to be used. 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-081-0/+3
| | | | | b'ec9b870fec350e59e9db48ae2858e914a07f38d6' (#33359) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update stylo for latest changes. (#33079)Josh Matthews2024-08-161-6/+0
| | | Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-07-072-0/+4
| | | | | 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-301-2/+0
| | | | | | | | | | | | | | * 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>
* layout: Add very basic support for showing text in input boxes (#32365)Martin Robinson2024-06-203-0/+6
| | | | | | | | | | | | | | | | | | This only paints text in input fields. Selection and cursor are still not painted. In addition to adding this feature, the change also updates the user-agent.css with the latest from the HTML specification. Extra padding and extraneous settings (such as a bogus line-height and min-height) are also removed from servo.css. This leads to some new passes. There are some new passes, this introduces failures as inserting text reveals issues that were hidden before. Notably: - failures in `/html/editing/editing-0/spelling-and-grammar-checking/`: We do not support spell-checking. - Most of the rest of the new failures are missing features of input boxes that are also missing in legacy layout.
* Update web-platform-tests to revision ↵Servo WPT Sync2024-05-061-0/+2
| | | | b'536297144c737f84096d1f448e790de0fb654956' (#32232)
* feat: Support font-relative `ch` and `ic` units (#32171)Andreu Botella2024-05-021-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: Support font-relative `ch` and `ic` units After #31966, which made it possible for the first time to resolve font-relative CSS units, this change adds support for the `ch` and `ic` units. One difference with the `ex` unit that was added in that PR is that these units must reflect the advance width of a character (the zero digit in the case of `ch`, and the CJK water radical for `ic`) as it would be rendered by the current font group. This means that the size of these units don't only depend on the first available font, in the case where that font does not contain a glyph for that character. This is implemented by adding the advance width for these two characters as optional fields of `FontMetrics`, so the advance width computation happens in advance. Then, when the font metrics are queried as part of unit resolution, the font group is searched for the first font containing that character. This change only implements support for these units in upright typesetting modes, since Servo does not yet have support for vertical writing modes. This means that many of the WPT tests that test for the behavior of these units with vertical writing modes do not pass. This change also makes a number of WPT tests pass, which relied on the `ch` and `ic` units. It, however, also makes the test `/css/css-text/white-space/text-wrap-balance-overflow-002.html` fail, since it tests `text-wrap: balance`, which Servo does not yet implement, and it was only previously passing by chance due to the previous behavior of these units. * Revert Python 3.10-related changes to wss * Fix formatting * Remove test expectation
* Sync WPT with upstream (17-03-2024) (#31715)Servo WPT Sync2024-03-171-0/+78
| | | | | | | | | | | * Update raw lags path for WPT import I forgot to do this in #31616 * Update web-platform-tests to revision b'298d1599dbf6255aea63506daaa1702ff0c4fdc5' --------- Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com>
* layout: Properly parent table-row and table-row-group (#31619)Martin Robinson2024-03-141-0/+2
| | | | | | | | Put table cell content fragments into a hieararchy of fragments that include their table row and table row group fragments. This ensures that things like relative positioning and transforms set on rows and row groups properly affect cells and cell content. Co-authored-by: Oriol Brufau <obrufau@igalia.com>
* layout: Fix the pseudo for anonymous tables (#31578)Martin Robinson2024-03-083-6/+0
| | | | | | | Anonymous tables should not use legacy pseudos, as the legacy layout engine had them inherit lots of random properites that lead to bad layout in the new layout engine. Co-authored-by: Oriol Brufau <obrufau@igalia.com>
* Enable CSS Tables by default (#31470)Oriol Brufau2024-03-072-2/+2
| | | And remove the pref `layout.tables.enabled`.
* Add basic support for enumerating computed styles (#31499)Oriol Brufau2024-03-061-0/+2
| | | | | | | | | | | * Add basic support for enumerating computed styles The old code was so broken, it was enumerating the style attribute instead of the computed styles. So this patch implements a basic enumeration, but not including custom properties whose computed value is not the guaranteed-invalid value. * Feedback
* Update web-platform-tests to revision ↵Servo WPT Sync2024-02-253-15/+0
| | | | b'a39b23cb150d1ca3eddf7f2097ffe792a5f911e5' (#31425)
* Sync WPT with upstream (04-02-2024) (#31256)Servo WPT Sync2024-02-053-0/+15
| | | | | | | | | * Update web-platform-tests to revision b'faa6d42ce21d126155dee771786ad7c74efbcba5' * Update test expectation --------- Co-authored-by: cybai <cyb.ai.815@gmail.com>
* Add support for cellpadding attribute (#31201)Oriol Brufau2024-01-291-2/+0
|
* Update test expectationsOriol Brufau2023-11-241-3/+0
|
* Update web-platform-tests to revision ↵Servo WPT Sync2023-11-194-2/+6
| | | | b'7aaad11d87d7a02515081e55609d31ab6ff173fc' (#30753)
* Sync WPT with upstream (12-11-2023) (#30724)Servo WPT Sync2023-11-155-0/+230
| | | | | | | | | | | | * Update web-platform-tests to revision b'46476776fdbf0a62522621002ba8af68e4d478b6' * wpt import: update expectation Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Sync WPT with upstream (24-10-2023) (#30607)Servo WPT Sync2023-10-254-24/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | * wpt sync: adapt code for new TestRoot class Fixes #30558 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * temp change to allow wpt sync build to pass Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * Update web-platform-tests to revision b'0d5028f200c8651b17bb224657d6e1065adcff37' * Revert "temp change to allow wpt sync build to pass" This reverts commit bad72c7f87c0df16085763ee15ebe63a53462ab3. * revert metadata update for intermittent timeouts Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Stop transitioning properties with a discrete animation type (#30565)Oriol Brufau2023-10-201-18/+0
| | | | | | | | | They are not transitionable: https://drafts.csswg.org/css-transitions-1/#transitionable There are some new failures in background-image-interpolation.html, but I think the test is wrong, because it expects background-image to be transitionable, even though the spec defines it with a discrete animation type.
* Sync WPT with upstream (08-10-2023) (#30516)Servo WPT Sync2023-10-082-0/+12
| | | | | | | | | | | | * Update web-platform-tests to revision b'3d46548c5fbeb3c1b5f6bc5ae0854e0a1a0462ff' * Revert expectation for column-count-crash.https.html Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Sync WPT with upstream (04-10-2023) (#30493)Servo WPT Sync2023-10-068-13/+20
| | | | | | | | | | | | | | | * Update web-platform-tests to revision b'dfda99176a5d552fb1129fa353b7e4c69f6ed92c' * fix linter errors after WPT import Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * Update expectations --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Fix handling of `white-space` property for wrapping (#30259)Martin Robinson2023-09-043-7/+0
| | | | This still fails some tests because on element boundaries we want the `white-space` property of the first shared ancestor.
* Update test expectationsPu Xingyu2023-06-301-0/+2
|
* Update web-platform-tests to revision ↵WPT Sync Bot2023-06-258-12/+18
| | | | b'7b682ab07397d72fceb6594d0f27cb36cf1d8ee3'
* Rename metadata directoriesMartin Robinson2023-06-22109-0/+4437
This renames: - `tests/wpt/metadata` → `tests/wpt/meta-legacy-layout` - `tests/wpt/metadata-layout-2020` → `tests/wpt/meta` - `tests/wpt/mozilla/meta` → `tests/wpt/mozilla/meta-legacy-layout` - `tests/wpt/mozilla/meta-layout-2020` → `tests/wpt/mozilla/meta`