The default bug view has changed. See this FAQ.

Implement HTML5 <data> element

VERIFIED FIXED in mozilla22

Status

()

Core
DOM: Core & HTML
VERIFIED FIXED
4 years ago
4 years ago

People

(Reporter: humph, Assigned: humph)

Tracking

({dev-doc-complete})

Trunk
mozilla22
dev-doc-complete
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(relnote-firefox 22+)

Details

(URL)

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

4 years ago
Related to the <time> element from bug 629801, "The data element represents its contents, along with a machine-readable form of those contents in the value attribute."

interface HTMLDataElement : HTMLElement {
           attribute DOMString value;
};

Is it OK to do this one now too, or should we wait? (spec doc says, "Experimental draft").  If 'yes' I'll do it now as I finish up <time>.  I think both are going to be pretty useful.
Henri, you might know the answer. How stable is the spec?
I'm not aware of any relevant implementation-affecting outstanding feedback for <data>, for what it's worth.
(Assignee)

Comment 3

4 years ago
Created attachment 718095 [details] [diff] [review]
v1
Assignee: nobody → david.humphrey
Status: NEW → ASSIGNED
Attachment #718095 - Flags: review?(bugs)
Comment on attachment 718095 [details] [diff] [review]
v1


>+JSObject*
>+HTMLDataElement::WrapNode(JSContext* cx, JSObject* scope, bool* triedToWrap)
aCx, aScope, aTriedToWrap
Attachment #718095 - Flags: review?(bugs) → review+
(Assignee)

Comment 5

4 years ago
Created attachment 718489 [details] [diff] [review]
v2 (r=smaug)

I've fixed that nit, thanks for the quick review.

Do you want anyone else to look at this, or can it land?
Attachment #718095 - Attachment is obsolete: true
I think this should be fine.
(Assignee)

Updated

4 years ago
Keywords: checkin-needed
(Assignee)

Updated

4 years ago
Keywords: dev-doc-needed
https://hg.mozilla.org/integration/mozilla-inbound/rev/4d3e8e7ee977
Flags: in-testsuite+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/4d3e8e7ee977
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
relnote-firefox: --- → ?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:22.0) Gecko/20130403 Firefox/22.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20130403 Firefox/22.0
Mozilla/5.0 (X11; Linux i686; rv:22.0) Gecko/20130402 Firefox/22.0
BuildID: 20130402004013

I also performed some testing around this element on latest Firefox 22 Aurora builds across main platforms and there were no related visual issues or errors on pages using the <data> tag.
Based on this and the fact that there is a test page for this element, I'm marking the bug Verified.
Status: RESOLVED → VERIFIED

Updated

4 years ago
relnote-firefox: ? → 22+
This bug has been listed as part of the Aurora 22 release notes in either [1], [2], or both. If you find any of the information or wording incorrect in the notes, please email release-mgmt@mozilla.com asap. Thanks!

[1] https://www.mozilla.org/en-US/firefox/22.0a2/auroranotes/
[2] https://www.mozilla.org/en-US/mobile/22.0a2/auroranotes/
Documented:
https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data
and
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/22
Keywords: dev-doc-needed → dev-doc-complete
You need to log in before you can comment on or make changes to this bug.