Generate bindings for HTMLHRElement.

This commit is contained in:
saneyuki_s 2013-08-07 22:52:39 +09:00
parent ac4938b7dd
commit 2e3cd1945c
9 changed files with 91 additions and 3 deletions

View file

@ -550,6 +550,7 @@ addHTMLElement('HTMLDivElement')
addHTMLElement('HTMLElement')
addHTMLElement('HTMLHeadElement')
addHTMLElement('HTMLHtmlElement')
addHTMLElement('HTMLHRElement')
addHTMLElement('HTMLImageElement')
addHTMLElement('HTMLParagraphElement')
addHTMLElement('HTMLScriptElement')

View file

@ -4620,6 +4620,7 @@ class CGBindingRoot(CGThing):
'dom::htmlanchorelement::HTMLAnchorElement', #XXXjdm
'dom::htmlelement::HTMLElement', #XXXjdm
'dom::htmldocument::HTMLDocument', #XXXjdm
'dom::htmlhrelement::HTMLHRElement',
'dom::htmlimageelement::HTMLImageElement', #XXXjdm
'dom::htmlscriptelement::HTMLScriptElement',
'dom::bindings::utils::*',

View file

@ -0,0 +1,30 @@
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
* http://www.whatwg.org/specs/web-apps/current-work/#the-hr-element
* http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
* Opera Software ASA. You are granted a license to use, reproduce
* and create derivative works of this document.
*/
// http://www.whatwg.org/specs/web-apps/current-work/#the-hr-element
interface HTMLHRElement : HTMLElement {
};
// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis
partial interface HTMLHRElement {
[SetterThrows]
attribute DOMString align;
[SetterThrows]
attribute DOMString color;
[SetterThrows]
attribute boolean noShade;
[SetterThrows]
attribute DOMString size;
[SetterThrows]
attribute DOMString width;
};