From 80869cc49c77220b427b0580da1b931138c2c29f Mon Sep 17 00:00:00 2001 From: KeyedOut Date: Sat, 11 Jul 2026 11:19:37 -0400 Subject: [PATCH] Fix XPath query for parsing definitions In the W3C Candidate Recommendation Draft, 19 November 2025 the class for the definitions was changed from 'idl highlight def' to 'def highlight idl'. --- fetch_default_values.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch_default_values.py b/fetch_default_values.py index 4ca16d7..cd3753e 100644 --- a/fetch_default_values.py +++ b/fetch_default_values.py @@ -75,7 +75,7 @@ def configureLogging(args): def parseAllDefinitions(spec): root = html.fromstring(spec) - defs = root.xpath("//pre[@class='idl highlight def']") + defs = root.xpath("//pre[@class='def highlight idl']") api = WebGpuApi()