summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/domxpath
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /testing/web-platform/tests/domxpath
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/domxpath')
-rw-r--r--testing/web-platform/tests/domxpath/fn-lang.html11
1 files changed, 2 insertions, 9 deletions
diff --git a/testing/web-platform/tests/domxpath/fn-lang.html b/testing/web-platform/tests/domxpath/fn-lang.html
index c7c102945d..1fbd0a2ee4 100644
--- a/testing/web-platform/tests/domxpath/fn-lang.html
+++ b/testing/web-platform/tests/domxpath/fn-lang.html
@@ -1,6 +1,5 @@
<!DOCTYPE html>
<link rel="help" href="https://www.w3.org/TR/1999/REC-xpath-19991116/#function-lang">
-<link rel="help" href="https://www.w3.org/TR/xpath-functions-31/#func-lang">
<body>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
@@ -35,13 +34,7 @@ testFirstChild('lang("ja")', '<root xml:lang="ja"><match/></root>');
// equal to the argument ignoring that suffix of the attribute value
testFirstChild('lang("ja")', '<root xml:lang="ja-jp"><unmatch xml:lang="ja_JP"/></root>');
-// U+212A should match to ASCII 'k'.
-// XPath 1.0 says:
-// ... such that the attribute value is equal to the argument ignoring that suffix
-// of the attribute value and ignoring case.
-// XPath 3.1 says:
-// ... true if and only if, based on a caseless default match as specified in
-// section 3.13 of The Unicode Standard,
-testFirstChild('lang("ko")', '<root><match xml:lang="&#x212A;o"/></root>');
+// XPath 3.1 is not to be followed as per: https://github.com/whatwg/dom/issues/1199
+testFirstChild('lang("ko")', '<root><unmatch xml:lang="&#x212A;o"/></root>');
</script>
</body>