- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Fri, 14 Dec 2012 15:34:49 -0800
- To: Øyvind Stenhaug <oyvinds@opera.com>
- Cc: "www-style@w3.org" <www-style@w3.org>, fantasai <fantasai.lists@inkedblade.net>
On Dec 14, 2012, at 2:06 AM, Øyvind Stenhaug <oyvinds@opera.com> wrote: > On Thu, 13 Dec 2012 19:19:50 +0100, Brad Kemper <brad.kemper@gmail.com> wrote: > >> On Dec 13, 2012, at 2:41 AM, Øyvind Stenhaug <oyvinds@opera.com> wrote: >> >>> I know of one buggy page - <http://www.bionicsquirrels.com/category/flash-games> (tries to make a grid of articles by having [number_of_rows] divs each with column-count:3 and containing three 99%-width inline-block articles). It's apparently some WordPress theme so it's possible there are more such pages, but so far I haven't seen the need to escalate beyond our own site compatibility efforts ("Open The Web" evangelism, site patching). >> >> Can you explain what breaks? Does it screw up the printing somehow? I don't have access to an Opera browser at the moment. > > No, this one does not depend on printing since 'orphans' and 'widows' has been specified to apply for other types of fragmentation as well, like column breaking. Each multicol div has three lines (one <article> per line), so we end up with all three in the first column (and empty space on the right) instead of one per column. Ah, I understand now. So, following up on the email I just sent, how about, supposing we had 'orphans:3', and one of the lines is taller than the column height/3, we treat it as if it was 'orphans:2'? If two of the lines are each taller than column height/3, then we treat it as if it was 'orphans:1'. Or something slightly more complicated than that, to accommodate widow and orphan settings at the same time.
Received on Friday, 14 December 2012 23:35:42 UTC