|
| 1 | +# Security and Privacy Questionnaire for `@supports at-rule` |
| 2 | + |
| 3 | +- _What information does this feature expose, and for what purposes?_ |
| 4 | + |
| 5 | + The feature exposes the browser's set of supported CSS "at-rules". This is important as it can allow authors to implement graceful degradation of their pages. The `@supports` rule already allows authors to feature-detect CSS properties, and the `at-rule()` feature aims to allow feature detection for at-rules. |
| 6 | + |
| 7 | + No identifying information is exposed. |
| 8 | + |
| 9 | +- _Do features in your specification expose the minimum amount of information necessary to implement the intended functionality?_ |
| 10 | + |
| 11 | + Yes, only the minimum amount of information is exposed. |
| 12 | + |
| 13 | +- _Do the features in your specification expose personal information, personally-identifiable information (PII), or information derived from either?_ |
| 14 | + |
| 15 | + No PII or derived information is exposed. |
| 16 | + |
| 17 | +- _How do the features in your specification deal with sensitive information?_ |
| 18 | + |
| 19 | + The feature does not deal with any sensitive information. |
| 20 | + |
| 21 | +- _Does data exposed by your specification carry related but distinct information that may not be obvious to users?_ |
| 22 | + |
| 23 | + No. |
| 24 | + |
| 25 | +- _Do the features in your specification introduce state that persists across browsing sessions?_ |
| 26 | + |
| 27 | + No. |
| 28 | + |
| 29 | +- _Do the features in your specification expose information about the underlying platform to origins_ |
| 30 | + |
| 31 | + Yes. The feature allows a developer to tailor site UX depending on at-rule feature support. This is useful mostly for newer features that are launching, but once an at-rule is available as a standard and implemented in the web platform it is something that is unlikely to change. |
| 32 | + |
| 33 | +- _Does this specification allow an origin to send data to the underlying platform?_ |
| 34 | + |
| 35 | + No. |
| 36 | + |
| 37 | +- _Do features in this specification enable access to device sensors?_ |
| 38 | + |
| 39 | + No. |
| 40 | + |
| 41 | +- _Do features in this specification enable new script execution/loading mechanisms?_ |
| 42 | + |
| 43 | + No. |
| 44 | + |
| 45 | +- _Do features in this specification allow an origin to access other devices?_ |
| 46 | + |
| 47 | + No. |
| 48 | + |
| 49 | +- _Do features in this specification allow an origin some measure of control over a user agent’s native UI?_ |
| 50 | + |
| 51 | + No. |
| 52 | + |
| 53 | +- _What temporary identifiers do the features in this specification create or expose to the web?_ |
| 54 | + |
| 55 | + None. |
| 56 | + |
| 57 | +- _How does this specification distinguish between behavior in first-party and third-party contexts?_ |
| 58 | + |
| 59 | + The functionality isn't affected between first and third party contexts. |
| 60 | + |
| 61 | +- _How do the features in this specification work in the context of a browser’s Private Browsing or Incognito mode?_ |
| 62 | + |
| 63 | + They work the same. |
| 64 | + |
| 65 | +- _Does this specification have both "Security Considerations" and "Privacy Considerations" sections?_ |
| 66 | + |
| 67 | + Yes. |
| 68 | + |
| 69 | +- _Do features in your specification enable origins to downgrade default security protections?_ |
| 70 | + |
| 71 | + No. |
| 72 | + |
| 73 | +- _What happens when a document that uses your feature is kept alive in BFCache (instead of getting destroyed) after navigation, and potentially gets reused on future navigations back to the document?_ |
| 74 | + |
| 75 | + Browser support for a given at-rule does not change across navigations. Depending on the implementation, the browser might re-evaluate `@supports at-rule(...)` conditions, or it might use a previously cached evaluation result. |
| 76 | + |
| 77 | +- _What happens when a document that uses your feature gets disconnected?_ |
| 78 | + |
| 79 | + N/A. |
| 80 | + |
| 81 | +- _Does your spec define when and how new kinds of errors should be raised?_ |
| 82 | + |
| 83 | + N/A. |
| 84 | + |
| 85 | +- _Does your feature allow sites to learn about the user’s use of assistive technology?_ |
| 86 | + |
| 87 | + No, CSS does not currently have any dedicated at-rule specifically designed for assistive technology. |
| 88 | + |
| 89 | +- _What should this questionnaire have asked?_ |
| 90 | + |
| 91 | + N/A. |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
0 commit comments