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 14090 - HTMLPreElement width attribute (obsolete) should be a long instead of an unsigned long
Summary: HTMLPreElement width attribute (obsolete) should be a long instead of an unsi...
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: data:text/html,<pre id='p' width='-1'...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-08 19:06 UTC by Mounir Lamouri
Modified: 2011-10-19 23:07 UTC (History)
4 users (show)

See Also:


Attachments

Description Mounir Lamouri 2011-09-08 19:06:00 UTC
All browsers I've tested have pre.width being a long instead of an unsigned long, the only exception being Firefox. I do not see any reason why the spec requests Gecko's behavior for an obsoleted feature.

We should probably have pre.width being a long in the specs. Gecko will follow.
Comment 1 Mounir Lamouri 2011-09-08 19:07:45 UTC
Simple test case: open the URL, if the alert shows '0' pre.width is an unsigned long. If it shows '-1', it's a long.
Comment 2 Ian 'Hixie' Hickson 2011-10-19 23:04:47 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:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: If you're gonna change this, LGTM.
Comment 3 contributor 2011-10-19 23:07:37 UTC
Checked in as WHATWG revision r6706.
Check-in comment: Compat with other browsers.
http://html5.org/tools/web-apps-tracker?from=6705&to=6706