mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
Clarify a snippet on overriding stylesheets
We shouldn't require users to override stylesheets, but we should expect it.
This commit is contained in:
parent
8f47970379
commit
2d43a0ddc4
2 changed files with 12 additions and 4 deletions
|
@ -38,7 +38,9 @@ The "users don't know better and need us to make decisions for them" mindset isn
|
|||
|
||||
### Can't users globally override stylesheets instead?
|
||||
|
||||
It's not a good idea to expect users to automatically override website stylesheets. Doing so would break websites that use fonts such as Font Awesome to display vector icons. We shouldn't expect these users to constantly battle with websites the same way that many adblocking/script-blocking users (myself included) already do.
|
||||
It's not a good idea to require users to automatically override website stylesheets. Doing so would break websites that use fonts such as Font Awesome to display vector icons. We shouldn't have these users constantly battle with websites the same way that many adblocking/script-blocking users (myself included) already do when there's a better option.
|
||||
|
||||
That being said, many users *do* actually override stylesheets. We shouldn't *require* them to do so, but we should keep our pages from breaking in case they do. Pages following this article's advice will probably work perfectly well in these cases without any extra effort.
|
||||
|
||||
### But wouldn't that allow a website to fingerprint with fonts?
|
||||
|
||||
|
|
|
@ -76,10 +76,16 @@ asserting a personal preference.
|
|||
|
||||
### Can't users globally override stylesheets instead?
|
||||
|
||||
It's not a good idea to expect users to automatically override website stylesheets.
|
||||
It's not a good idea to require users to automatically override website stylesheets.
|
||||
Doing so would break websites that use fonts such as Font Awesome to display vector
|
||||
icons. We shouldn't expect these users to constantly battle with websites the same
|
||||
way that many adblocking/script-blocking users (myself included) already do.
|
||||
icons. We shouldn't have these users constantly battle with websites the same way
|
||||
that many adblocking/script-blocking users (myself included) already do when there's
|
||||
a better option.
|
||||
|
||||
That being said, many users *do* actually override stylesheets. We shouldn't
|
||||
*require* them to do so, but we should keep our pages from breaking in case they do.
|
||||
Pages following this article's advice will probably work perfectly well in these
|
||||
cases without any extra effort.
|
||||
|
||||
### But wouldn't that allow a website to fingerprint with fonts?
|
||||
|
||||
|
|
Loading…
Reference in a new issue