Skip to content

Commit

Permalink
Merge pull request #606 from w3c/update_cgbg_styles
Browse files Browse the repository at this point in the history
Code to switch CG and BG reports to new styles
  • Loading branch information
halindrome committed Mar 4, 2016
2 parents d743d83 + a747cac commit 0d5c1e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion js/w3c/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ define(
case "CG-FINAL":
case "BG-DRAFT":
case "BG-FINAL":
styleBaseURL = "https://www.w3.org/community/src/css/spec/";
styleFile = conf.specStatus.toLowerCase();
break;
case "FPWD":
Expand Down
8 changes: 4 additions & 4 deletions tests/spec/w3c/style-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ var specStatus = [{
expectedURL: "https://www.w3.org/StyleSheets/TR/{version}W3C-FAKE-TEST-TYPE",
}, {
status: "CG-FINAL",
expectedURL: "https://www.w3.org/community/src/css/spec/cg-final",
expectedURL: "https://www.w3.org/StyleSheets/TR/{version}cg-final",
}, {
status: "CG-DRAFT",
expectedURL: "https://www.w3.org/community/src/css/spec/cg-draft",
expectedURL: "https://www.w3.org/StyleSheets/TR/{version}cg-draft",
}, {
status: "BG-FINAL",
expectedURL: "https://www.w3.org/community/src/css/spec/bg-final",
expectedURL: "https://www.w3.org/StyleSheets/TR/{version}bg-final",
}, {
status: "BG-DRAFT",
expectedURL: "https://www.w3.org/community/src/css/spec/bg-draft",
expectedURL: "https://www.w3.org/StyleSheets/TR/{version}bg-draft",
},];

function loadWithStatus(status, expectedURL, mode) {
Expand Down

0 comments on commit 0d5c1e5

Please sign in to comment.