- From: <bugzilla@wiggum.w3.org>
- Date: Sat, 19 Sep 2009 22:24:59 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7680
Summary: Add an 'angle' element to HTML5
Product: HTML WG
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: HTML5 spec proposals
AssignedTo: dave.null@w3.org
ReportedBy: listas@informatica.info
QAContact: public-html-bugzilla@w3.org
CC: ian@hixie.ch, mike@w3.org, public-html@w3.org
An 'angle' element would be useful to cover the cases where angles are
displayed as degrees/minutes/seconds or hour/minutes/seconds.
Examples of possible angle formats:
A) Hours.
- 23h 42m 52s
- 23h 42m 52.44s
- 23h 42m
- 23h 42.83m
- 23h 42,83m
- 23h
B) Sexagesimal degrees.
- 350º 21' 08"
- 350º 21' 08.98"
- 350º 21'
- 350º 21.8'
- 350º 21,8'
- 350º
- -45º 50'
- -45º
This covers the use cases of geographic longitudes and latitudes. Would be
useful for microformats, but also could allow for styling (the same angle could
be displayed as hours or degrees, and even the degrees case allows for
North/South, minus-plus signs, no signs, etc.)
DOM interface:
interface HTMLAngleElement : HTMLElement {
attribute DOMString angleRadians;
readonly attribute Number valueAsNumber;
readonly attribute Number valueAsNumberToRange;
};
The angleRadians attribute, if present, gives the angle being specified,
expressed in radians. Otherwise, the angle is given by the element's contents.
The valueAsNumber IDL attribute must return the value of the angle, in radians,
as a Number.
The valueAsNumberToRange IDL attribute must return the value of the angle as a
Number, in radians, reduced to the -PI:+PI range.
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Saturday, 19 September 2009 22:25:17 UTC