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

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
standardized.

Rob
-- 
"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