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

[css-device-adapt] Fractional and minimal used lengths

From: Rune Lillesveen <rune@opera.com>
Date: Thu, 19 Apr 2012 16:31:35 +0200
To: "www-style list" <www-style@w3.org>
Message-ID: <op.wc0nyxyy8isf1p@id-c1005.oslo.osa>
Issue #1: The spec doesn't say anything about fractional px lengths.

Issue #2: The constraining procedure can end up with px lengths rounded to  
0 for width and height.

Proposal: Resolve the two issues above by adding the following to 6.2:

# The used width and height values, constrained to by the procedure above,  
are
# rounded to a whole number of pixels. If the constrained value is 0px,  
which
# e.g. can happen for small percentage widths or heights, the used value  
is set
# to 1px.

-- 
Rune Lillesveen
Layout Group Manager
Core Technology Department
Opera Software ASA
Received on Thursday, 19 April 2012 14:32:16 GMT

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