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 8794 - <canvas>: lineWidth = 'hairline'
Summary: <canvas>: lineWidth = 'hairline'
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 enhancement
Target Milestone: Needs Impl Interest
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
Depends on:
Reported: 2010-01-21 16:08 UTC by contributor
Modified: 2014-09-26 21:28 UTC (History)
6 users (show)

See Also:


Description contributor 2010-01-21 16:08:08 UTC

It would be beneficial to have a property within linewidth such as
'hairline'so that drawings could be scaled and linewidth would be independant.
For ex. a line always having a width of 1 no matter the scale. This is almost
necessary when displaying engineering drawings that need to be zoomed in upon.

Posted from:
Comment 1 Ian 'Hixie' Hickson 2010-02-13 11:30:24 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:

Status: Partially Accepted
Change Description: see diff given below
Rationale: I agree with the idea, but I think we should punt on this for now and deal with it in a later version. There's a near-infinite number of things we could add to the 2D API and every time we do so, browser vendors appear to abandon everything else and rush to implement it. So it seems best to wait til they've implemented a lot more of the rest of HTML5 before adding more things here.
Comment 2 Michael[tm] Smith 2013-01-24 07:23:48 UTC
This bug was cloned to create HTML WG bug 19031.
Comment 3 Ian 'Hixie' Hickson 2013-03-19 22:39:40 UTC
Any browser vendors interested in implementing this?
Comment 4 Ian 'Hixie' Hickson 2014-09-26 21:28:30 UTC
Closing as WONTFIX for lack of vendor and author interest.