W3C home > Mailing lists > Public > www-style@w3.org > April 2011

[css3-multicol] Error in latest pseudo-algorithm

From: David Hyatt <hyatt@apple.com>
Date: Mon, 11 Apr 2011 15:04:45 -0500
Message-id: <6B4515D8-1F05-4BD5-80BE-23548484FCC4@apple.com>
To: "www-style@w3.org CSS" <www-style@w3.org>
I implemented the new pseudo-algorithm in the latest draft of CSS3 multi-column and we ended up running into a divide-by-zero issue.  The error is on line 20.  It needs a max(1, ....) just like line 16 has to avoid setting N to 0.

dave
(hyatt@apple.com)
Received on Monday, 11 April 2011 20:05:13 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:39 GMT