News for hackers. Stuff that matters.
Re:State of CSS by encryptluks2 on Friday October 21, 2022 @11:18AM (#33288905)
Can't believe paged media isn't really supported yet. Trying to do anything like line numbers for legal documents or page numbers is an absolute nightmare.
Re:State of CSS by laundermaf on Friday October 21, 2022 @02:42PM (#33291577)
Page media has been supported for decades. Line numbers aren’t strictly related to page media. It’s hard to complain about the lack of in-depth support for a media that isn’t meant to display “the web”.

I do agree that it could be better. They have been adding print-related features though, at least I remember some in CSS3. CSS Colors Level 4 includes cmyk functions.

Re:State of CSS by encryptluks2 on Friday October 21, 2022 @04:38PM (#33292787)
I don't think "it isn't meant" is accurate anymore. The browser has become meant for all things including document creation and styling. The @page counter feature although documented isn't supported by any browser from what I can tell at this point.
Re:State of CSS by wruza on Friday October 21, 2022 @10:16PM (#33295080)
Have you tried to page a grid? Also, who decides what is web and what isn’t? Is printing barcodes on pre-delineated paper “web”?

Feels like we’re stuck in a “yes, it meant to be a universal platform” / “no, it meant to be a document viewer” loop.