diff options
author | saneyuki_s <saneyuki.s.snyk@gmail.com> | 2013-08-07 21:09:11 +0900 |
---|---|---|
committer | saneyuki_s <saneyuki.s.snyk@gmail.com> | 2013-08-07 21:23:42 +0900 |
commit | 17542ee14c300e908753a3e6cfc614d64e23d38d (patch) | |
tree | 825a8074d88fd2c3e7759de8ccde0a143f2f9a6e /src/components/script/dom/bindings/codegen | |
parent | b5adb37bd2983cc5c1bca0f1d0f892356742d91e (diff) | |
download | servo-17542ee14c300e908753a3e6cfc614d64e23d38d.tar.gz servo-17542ee14c300e908753a3e6cfc614d64e23d38d.zip |
Generate bindings for HTMLParagraphElement.
Diffstat (limited to 'src/components/script/dom/bindings/codegen')
3 files changed, 24 insertions, 1 deletions
diff --git a/src/components/script/dom/bindings/codegen/Bindings.conf b/src/components/script/dom/bindings/codegen/Bindings.conf index 57877d06491..e42e72e32e3 100644 --- a/src/components/script/dom/bindings/codegen/Bindings.conf +++ b/src/components/script/dom/bindings/codegen/Bindings.conf @@ -551,6 +551,7 @@ addHTMLElement('HTMLElement') addHTMLElement('HTMLHeadElement') addHTMLElement('HTMLHtmlElement') addHTMLElement('HTMLImageElement') +addHTMLElement('HTMLParagraphElement') addHTMLElement('HTMLSpanElement') # If you add one of these, you need to make sure nsDOMQS.h has the relevant diff --git a/src/components/script/dom/bindings/codegen/CodegenRust.py b/src/components/script/dom/bindings/codegen/CodegenRust.py index 9f8b319e80e..8cb2d24b52b 100644 --- a/src/components/script/dom/bindings/codegen/CodegenRust.py +++ b/src/components/script/dom/bindings/codegen/CodegenRust.py @@ -4616,7 +4616,7 @@ class CGBindingRoot(CGThing): 'dom::node::{AbstractNode, Node, Text}', #XXXjdm 'dom::document::{Document, AbstractDocument}', #XXXjdm 'dom::element::{Element, HTMLHeadElement, HTMLHtmlElement}', #XXXjdm - 'dom::element::{HTMLDivElement, HTMLSpanElement}', #XXXjdm + 'dom::element::{HTMLDivElement, HTMLSpanElement, HTMLParagraphElement}', #XXXjdm 'dom::htmlanchorelement::HTMLAnchorElement', #XXXjdm 'dom::htmlelement::HTMLElement', #XXXjdm 'dom::htmldocument::HTMLDocument', #XXXjdm diff --git a/src/components/script/dom/bindings/codegen/HTMLParagraphElement.webidl b/src/components/script/dom/bindings/codegen/HTMLParagraphElement.webidl new file mode 100644 index 00000000000..2a626d25750 --- /dev/null +++ b/src/components/script/dom/bindings/codegen/HTMLParagraphElement.webidl @@ -0,0 +1,22 @@ +/* -*- 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-p-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-p-element +interface HTMLParagraphElement : HTMLElement { +}; + +// http://www.whatwg.org/specs/web-apps/current-work/#other-elements,-attributes-and-apis +partial interface HTMLParagraphElement { + [SetterThrows] + attribute DOMString align; +}; |