W3C home > Mailing lists > Public > www-style@w3.org > August 2010

Re: [css21][css3][svg] SVG and unit-less length values

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sun, 15 Aug 2010 17:54:12 +1200
Message-ID: <AANLkTimOgfxg6D4ALPeEKhvV6N1WkXLb=frKR3P5jMxe@mail.gmail.com>
To: Charles Pritchard <chuck@jumis.com>
Cc: Doug Schepers <schepers@w3.org>, "Tab Atkins Jr." <jackalmage@gmail.com>, "Dr. Olaf Hoffmann" <Dr.O.Hoffmann@gmx.de>, public-fx@w3.org, www-style@w3.org
On Sun, Aug 15, 2010 at 9:18 AM, Charles Pritchard <chuck@jumis.com> wrote:

> Working with 2x pixel ratio displays will create more demand for
> improvements to the current state of CSS.
> Though pixel ratio does turn the CSS pixel into a relative unit, there are
> some difficulties in specifying quality.
> One can not, for instance, set the pixel ratio of individual elements.

It doesn't matter for most elements.

I've found that my canvas tags need additional styling:
> <canvas width="960" height="640" style="width: 480px; height: 320px;">

As specced, browsers are allowed to use a higher-resolution backing store
for the canvas element if they want to. But there are some compatibility
problems around the getImageData/putImageData APIs. Anyway, the issues
around canvas are specific to canvas.

Many authors have noticed that they need high-res and low res
> stylesheets and supporting images. Some have gone so far as to suggest @2
> be suffixed
> onto image names.

To address this, we just need Webkit's device-pixel-ratio media query to be

"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
Received on Sunday, 15 August 2010 05:54:40 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:49 UTC