ISSUE-1: px units

px units

Raised by:
Elika Etemad
Opened on:
It seems to be an unwritten assumption, that CSS 'px' units should map to
a whole number of device pixels. E.g. the examples in the spec all assume
rounding to a whole number of device pixels. But there is no normative
text that suggests this interpretation.

Proposed change:

"the user agent should rescale pixel values"
"the user agent should rescale pixel units to a different whole number
of device pixels"


Insert before
"It is recommended that the reference pixel be..."
the sentence
"It is recommended that the pixel unit refer to the whole number of
device pixels that best approximates the reference pixel."
Related Actions Items:
Related emails:
  1. [css-fonts] Names of font-display values (issue #4 in CSS Fonts 4) (from on 2017-08-02)
  2. [CSSWG] Minutes Telecon 2017-03-15 [css-grid] [css-inline] (from on 2017-03-15)
  3. [CSSWG] Minutes Seattle F2F 2017-01-11 Part II: Text Breakout - Hyphenation, Text Decoration (from on 2017-02-13)
  4. [css-grid] Agenda+ Summary of Open Issues (from on 2017-02-01)
  5. [css-text-decor-3] Updated DoC, open issues (from on 2016-12-27)
  6. [CSSWG] Minutes Telecon 2016-06-22 [css-snappoints] [css-text-3] [css-round-display] [mediaqueries] [css-grid] [css-align] [css-inline] (from on 2016-06-22)
  7. [csswg] Agenda conf call 22-June-2016 (from on 2016-06-22)
  8. Agenda+ Media Queries (from on 2016-06-08)
  9. [CSSWG] Minutes San Francisco F2F 2016-05-09 Part III: Media Queries, Sizing, Flexbox, CSS Containment [mediaqueries] [css-step-sizing] [css-flexbox] [css-containment] (from on 2016-05-24)
  10. [CSSWG] Minutes Telecon 2016-02-17 [css-images] [css-values] [css-containment] [css-ui-4] (from on 2016-02-17)
  11. [csswg] Agenda conf call 16-Feb-2016 (from on 2016-02-17)
  12. Re: Call for agenda items (from on 2016-02-16)
  13. [CSSWG] Minutes Telecon 2016-01-27 [css-grid] [css-snappoints] (from on 2016-01-27)
  14. [csswg] Agenda conf call 27-Jan-2016 (from on 2016-01-27)
  15. RE: Call for agenda items (and/or cancelling this week's call) (from on 2016-01-26)
  16. [csswg] Agenda conf call 20-Jan-2016 (from on 2016-01-20)
  17. Re: Call for agenda items (and/or cancelling calls) (from on 2016-01-19)
  18. Re: Call for agenda items (and/or cancelling calls) (from on 2016-01-19)
  19. Re: [css-grid] Summary of Abspos Issues (from on 2015-05-12)
  20. [css-grid] Summary of Abspos Issues (from on 2015-05-09)
  21. Re: [css-grid] Absolutely positioned items and static position (from on 2015-05-08)
  22. Agenda request CR for CSS Masking 1 (from on 2014-06-23)
  23. [CSSWG] Minutes Paris F2F 2013-09-13 Fri I: CSS Masking, Display Tree or DOM, Flexbox (from on 2013-09-30)
  24. [CSSWG] Minutes Tucson F2F 2013-02-14 Tue AM I: Paged Media 4, Flexbox (from on 2013-02-14)
  25. Re: [css3-speech] status (from on 2011-12-04)
  26. Re: [css3-speech] status (from on 2011-12-04)
  27. [CSSWG] Minutes and Resolutions Telecon 2011-11-30 (from on 2011-11-30)
  28. Re: [css3-speech] status (from on 2011-11-30)
  29. Minutes, 22 November FX taskforce call (from on 2010-11-22)
  30. [CSSWG] Minutes and Resolutions 2008-04-09 (from on 2008-04-10)
  31. RE: [CSS21] [css3-values] px and device pixels (from on 2008-03-25)
  32. ISSUE-1: [CSS2.1] (from on 2008-03-22)
  33. Re: [CSS21] [css3-values] px and device pixels (from on 2008-03-21)

Related notes:

Second proposal accepted 2008-04-09

Elika Etemad, 16 Apr 2008, 01:00:06

Display change log ATOM feed

Alan Stearns <>, Rossen Atanassov <>, Chairs, Chris Lilley <>, Fuqiao Xue <>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <>.
$Id: 1.html,v 1.1 2020/01/17 10:38:38 carcone Exp $