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 22800 - The 'column' attribute naming seems to me a bit inconsistent with the 'lineno' attribute. It could be called 'colno' for consistency. 'colno' is also what IE10 uses already.
Summary: The 'column' attribute naming seems to me a bit inconsistent with the 'lineno...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-25 14:30 UTC by contributor
Modified: 2013-07-29 19:54 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2013-07-25 14:30:59 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html
Multipage: http://www.whatwg.org/C#the-errorevent-interface
Complete: http://www.whatwg.org/c#the-errorevent-interface
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html

Comment:
The 'column' attribute naming seems to me a bit inconsistent with the 'lineno'
attribute. It could be called 'colno' for consistency. 'colno' is also what
IE10 uses already. 

Posted from: 91.154.118.240
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20130724 Firefox/25.0
Comment 1 Chris Dumez 2013-07-25 15:11:55 UTC
For what it's worth, this attribute is not yet implemented in Chrome/Blink and the inconsistency between IE10 and the specification is currently an issue [1][2].

This attribute is not implemented in Firefox or Safari/WebKit yet either [3].

[1] http://code.google.com/p/chromium/issues/detail?id=264197
[2] https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/Li61lfcbWws
[3] http://trac.webkit.org/browser/trunk/Source/WebCore/dom/ErrorEvent.idl
Comment 2 Ian 'Hixie' Hickson 2013-07-25 23:43:26 UTC
(Follow up from bug 13319.)
Comment 3 Simon Pieters 2013-07-28 22:16:28 UTC
Has anyone actually tested whether IE supports colno on ErrorEvent?

A test could look like http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2423 except IE doesn't support data: there.
Comment 4 Simon Pieters 2013-07-28 22:24:30 UTC
Christophe Dumez claims to have tested IE10 in https://groups.google.com/a/chromium.org/d/msg/blink-dev/Li61lfcbWws/kPtFfwvapbAJ
Comment 5 Chris Dumez 2013-07-29 05:29:26 UTC
(In reply to comment #4)
> Christophe Dumez claims to have tested IE10 in
> https://groups.google.com/a/chromium.org/d/msg/blink-dev/Li61lfcbWws/
> kPtFfwvapbAJ

Yes I did.

'colno' in on the prototype of ErrorEvent and the following quick test (http://jsfiddle.net/53KEJ/37/) shows:
colno: 13
column: undefined

in IE10.
Comment 6 Chris Dumez 2013-07-29 05:34:55 UTC
I am reopening because 'column' was not renamed to 'colno' in the ErrorEventInit dictionary:
http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#errorevent
Comment 7 contributor 2013-07-29 19:54:23 UTC
Checked in as WHATWG revision r8098.
Check-in comment: Oops, forgot to rename the dict key name for ErrorEventInit
http://html5.org/tools/web-apps-tracker?from=8097&to=8098