mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Add XPath parser/evaluator (#34463)
* Add XPath parser/evaluator Signed-off-by: Ville Lindholm <ville@lindholm.dev> * Correctly annotate XPathEvaluator IDL Signed-off-by: Ville Lindholm <ville@lindholm.dev> * [PR review]: have bindings pass in `can_gc` Signed-off-by: Ville Lindholm <ville@lindholm.dev> * [PR review]: add docstrings Signed-off-by: Ville Lindholm <ville@lindholm.dev> * [PR review]: implement PartialEq for Value for readability Signed-off-by: Ville Lindholm <ville@lindholm.dev> * [PR review]: add docstrings for CoreFunctions Signed-off-by: Ville Lindholm <ville@lindholm.dev> * [PR review]: simplify node test code Signed-off-by: Ville Lindholm <ville@lindholm.dev> * [PR review]: add unit tests for string handling xpath functions Signed-off-by: Ville Lindholm <ville@lindholm.dev> * put xpath features behind dom.xpath.enabled pref Signed-off-by: Ville Lindholm <ville@lindholm.dev> * [PR review] remove rstest and insta dev-deps Signed-off-by: Ville Lindholm <ville@lindholm.dev> * update wpt test expectations Signed-off-by: Ville Lindholm <ville@lindholm.dev> * [PR review]: tweak metadata files Signed-off-by: Ville Lindholm <ville@lindholm.dev> * update wpt test expectations AGAIN Signed-off-by: Ville Lindholm <ville@lindholm.dev> --------- Signed-off-by: Ville Lindholm <ville@lindholm.dev>
This commit is contained in:
parent
264c0f972f
commit
bc7fe41a02
36 changed files with 6426 additions and 314 deletions
39
tests/wpt/meta/domxpath/text-html-attributes.html.ini
vendored
Normal file
39
tests/wpt/meta/domxpath/text-html-attributes.html.ini
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
[text-html-attributes.html]
|
||||
[Select html element based on attribute]
|
||||
expected: FAIL
|
||||
|
||||
[Select html element based on attribute mixed case]
|
||||
expected: FAIL
|
||||
|
||||
[Select both HTML and SVG elements based on attribute]
|
||||
expected: FAIL
|
||||
|
||||
[Select HTML element with non-ascii attribute 1]
|
||||
expected: FAIL
|
||||
|
||||
[Select HTML element with non-ascii attribute 2]
|
||||
expected: FAIL
|
||||
|
||||
[Select HTML element with non-ascii attribute 3]
|
||||
expected: FAIL
|
||||
|
||||
[Select SVG element based on mixed case attribute]
|
||||
expected: FAIL
|
||||
|
||||
[Select both HTML and SVG elements based on mixed case attribute]
|
||||
expected: FAIL
|
||||
|
||||
[Select SVG elements with refX attribute]
|
||||
expected: FAIL
|
||||
|
||||
[Select SVG element with non-ascii attribute 1]
|
||||
expected: FAIL
|
||||
|
||||
[Select SVG element with non-ascii attribute 2]
|
||||
expected: FAIL
|
||||
|
||||
[xmlns attribute]
|
||||
expected: FAIL
|
||||
|
||||
[svg element with XLink attribute]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue