W3C home > Mailing lists > Public > www-style@w3.org > January 2014

[css-regions] Expose info about line breaks, overflow to JS

From: Johannes Wilm <johannes@fiduswriter.org>
Date: Wed, 29 Jan 2014 16:20:27 +0100
Message-ID: <CABkgm-SwFgU7q-tT-GhRJwAFu+K12tS7iog6Jxgoa-h14vgdGg@mail.gmail.com>
To: www-style list <www-style@w3.org>
given that there is still so much disagreement with CSS Regions on the part
of Opera, Firefox and lately also from Chrome, based on supposed
performance issues, it was mentioned that the rendering engines, according
to the view of some, should just be the basis of applications that can then
take care of fragmentation.

In order to be able to do that half-way efficiently, it would be an
advantage for the Javascript to know where fragmentation occurs: 1. line
breaks and 2. how much of a node could be rendered without causing overflow.

With this info (which the browser should have anyway) available in
Javascript it should be a lot less time spent on trying to recreate what
happens when creating the javascript.

Johannes Wilm
Fidus Writer
Received on Wednesday, 29 January 2014 15:20:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:39 UTC