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

Re: [css3-images][css4-images] Replace 'dppx' with 'x'?

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Fri, 25 May 2012 20:07:53 +0200
Message-Id: <7D6F7F23-05E4-45ED-8FDD-072611EC599B@crissov.de>
To: www-style list <www-style@w3.org>
Tab Atkins Jr.:

> The feedback has pretty much all been negative about the name, though.

Of course, all the reciprocal length units are plain stupid and unnecessary – and always have been.

  image-resolution: <count> [ / <length> ]?;
  image-resolution: 1dot; /* with 1px default */
  image-resolution: 300dot/1in;
  image-resolution: 100dot / 1mm;

  dot-density: <number> / <length>;
  dot-density: 1/1px;
  dot-density: 50 / 1pc;
  dot-density: 1000/ 1cm;

  image-resolution: <reciprocal-length>;
  image-resolution: calc(1dot/1px);
  image-resolution: calc(300dot/1in);
  image-resolution: calc(100dot/1mm);

  dot-density: <reciprocal-length>;
  dot-density: calc(1/1px);
  dot-density: calc(50/1pc);
  dot-density: calc(1000/1cm);

  image-dot: <length>;
  image-dot: 1px; /* = */ image-dot-width: 1px; image-dot-height: 1px;
  image-dot: 0.24pt;
  image-dot: 10um;

would all have been better solutions than what we have now and ‘x’ wouldn’t change any of that.

Yes, I should stop ranting about the same things again and again.
Received on Friday, 25 May 2012 18:08:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:16 UTC