Bug 909633. Remove the HTML Microdata API, since no one else ended up implementing it and now it's been removed from the spec. r=bkelly,jgraham
This commit is contained in:
@@ -32,23 +32,5 @@ HTMLTimeElement::WrapNode(JSContext* cx, JS::Handle<JSObject*> aGivenProto)
|
||||
return HTMLTimeElementBinding::Wrap(cx, this, aGivenProto);
|
||||
}
|
||||
|
||||
void
|
||||
HTMLTimeElement::GetItemValueText(DOMString& text)
|
||||
{
|
||||
if (HasAttr(kNameSpaceID_None, nsGkAtoms::datetime)) {
|
||||
GetDateTime(text);
|
||||
} else {
|
||||
ErrorResult rv;
|
||||
GetTextContentInternal(text, rv);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
HTMLTimeElement::SetItemValueText(const nsAString& text)
|
||||
{
|
||||
ErrorResult rv;
|
||||
SetDateTime(text, rv);
|
||||
}
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
Reference in New Issue
Block a user