mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Partial fix for #12415: expose interfaces only where necessary
This commit is contained in:
parent
fa8c407191
commit
2c5ea6bd0d
11 changed files with 0 additions and 20 deletions
|
@ -3,7 +3,6 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#htmldlistelement
|
// https://html.spec.whatwg.org/multipage/#htmldlistelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLDListElement : HTMLElement {
|
interface HTMLDListElement : HTMLElement {
|
||||||
// also has obsolete members
|
// also has obsolete members
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#htmldetailselement
|
// https://html.spec.whatwg.org/multipage/#htmldetailselement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLDetailsElement : HTMLElement {
|
interface HTMLDetailsElement : HTMLElement {
|
||||||
attribute boolean open;
|
attribute boolean open;
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#htmldialogelement
|
// https://html.spec.whatwg.org/multipage/#htmldialogelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLDialogElement : HTMLElement {
|
interface HTMLDialogElement : HTMLElement {
|
||||||
attribute boolean open;
|
attribute boolean open;
|
||||||
attribute DOMString returnValue;
|
attribute DOMString returnValue;
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#htmldirectoryelement
|
// https://html.spec.whatwg.org/multipage/#htmldirectoryelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLDirectoryElement : HTMLElement {
|
interface HTMLDirectoryElement : HTMLElement {
|
||||||
// attribute boolean compact;
|
// attribute boolean compact;
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#htmldivelement
|
// https://html.spec.whatwg.org/multipage/#htmldivelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLDivElement : HTMLElement {
|
interface HTMLDivElement : HTMLElement {
|
||||||
// also has obsolete members
|
// also has obsolete members
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#htmlembedelement
|
// https://html.spec.whatwg.org/multipage/#htmlembedelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLEmbedElement : HTMLElement {
|
interface HTMLEmbedElement : HTMLElement {
|
||||||
// attribute DOMString src;
|
// attribute DOMString src;
|
||||||
// attribute DOMString type;
|
// attribute DOMString type;
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#htmlfieldsetelement
|
// https://html.spec.whatwg.org/multipage/#htmlfieldsetelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLFieldSetElement : HTMLElement {
|
interface HTMLFieldSetElement : HTMLElement {
|
||||||
attribute boolean disabled;
|
attribute boolean disabled;
|
||||||
readonly attribute HTMLFormElement? form;
|
readonly attribute HTMLFormElement? form;
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#htmlfontelement
|
// https://html.spec.whatwg.org/multipage/#htmlfontelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLFontElement : HTMLElement {
|
interface HTMLFontElement : HTMLElement {
|
||||||
[TreatNullAs=EmptyString] attribute DOMString color;
|
[TreatNullAs=EmptyString] attribute DOMString color;
|
||||||
attribute DOMString face;
|
attribute DOMString face;
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#htmlframeelement
|
// https://html.spec.whatwg.org/multipage/#htmlframeelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLFrameElement : HTMLElement {
|
interface HTMLFrameElement : HTMLElement {
|
||||||
// attribute DOMString name;
|
// attribute DOMString name;
|
||||||
// attribute DOMString scrolling;
|
// attribute DOMString scrolling;
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#htmlframesetelement
|
// https://html.spec.whatwg.org/multipage/#htmlframesetelement
|
||||||
[Exposed=(Window,Worker)]
|
|
||||||
interface HTMLFrameSetElement : HTMLElement {
|
interface HTMLFrameSetElement : HTMLElement {
|
||||||
// attribute DOMString cols;
|
// attribute DOMString cols;
|
||||||
// attribute DOMString rows;
|
// attribute DOMString rows;
|
||||||
|
|
|
@ -48,19 +48,9 @@ test_interfaces([
|
||||||
"History",
|
"History",
|
||||||
"HTMLCanvasElement",
|
"HTMLCanvasElement",
|
||||||
"HTMLCollection",
|
"HTMLCollection",
|
||||||
"HTMLDetailsElement",
|
|
||||||
"HTMLDialogElement",
|
|
||||||
"HTMLDirectoryElement",
|
|
||||||
"HTMLDivElement",
|
|
||||||
"HTMLDListElement",
|
|
||||||
"HTMLElement",
|
"HTMLElement",
|
||||||
"HTMLEmbedElement",
|
|
||||||
"HTMLFieldSetElement",
|
|
||||||
"HTMLFontElement",
|
|
||||||
"HTMLFormControlsCollection",
|
"HTMLFormControlsCollection",
|
||||||
"HTMLFormElement",
|
"HTMLFormElement",
|
||||||
"HTMLFrameElement",
|
|
||||||
"HTMLFrameSetElement",
|
|
||||||
"HTMLHeadElement",
|
"HTMLHeadElement",
|
||||||
"HTMLHeadingElement",
|
"HTMLHeadingElement",
|
||||||
"HTMLHRElement",
|
"HTMLHRElement",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue