The CSS at w3.org is gone
w3.org
w3.org
So, what's happening is that they're serving gzip files from their server (which is hinted by the "content-location: minimum.css.gz" response header), which are being compressed again using brotli somewhere else (e.g. at a reverse proxy).
So, it seems more like it's indicating Brotli compression, but the actual file (https://www.w3.org/2008/site/js/main) is gz encoded.
<link rel="stylesheet" href="/2008/site/css/minimum" type="text/css" media="all" />
<style type="text/css" media="print, screen and (min-width: 481px)">
/*<![CDATA[*/
@import url("/2008/site/css/advanced");
/*]]>*/
</style>
<link href="/2008/site/css/minimum" rel="stylesheet" type="text/css" media="only screen and (max-width: 480px)" />
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" href="/2008/site/css/print" type="text/css" media="print" />
/2008/site/css/minimum headers: Content-Type: text/css;charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
content-location: minimum.css.gz
vary: negotiate,Accept-Encoding
Downloading this file, I can see it's valid "gzip compressed data".Seems to be missing the Content-Encoding header?!
I'd hardly call it a trend because It's been a thing for as long as I've used the web; but some 'classic' style programmers seem to opt out of CSS for their personal sites. One such example is Dan Luu [0], who wrote in a post [1] that styling decreased his viewership.
Additionally, it can emphasize good structure that was concealed with CSS
Though direct usage of those is probably a sliver of a fraction of all online usage, this also means that automated tools can work with a website. Scraping has both dark and light patterns and use-cases.
By the way, has anyone used the eaf-browser? I use the other eaf applications like PDF viewer, but for some reason, the eaf-browser seems to eat up a lot of resources.
Sure, some idiosyncratic blogs can get away with that css-free "look" (eg https://danluu.com/). The W3? NO? but now I guess so!
.pd{width:4em;flex-shrink:0;padding-bottom:.9em}.par div{display:flex}Not even. The articles there are incredibly compact blocks of text that are way too wide to be comfortable for reading.
Minimal CSS is an absolute requirement if you want a website that is pleasant to read.
Eventually browsers rediscovered that need to provide good defaults and now call it "Reading Mode" and force users to opt in to that behavior on a page by page basis.
Something lately I've been wondering is if there should be a way to signal to a browser "this is an intentionally minimal HTML page, please style it by default as if the user chose Reading Mode".
... legible, not good. If I had to read documentation that looked like that all day I'd consider a career change (or, perhaps, building an infrastructure to improve the legibility of web pages...).
https://web.archive.org/web/20230125115413/https://www.w3.or...
* Focus indicators
* Text block width
* Target Sizes
Apart from that, even if it were there there's some trouble with the markup: * <abbr> tags missing
* No landmark elements
* bloody tabindex
* repeated same div
* search input has no visible label
* no context-sensitive help or whatnotWould've been the last thing WWW Inc. has influence over on the web.
And even that has been a joke (of the consider-your-carreer-choices variety) from the beginning, while today it's just annoying holding on for job security.
At least their complaining about being financially dependent on Google and being part of the web standard circus preventing real independent standardization makes for an entertaining read lately [1] if you had any doubt Google are the ones to call the shots.
Firefox users (desktop) can see the unstyled site by selecting View -> Page Style -> Unstyled.
And yes, it is pleasantly readable even without CSS. Not ideal, but good.
wget -qO - https://www.w3.org/2008/site/css/minimum | gunzip -