-
Notifications
You must be signed in to change notification settings - Fork 271
Add caniuse links or comments where the (normalized) IDs match #3300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,4 +2,5 @@ | |
| name: "background-clip: text" | ||
| description: "The `background-clip: text` CSS declaration draws the background underneath only the text in the element." | ||
| spec: https://drafts.csswg.org/css-backgrounds-4/#background-clip | ||
| caniuse: background-clip-text | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Our support data is quite different from caniuse's. We have Chrome and Edge 120, which is OK. Caniuse shows earlier versions, but with vendor prefixes. However, we show Firefox as unsupported, but caniuse shows support starting from Firefox 49. As for Safari, we have 14, and they have 15.5, with a partial support note. Even more confusing, caniuse shows:
Even if our own feature is Limited Availability.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's unclear to me why caniuse shows a Baseline banner on https://caniuse.com/background-clip-text. Nothing should map to it. I'm going to put this on my agenda for the next time I talk to Alexis. |
||
| group: background | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| name: '<link rel="preconnect">' | ||
| description: The `rel="preconnect"` attribute for the `<link>` HTML element is a hint to the browser that the page or user is likely to request resources from another origin, so the browser should preemptively start a connection to the `href` value's origin. | ||
| spec: https://html.spec.whatwg.org/multipage/links.html#link-type-preconnect | ||
| caniuse: link-rel-preconnect | ||
| group: resource-hints | ||
| compat_features: | ||
| - html.elements.link.rel.preconnect |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| name: Multi-column layout | ||
| description: Multi-column layout flows an element's content across one or more columns in a single row, without affecting the `display` property of its children. | ||
| spec: https://drafts.csswg.org/css-multicol-1/ | ||
| caniuse: multicolumn | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Caniuse is full of partial support notes for this feature. Our feature is Widely Available. |
||
| group: multi-column | ||
| status: | ||
| compute_from: css.properties.columns | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| name: Payment request | ||
| description: The `PaymentRequest` API prompts the user to make a payment through the browser's user interface. | ||
| spec: https://w3c.github.io/payment-request/ | ||
| caniuse: payment-request | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We're almost in agreement with caniuse on this one except that caniuse has this partial note for Chrome, Edge, and Safari: "Missing support for PaymentResponse.prototype.retry() method", which we don't seem to care about. Support versions are old enough that we might want to just ignore this. |
||
| group: payments | ||
| status: | ||
| compute_from: api.PaymentRequest | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,7 @@ | ||
| name: pdfViewerEnabled | ||
| description: The `navigator.pdfViewerEnabled` property is a boolean for whether the browser navigates to and shows a PDF in the browser window or downloads the PDF. | ||
| spec: https://html.spec.whatwg.org/multipage/system-state.html#pdf-viewing-support | ||
| # Note: https://caniuse.com/pdf-viewer is not linked because it covers the | ||
| # built-in PDF viewer, which is much older than navigator.pdfViewerEnabled. | ||
| compat_features: | ||
| - api.Navigator.pdfViewerEnabled |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| name: Template literals | ||
| description: Template literals are literals delimited with backtick (<code>`</code>) characters, allowing for multi-line strings, string interpolation with embedded expressions, and special constructs called tagged templates. | ||
| spec: https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-template-literals | ||
| caniuse: template-literals | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We agree with caniuse on the fact that this is widely available, but caniuse has older versions than we do. |
||
| group: javascript | ||
| compat_features: | ||
| - javascript.grammar.template_literals | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| name: Vibration | ||
| description: The `navigator.vibrate()` method makes a tactile alert, if the device is equipped with a haptic motor. | ||
| spec: https://w3c.github.io/vibration/ | ||
| caniuse: vibration | ||
| compat_features: | ||
| - api.Navigator.vibrate |

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Caniuse says Chrome 67 and Edge 79.
We say Chrome 91 and Edge 91.
Is this a large enough discrepancy that we should worry about? If not, this seems good.