This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11328 - Canvas authors needs to be able to assess pixel resolution to rescale canvas elements
Summary: Canvas authors needs to be able to assess pixel resolution to rescale canvas ...
Status: RESOLVED WORKSFORME
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords: a11y, a11ytf, a11y_canvas
Depends on:
Blocks:
 
Reported: 2010-11-16 22:36 UTC by Rich Schwerdtfeger
Modified: 2013-08-08 13:26 UTC (History)
11 users (show)

See Also:


Attachments

Description Rich Schwerdtfeger 2010-11-16 22:36:40 UTC
A problem exists such that when a user changes the zooming level in the browser a canvas author needs to be able to assess the resolution to rescale the canvas accordingly. When zoom changes occur a resize event is transmitted in many browsers. In order to properly redraw the canvas the windows screen logical DPI x and y data need to spec'd in HTML 5 so as to be consistent across browsers. This will address canvas clarity issues during zooming.
Comment 1 Ian 'Hixie' Hickson 2011-01-10 22:22:01 UTC
This is a CSSOM issue. Anne, what component should I use for CSSOM issues?
Comment 2 Anne 2011-01-11 09:23:36 UTC
Mike, maybe you can make a component? It might take quite a while by the way before I address this. My backlog is huge and I do not have time soon.
Comment 3 Michael Cooper 2011-03-19 23:46:45 UTC
HTML A11Y TF assigning to Doug to take a look because Anne known unavailable for a while.
Comment 4 Charles Pritchard 2011-04-15 00:15:15 UTC
Looks like WebKit is going to go with the Microsoft window.screen extensions. I'll post an update when/if it hits their code base.

logicalXDPI, logicalYDPI
http://msdn.microsoft.com/en-us/library/ms535868(v=vs.85).aspx