XPath: implement lang() and id() core functions#34594
Conversation
|
Are there no web platform tests for the |
You are correct! I should probably add at least one smoke test. If I understood correctly, |
Yes, but tests for
You don't need to make a separate PR for web platform tests (though you can, of course), an upstream PR will be opened automatically if you add the tests here. The book has some info on adding new tests: https://book.servo.org/hacking/testing.html#writing-new-web-tests. |
Signed-off-by: Ville Lindholm <[email protected]>
Signed-off-by: Ville Lindholm <[email protected]>
Signed-off-by: Ville Lindholm <[email protected]>
|
Are you still working on this? |
@simonwuelker yes, I've dropped off from OSS work for a few months due to personal reasons, but still very much am planning to continue this. Should be back in action in a week or two by the looks of it! |
Signed-off-by: Ville Lindholm <[email protected]>
Signed-off-by: Ville Lindholm <[email protected]>
Signed-off-by: Ville Lindholm <[email protected]>
* main: (510 commits) DevTools: Fix empty `debugger > source` panel (servo#37197) dom: implement signal abort on controller and signal (servo#37192) build(deps): bump parking_lot from 0.12.3 to 0.12.4 (servo#37199) layout: Split overflow calculation after fragment tree construction (servo#37203) build(deps): bump parking_lot_core from 0.9.10 to 0.9.11 (servo#37202) build(deps): bump lock_api from 0.4.12 to 0.4.13 (servo#37201) build(deps): bump cc from 1.2.24 to 1.2.25 (servo#37198) Constellation can now optionally report memory usage when the page is loaded. (servo#37151) Implement Input `type=text` UA Shadow DOM (servo#37065) constellation: Wait for canvas thread to shut down before shutting down system font service (servo#37182) Add slot default display style test (servo#37189) Send synthetic keydown/keyup at ime_insert_text (servo#37175) script: Let canvas serialization to image fail gracefully (servo#37184) Implement basics of link preloading (servo#37036) compositor: Add an initial RefreshDriver (servo#37169) pixels: Add limitation to max image total bytes length (servo#37172) Chore: Remove unused variable in `transition-zero-duration-with-delay.html` (servo#37179) build(deps): bump ohos-ime from 0.2.0 to 0.3.0 (servo#37180) Add a user agent style for the `<slot>` element (servo#37174) build(deps): bump hitrace from 0.1.4 to 0.1.5 (servo#37170) ...
|
🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#52891) with upstreamable changes. |
Signed-off-by: Ville Lindholm <[email protected]>
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#52891). |
Signed-off-by: Ville Lindholm <[email protected]>
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#52891). |
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#52891) title and body. |
Signed-off-by: Ville Lindholm <[email protected]>
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#52891). |
|
@mrobinson @simonwuelker sorry for the longer-than-anticipated break, the PR is now up-to-date with tests for |
simonwuelker
left a comment
There was a problem hiding this comment.
Thanks, LGTM with two nits (:
Signed-off-by: Ville Lindholm <[email protected]>
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#52891). |
|
Just one more |
Signed-off-by: Ville Lindholm <[email protected]>
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#52891). |
|
this needs a re-review from @mrobinson to be able to merge |
|
Given mrobinson's previous review comments, I'm going to mark it as addressed. |
XPath's
lang()andid()functions were still unimplemented.Also:
id().NodesetHelpers::document_order_unique../mach build -ddoes not report any errors./mach test-tidydoes not report any errors