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

[css-page-floats] Why does float-defer have just "last"?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 22 Jan 2016 13:54:19 -0800
Message-ID: <CAAWBYDAQW-sPMNMUiS7gEMEtjo090NCKR2kSgquw65cF4x_TqA@mail.gmail.com>
To: www-style list <www-style@w3.org>
"float-defer" currently takes either an <integer> (indicating it
should be put in the Nth relevant fragment) or the keyword "last",
indicating the last such fragment.  But the <integer> is allowed to be
negative, which counts backwards from the end, so "float-defer: last"
is equivalent to "float-defer: -1;".

I understand having "last" as syntax sugar for -1 (though it's
actually *longer* ^_^), but it doesn't make sense to not also have
"first" in that case.

(FWIW, Grid doesn't have keywords for 1 and -1. It might be a good
idea to align.)

~TJ
Received on Friday, 22 January 2016 21:55:05 UTC

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