W3C home > Mailing lists > Public > public-css-testsuite@w3.org > May 2012

[multicol] set width of multicol block not dividable by number of columns without creating fraction

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Wed, 16 May 2012 13:52:40 -0400
Message-ID: <8ffa49e9c5d6b7b251da72b7422e5d99.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
Cc: "Håkon Wium Lie" <howcome@opera.com>
Hello,

Example given:

http://test.csswg.org/suites/css3-multicol/nightly-unstable/html4/multicol-fill-000.htm

line 10 <style type="text/css">
div, table {
  font: 10px/10px Ahem;
  margin: 1em 0;
  color: lime;
  background: yellow;
  width: 400px;
}

div.multicol {
  columns: 3;
  column-gap: 0px;
  column-rule: none;
  column-fill: balance;
}


What is supposed to happen when the width is not dividable by the number
of columns without a fractional remainder?

Each <p> should be 133.33333px wide?
Or the first one should be 134px?
Or the last one?
It's entirely UA-dependent.

Opera 11.64 DragonFly reports 133px for each <p>'s computed style width;
so, it seems it rounds down the fraction.

What I'm trying to say is that all these tests should avoid fractional
pixels situations.

Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 Test suite RC6, March 23rd 2011:
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html
Received on Wednesday, 16 May 2012 17:53:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 16 May 2012 17:53:19 GMT