aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/css/selectors
Commit message (Collapse)AuthorAgeFilesLines
* Implement `ShadowRoot.innerHtml` attribute (#34335)Simon Wülker2024-11-223-22/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement DocumentFragment::fragment_serialization_algorithm Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Implement ShadowRoot innerHtml attribute Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Update WPT expectations Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * cargo-clippy Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Reuse existing serialization code and move helpers into Node Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Fix typo Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Upgrade Stylo to 2024-11-01 (#34322)Oriol Brufau2024-11-216-12/+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>
* Include non-shadowdom children of shadow hosts in style calculation (#34298)Simon Wülker2024-11-208-8/+15
| | | | | | | | | | | | | | | | * Include non-shadowdom children of shadow hosts in style calculation This was previously causing crashes because the layout nodes of those children would never be assigned style data by stylo. Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Update WPT expectations Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Enable Shadow DOM for tests (#34299)Josh Matthews2024-11-2012-13/+38
| | | | | | | | | | | | | * 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>
* style: Add support for `is()` and `where()` selectors (#34066)Martin Robinson2024-11-1918-353/+0
| | | | | | | | Additionally, changes now need to be made to `servo.css` in order to ensure that `<button>` text is centered the same way that it is for `<input type=button>`. In the past the rule for centering text for the latter was ignored because it used `:is()`. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-11-036-0/+12
| | | | | b'd2f2efe271ae2fa661c52ed2fe8564e21ad4036f' (#34115) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Fix resolved value of insets to use margin box instead of content box (#33906)Oriol Brufau2024-10-181-6/+0
| | | Signed-off-by: Oriol Brufau <obrufau@igalia.com>
* Sync WPT with upstream (06-10-2024) (#33668)Servo WPT Sync2024-10-062-0/+4
| | | | | | | | | | | | | | | * 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>
* Sync WPT with upstream (29-09-2024) (#33580)Servo WPT Sync2024-09-291-0/+57
| | | | | | | | | | | | | | | * 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>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-08-255-0/+10
| | | | | b'd988aeeb33edc4d452899921799b8bed69fff65d' (#33178) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* script: Update list of non-TS pseudo classes supported by Servo (#33165)Martin Robinson2024-08-246-32/+0
| | | | | | Also remove some code duplication by moving some of the code into the `Element` impl. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-08-191-0/+2
| | | | | b'ebe057a1153d34042bac1ff3dc944220876f69ec' (#33116) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-08-071-0/+6
| | | | | b'3634d5a63f2fa3969616396d95537c91c3348fe5' (#32959) Signed-off-by: WPT Sync Bot <ghbot+wpt-sync@servo.org>
* Remove media element state changes triggered by network responses (#32643)Josh Matthews2024-07-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Do not change media element ready state when network response is complete. * Do not fire multiple error events for the same media content. * Inform media backend when media response is complete. * Continue delaying the load event when a complete media response is received. * Only mark a media response as complete when the response is the active one. * Update expectations for imagebitmap tests using video element. * Update fetch ORB video test expectations. * Update media CSS selector test expectation for non-implemented feature. * Update expectations for media element tests that now work. * Updat expected result for failing reftest. * Update expected failure for test that loads an audio file in a video element. * Update media test expectation for unimplemented track feature. * Do not process media element ready state changes that are unchanged. * Reset media element ready state to Current when playback finishes. * Set media element ready state to Enough when appropriate player event is received. * Update test expectations.
* Sync WPT with upstream (30-06-2024) (#32649)Servo WPT Sync2024-06-301-0/+3
| | | | | | | | | | | | | | * 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>
* build(deps): bump xml5ever from 0.18.0 to 0.18.1 (#32446)dependabot[bot]2024-06-0627-55/+0
| | | | | | | | | | | | | | Bumps [xml5ever](https://github.com/servo/html5ever) from 0.18.0 to 0.18.1. - [Commits](https://github.com/servo/html5ever/compare/xml5ever-v0.18.0...xml5ever-x0.18.1) --- updated-dependencies: - dependency-name: xml5ever dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Implement form-associated custom elements and their ElementInternals (#31980)cathiechen2024-04-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * FACEs work, setFormValue test is awful so now has _mozilla backup * 1. Impl Validatable in ElementInternals instead of HTMLElement. 2. Reuse the code in Validatable trait. 3. The form associated custom element is not a customized built-in element. * add some comments * support readonly attribute and complete barred from constraint validation * Addressed the code review comments * Updated the legacy-layout results * Fixed the WPT failures in ElementInternals-validation.html * Addressed the code review comments * Review suggestions * Fixed silly mistakes and update the test result outside elementinternals * update the test results --------- Co-authored-by: Patrick Shaughnessy <pshaughn@comcast.net> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-04-071-0/+36
| | | | b'b73a0a32890ff293961eb55bb90ba57a5a711f48' (#32010)
* Update web-platform-tests to revision ↵Servo WPT Sync2024-02-186-0/+12
| | | | b'504dbb9401e985461bdc3fb534cb26fd5bb9d9ad' (#31372)
* Sync WPT with upstream (28-01-2024) (#31204)Servo WPT Sync2024-01-281-0/+12
| | | | | | | | | * Update web-platform-tests to revision b'bdd3b533e8c995e416630422ad64f4c70086b42f' * Update expectations --------- Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2024-01-213-0/+7
| | | | b'a10b8c0164b4c4521040898ee9394738aca488b0' (#31144)
* Sync WPT with upstream (01-01-2024) (#30962)Servo WPT Sync2024-01-014-0/+14
| | | | | | | | | * Update web-platform-tests to revision b'2a639a9fe4cdefd4ecd124a3f30caf631150eea5' * Update expectations --------- Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Sync WPT with upstream (25-12-2023) (#30938)Servo WPT Sync2023-12-262-0/+5
| | | | | | | | | * Update web-platform-tests to revision b'73caf716542762aab6646f0a02de208bc0ec4124' * Update expectations --------- Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Update web-platform-tests to revision ↵Servo WPT Sync2023-12-177-45/+96
| | | | b'a85f0dfe538b9cb894388a65dba7a2a21db050c7' (#30879)
* Update web-platform-tests to revision ↵Servo WPT Sync2023-11-192-0/+30
| | | | b'7aaad11d87d7a02515081e55609d31ab6ff173fc' (#30753)
* Sync WPT with upstream (12-11-2023) (#30724)Servo WPT Sync2023-11-151-0/+18
| | | | | | | | | | | | * 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-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Sync WPT with upstream (08-10-2023) (#30516)Servo WPT Sync2023-10-082-0/+102
| | | | | | | | | | | | * 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-0611-0/+82
| | | | | | | | | | | | | | | * 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>
* Sync WPT with upstream (20-08-2023) (#30143)Servo WPT Sync2023-08-221-0/+3
| | | | | | | | | | | | | * Update web-platform-tests to revision b'50e91f3cfd1140cafc188516488f2dca289239af' * Delete flaky result for css2/linebox/vertical-align-baseline-002 * Delete flaky result for html/rendering/bindings/the-textarea-element-0/cols-default.html.ini * Delete flaky result for CSS2/lists/list-style-applies-to-001.xht.ini --------- Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Run same tests for layout-2020 and layout-2013 (#30092)Oriol Brufau2023-08-15136-112/+4362
| | | | | | | | | | Most tests were only being run for layout-2013, not for layout-2020. This wasn't great since layout-2020 is now the default. So this patch unifies the lists of included tests for both layouts. For layout-2013 this implies adding css/css-content/, css/css-logical/ and css/css-masking/clip/. For layout-2020 this implies adding several additional css tests, and also tests like dom/, js/, html/, etc.
* Update web-platform-tests to revision ↵WPT Sync Bot2023-06-2515-109/+0
| | | | b'7b682ab07397d72fceb6594d0f27cb36cf1d8ee3'
* Rename metadata directoriesMartin Robinson2023-06-22155-0/+969
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`