mirror of
https://github.com/servo/servo.git
synced 2025-10-02 17:49:16 +01:00
Move XPath implementation into its own crate (#39546)
XPath (and, in the future, XSLT) is only loosely coupled to `script`. As `script` is already very large, I'd like to move the xpath parser and evaluator into a seperate crate. Doing so allows us to iterate on it more easily, without having to recompile `script`. Abstracting over the concrete DOM implementation could also allow us to write some more comprehensive unit tests. Testing: Covered by existing web platform tests Part of https://github.com/servo/servo/issues/34527 Fixes https://github.com/servo/servo/issues/39551 --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
d0dd9d7e3a
commit
e5017b1b50
16 changed files with 756 additions and 431 deletions
|
@ -144,6 +144,7 @@ webxr-api = { workspace = true, features = ["ipc"], optional = true }
|
|||
wgpu-core = { workspace = true }
|
||||
wgpu-types = { workspace = true }
|
||||
xml5ever = { workspace = true }
|
||||
xpath = { workspace = true }
|
||||
|
||||
[target.'cfg(not(target_os = "ios"))'.dependencies]
|
||||
mozangle = { workspace = true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue