High resolution displays and GNOME
High resolution displays and GNOME
Posted Aug 8, 2013 10:01 UTC (Thu) by alexl (guest, #19068)In reply to: High resolution displays and GNOME by njwhite
Parent article: High resolution displays and GNOME
CSS defines the term "px" for this (with a very interesting definion [1]). OSX uses "points".
Unfortunately we're in a situation where a of code already uses the term "pixel", and we're keeping that API, just making it do something slightly different. That meant it hard to apply a new name to all these existing places.
em:s are useful in some places, like maybe padding and line spacing. Not so much for e.g. border widths, raster images, etc.
[1] http://www.w3.org/TR/2013/CR-css3-values-20130730/#refere...
