W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2009

[Bug 7680] New: Add an 'angle' element to HTML5

From: <bugzilla@wiggum.w3.org>
Date: Sat, 19 Sep 2009 22:24:59 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-7680-2486@http.www.w3.org/Bugs/Public/>

           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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:01 UTC