News for hackers. Stuff that matters.
Re:Flow Charts with CSS Anchor Positioning by ramesh31 on Thursday June 27, 2024 @06:29AM (#40809035)
>"Only CSS"

CSS is by far the most advanced, flexible, and powerful layout technology in existence.

Re:Flow Charts with CSS Anchor Positioning by azangru on Thursday June 27, 2024 @07:28AM (#40809331)
I am not seeing it used much in print though.
Re:Flow Charts with CSS Anchor Positioning by brobdingnag_pp on Thursday June 27, 2024 @09:59AM (#40810631)
That’s because print is an additive medium and requires support for additive colorspaces (CMYK) and device color profiles.
Re:Flow Charts with CSS Anchor Positioning by california-og on Thursday June 27, 2024 @12:15PM (#40812148)
This is probably coming to CSS in the coming years. [0] Which makes me very excited for one reason: CSS is nearing feature parity (and surpassing it in some areas) with Adobe InDesign, so we can finally ditch adobe and just make print publications within the browser. The only other thing missing after custom colour profiles is a proper text justification algorithm, although, for many, it's not so important because people are already used to reading ragged text.

[0]: https://www.w3.org/TR/css-color-4/#color-space

Re:Flow Charts with CSS Anchor Positioning by rikroots on Thursday June 27, 2024 @02:42PM (#40813644)
It's in the CSS Color 5 spec - here: https://drafts.csswg.org/css-color-5/#cal-cmyk
Re:Flow Charts with CSS Anchor Positioning by Kiro on Thursday June 27, 2024 @01:53PM (#40813154)
I don't understand how this is still a thing in 2024.
Re:Flow Charts with CSS Anchor Positioning by brobdingnag_pp on Friday June 28, 2024 @03:05AM (#40818397)
It’s essential complexity, so it’s not going anywhere.
Re:Flow Charts with CSS Anchor Positioning by dwallin on Thursday June 27, 2024 @11:56AM (#40811898)
I would maybe say that it is almost assuredly one of the most featureful and widely used layout technology. But I'm not convinced it's the most powerful, flexible, or even advanced. It suffers from significant performance issues due to legacy baggage and a poor underlying abstractions. There is a reason anyone building things like visual editors, spreadsheets, et al tend to drop into lower level rendering technologies.