Skip to content
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

standard way to mark fingerprinting surface vectors #162

Open
marcoscaceres opened this issue Aug 8, 2018 · 3 comments
Open

standard way to mark fingerprinting surface vectors #162

marcoscaceres opened this issue Aug 8, 2018 · 3 comments

Comments

@marcoscaceres
Copy link
Member

marcoscaceres commented Aug 8, 2018

@npdoty wrote elsewhere - ignore "ReSpec" and just think "web spec":

Potential feature/enhancement for ReSpec: it would be nice if authors could easily note that a particular section/feature was a potential addition to the fingerprinting surface (or sometimes, a "fingerprinting vector") and then ReSpec would add the nice icon next to it, and alt text regarding browser fingerprinting. This is a convention in HTML, and it would be useful to have it for other specs as well.

Bikeshed issue: speced/bikeshed#964

If we can all use a common SVG file for the icon, that'd be great too. I think @zcorpan has provided one here, which might be freely usable (yes?): whatwg/whatwg.org#64

It's been suggested in updating the guidance for mitigating fingerprinting that we add an explanation for spec authors on an easy way to add the fingerprinting icon to their specs: w3c/fingerprinting-guidance#18
I can provide raw HTML as a suggestion, but if there are even easier Bikeshed/ReSpec ways to do this, all the better.

cc @zcorpan

@marcoscaceres
Copy link
Member Author

@zcorpan wrote in the bug mentioned above:

The fingerprint image in whatwg/whatwg.org#64 when merged will be CC0 per https://resources.whatwg.org/README.md

When the fingerprint PRs are merged, I think the default will be to link to the definition in the Infra standard.

@nigelmegitt
Copy link

I found that for dark mode, a simple inversion rule works well for the fingerprinting icon shown at https://www.w3.org/TR/fingerprinting-guidance/#mark-fingerprinting, e.g.:

@media (prefers-color-scheme: dark) {
  img.fingerprint {
    filter: invert(100%);
  }
}

@zcorpan
Copy link
Member

zcorpan commented May 21, 2024

@nigelmegitt I think that should be fixed in the SVG itself by using currentColor and color-scheme: light dark. I can submit a PR for the image in resources.whatwg.org.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants