Skip to content

Commit

Permalink
Bump web-specs from 3.25.0 to 3.26.0 (#1705)
Browse files Browse the repository at this point in the history
* Bump web-specs from 3.25.0 to 3.26.0

Bumps [web-specs](https://github.com/w3c/browser-specs) from 3.25.0 to 3.26.0.
- [Release notes](https://github.com/w3c/browser-specs/releases)
- [Commits](https://github.com/w3c/browser-specs/compare/[email protected]@3.26.0)

---
updated-dependencies:
- dependency-name: web-specs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Adjust hardcoded shortname for CSS 2.1 in dfns extraction

Follows from w3c/browser-specs#1560

* Adjust shortname in CSS 2.1 tests as well

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Francois Daoust <[email protected]>
  • Loading branch information
dependabot[bot] and tidoust authored Nov 13, 2024
1 parent 29bfc8d commit 4cd4af2
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"fetch-filecache-for-crawling": "5.1.1",
"puppeteer": "23.8.0",
"semver": "^7.3.5",
"web-specs": "3.25.0",
"web-specs": "3.26.0",
"webidl2": "24.4.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/browserlib/extract-dfns.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export default function (spec, idToHeading = {}) {

const shortname = (typeof spec === 'string') ? spec : spec.shortname;
switch (shortname) {
case "CSS2":
case "CSS21":
preProcessCSS21();
break;
case "html":
Expand Down
16 changes: 8 additions & 8 deletions tests/extract-dfns.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ When initialize(<var>newItem</var>) is called, the following steps are run:</p>`
linkingText: ["selector"],
access: "public"
}],
spec: "CSS2"
spec: "CSS21"
},

{
Expand All @@ -509,7 +509,7 @@ When initialize(<var>newItem</var>) is called, the following steps are run:</p>`
linkingText: ["selector"],
access: "public"
}],
spec: "CSS2"
spec: "CSS21"
},

{
Expand All @@ -523,7 +523,7 @@ When initialize(<var>newItem</var>) is called, the following steps are run:</p>`
linkingText: ["sel"],
access: "public"
}],
spec: "CSS2"
spec: "CSS21"
},

{
Expand All @@ -541,7 +541,7 @@ When initialize(<var>newItem</var>) is called, the following steps are run:</p>`
type: "property",
definedIn: "dt"
}],
spec: "CSS2"
spec: "CSS21"
},

{
Expand All @@ -555,7 +555,7 @@ When initialize(<var>newItem</var>) is called, the following steps are run:</p>`
access: "public",
type: "value"
}],
spec: "CSS2"
spec: "CSS21"
},

{
Expand All @@ -571,7 +571,7 @@ When initialize(<var>newItem</var>) is called, the following steps are run:</p>`
access: "public",
type: "type"
}],
spec: "CSS2"
spec: "CSS21"
},

{
Expand All @@ -589,7 +589,7 @@ When initialize(<var>newItem</var>) is called, the following steps are run:</p>`
type: "property",
definedIn: "dt"
}],
spec: "CSS2"
spec: "CSS21"
},

{
Expand All @@ -607,7 +607,7 @@ When initialize(<var>newItem</var>) is called, the following steps are run:</p>`
type: "type",
definedIn: "dt"
}],
spec: "CSS2"
spec: "CSS21"
},

{
Expand Down

0 comments on commit 4cd4af2

Please sign in to comment.