Skip to content

Commit c5dff3b

Browse files
Temporary fix for w3c.github.io redirect breakage
See mdn/content#26613. The change made in 52077ef broke all links to CSS specs in all MDN CSS articles. This is an attempt to get all those links unbroken temporarily until we can find a better fix.
1 parent 01efbf2 commit c5dff3b

File tree

83 files changed

+83
-83
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+83
-83
lines changed

css-align/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!doctype html><html lang=en><title>Moved…</title><meta charset="utf-8">
22
<body onload='(function() {
3-
const path = location.pathname ? location.pathname : "";
3+
const path = location.pathname ? location.pathname.slice(13) : "";
44
const hash = location.hash ? location.hash : "";
55
location.href = `https://drafts.csswg.org${path}${hash}`;
66
})()'>

css-anchor-position/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!doctype html><html lang=en><title>Moved…</title><meta charset="utf-8">
22
<body onload='(function() {
3-
const path = location.pathname ? location.pathname : "";
3+
const path = location.pathname ? location.pathname.slice(13) : "";
44
const hash = location.hash ? location.hash : "";
55
location.href = `https://drafts.csswg.org${path}${hash}`;
66
})()'>

css-animations/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!doctype html><html lang=en><title>Moved…</title><meta charset="utf-8">
22
<body onload='(function() {
3-
const path = location.pathname ? location.pathname : "";
3+
const path = location.pathname ? location.pathname.slice(13) : "";
44
const hash = location.hash ? location.hash : "";
55
location.href = `https://drafts.csswg.org${path}${hash}`;
66
})()'>

css-backgrounds/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!doctype html><html lang=en><title>Moved…</title><meta charset="utf-8">
22
<body onload='(function() {
3-
const path = location.pathname ? location.pathname : "";
3+
const path = location.pathname ? location.pathname.slice(13) : "";
44
const hash = location.hash ? location.hash : "";
55
location.href = `https://drafts.csswg.org${path}${hash}`;
66
})()'>

css-block/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!doctype html><html lang=en><title>Moved…</title><meta charset="utf-8">
22
<body onload='(function() {
3-
const path = location.pathname ? location.pathname : "";
3+
const path = location.pathname ? location.pathname.slice(13) : "";
44
const hash = location.hash ? location.hash : "";
55
location.href = `https://drafts.csswg.org${path}${hash}`;
66
})()'>

css-box/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!doctype html><html lang=en><title>Moved…</title><meta charset="utf-8">
22
<body onload='(function() {
3-
const path = location.pathname ? location.pathname : "";
3+
const path = location.pathname ? location.pathname.slice(13) : "";
44
const hash = location.hash ? location.hash : "";
55
location.href = `https://drafts.csswg.org${path}${hash}`;
66
})()'>

css-break/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!doctype html><html lang=en><title>Moved…</title><meta charset="utf-8">
22
<body onload='(function() {
3-
const path = location.pathname ? location.pathname : "";
3+
const path = location.pathname ? location.pathname.slice(13) : "";
44
const hash = location.hash ? location.hash : "";
55
location.href = `https://drafts.csswg.org${path}${hash}`;
66
})()'>

css-cascade/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!doctype html><html lang=en><title>Moved…</title><meta charset="utf-8">
22
<body onload='(function() {
3-
const path = location.pathname ? location.pathname : "";
3+
const path = location.pathname ? location.pathname.slice(13) : "";
44
const hash = location.hash ? location.hash : "";
55
location.href = `https://drafts.csswg.org${path}${hash}`;
66
})()'>

css-color-adjust/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!doctype html><html lang=en><title>Moved…</title><meta charset="utf-8">
22
<body onload='(function() {
3-
const path = location.pathname ? location.pathname : "";
3+
const path = location.pathname ? location.pathname.slice(13) : "";
44
const hash = location.hash ? location.hash : "";
55
location.href = `https://drafts.csswg.org${path}${hash}`;
66
})()'>

css-color/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!doctype html><html lang=en><title>Moved…</title><meta charset="utf-8">
22
<body onload='(function() {
3-
const path = location.pathname ? location.pathname : "";
3+
const path = location.pathname ? location.pathname.slice(13) : "";
44
const hash = location.hash ? location.hash : "";
55
location.href = `https://drafts.csswg.org${path}${hash}`;
66
})()'>

0 commit comments

Comments
 (0)