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

Re: [css-gcpm] Positions from which named string is taken is too limited

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 12 Jun 2014 13:35:34 -0700
Message-ID: <CAAWBYDC-Qfps7xfv7+EW45tYTQ0tS0TEmkMasBGnsS8H12-hYw@mail.gmail.com>
To: Jirka Kosek <jirka@kosek.cz>
Cc: W3C Style <www-style@w3.org>
On Thu, Jun 12, 2014 at 11:02 AM, Jirka Kosek <jirka@kosek.cz> wrote:
> Hi,
> currently second argument to string() function can be "first", "start",
> "last", "first-except".
> In XSL-FO similar functionality is achieved by the retrieve-position
> property:
> http://www.w3.org/TR/xsl/#retrieve-position
> There is no equivalent of "last-ending-within-page" value in CSS. This
> value is useful for example when running subtotal has to be put into
> page footer. So analogical value should be added into CSS.

Ah, I see - the existing "last" value isn't good enough, because it'll
reflect the 'string-set' value of an element that *starts* on the page
but is broken onto the next page; you want the 'string-set' value of
the last element that was *completed* on the given page.

Sounds pretty reasonable - I suggest 'last-complete' as a name.

Received on Thursday, 12 June 2014 20:36:23 UTC

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