Skip to content

Commit

Permalink
fix(w3c/style): use W3C-WD for WD and FPWD (#3862)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Nov 7, 2021
1 parent 02ba809 commit caccbcb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/w3c/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ export function run(conf) {

// Figure out which style file to use.
switch (conf.specStatus.toUpperCase()) {
case "WD":
case "FPWD":
styleFile = "W3C-WD";
break;
case "CG-DRAFT":
case "CG-FINAL":
case "BG-DRAFT":
Expand Down
2 changes: 1 addition & 1 deletion tests/spec/w3c/style-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { flushIframes, makeRSDoc, makeStandardOps } from "../SpecHelper.js";
const specStatus = [
{
status: "FPWD",
expectedURL: "https://www.w3.org/StyleSheets/TR/2021/base.css",
expectedURL: "https://www.w3.org/StyleSheets/TR/2021/W3C-WD",
},
{
status: "NOTE",
Expand Down

0 comments on commit caccbcb

Please sign in to comment.