Skip to content

Commit 828cd6e

Browse files
authored
Add COLRv1 color font format (web-platform-dx#603)
1 parent 26e7689 commit 828cd6e

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

feature-group-definitions/colrv1.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name: COLRv1
2+
spec: https://learn.microsoft.com/en-us/typography/opentype/otspec191alpha/colr
3+
caniuse: colr-v1
4+
compat_features:
5+
- css.at-rules.font-face.OpenType_COLRv1

scripts/specs.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ const defaultAllowlist: allowlistItem[] = [
1717
// "https://example.com/spec/",
1818
// "Allowed because…. Remove this exception when https://example.com/org/repo/pull/1234 merges."
1919
// ]
20+
[
21+
"https://learn.microsoft.com/en-us/typography/opentype/otspec191alpha/colr",
22+
"Allowed because COLRv1 is shipping in Chrome and Firefox. Remove this exception when https://github.com/w3c/browser-specs/pull/1211 is released."
23+
]
2024
];
2125

2226
function isOK(url: URL, allowlist: allowlistItem[] = defaultAllowlist) {

0 commit comments

Comments
 (0)