mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #12537 - ice9js:fix/expose-interfaces-only-where-necessary, r=Ms2ger
Partial fix for #12415: expose interfaces only where necessary Partial fix for #12415. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Either: --> - [X] These changes do not require tests because they don't affect any features. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12537) <!-- Reviewable:end -->
This commit is contained in:
commit
7ea73ba2ee
11 changed files with 0 additions and 20 deletions
|
@ -11,7 +11,6 @@
|
|||
*/
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlanchorelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLAnchorElement : HTMLElement {
|
||||
attribute DOMString target;
|
||||
// attribute DOMString download;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlappletelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLAppletElement : HTMLElement {
|
||||
// attribute DOMString align;
|
||||
// attribute DOMString alt;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlareaelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLAreaElement : HTMLElement {
|
||||
// attribute DOMString alt;
|
||||
// attribute DOMString coords;
|
||||
|
|
|
@ -4,5 +4,4 @@
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlaudioelement
|
||||
//[NamedConstructor=Audio(optional DOMString src)]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLAudioElement : HTMLMediaElement {};
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlbrelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLBRElement : HTMLElement {
|
||||
// also has obsolete members
|
||||
};
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlbaseelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLBaseElement : HTMLElement {
|
||||
attribute DOMString href;
|
||||
// attribute DOMString target;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#the-body-element
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLBodyElement : HTMLElement {
|
||||
// also has obsolete members
|
||||
};
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlbuttonelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLButtonElement : HTMLElement {
|
||||
// attribute boolean autofocus;
|
||||
attribute boolean disabled;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmldataelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLDataElement : HTMLElement {
|
||||
// attribute DOMString value;
|
||||
};
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmldatalistelement
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLDataListElement : HTMLElement {
|
||||
readonly attribute HTMLCollection options;
|
||||
};
|
||||
|
|
|
@ -46,18 +46,8 @@ test_interfaces([
|
|||
"HashChangeEvent",
|
||||
"Headers",
|
||||
"History",
|
||||
"HTMLAnchorElement",
|
||||
"HTMLAppletElement",
|
||||
"HTMLAreaElement",
|
||||
"HTMLAudioElement",
|
||||
"HTMLBaseElement",
|
||||
"HTMLBodyElement",
|
||||
"HTMLBRElement",
|
||||
"HTMLButtonElement",
|
||||
"HTMLCanvasElement",
|
||||
"HTMLCollection",
|
||||
"HTMLDataElement",
|
||||
"HTMLDataListElement",
|
||||
"HTMLDetailsElement",
|
||||
"HTMLDialogElement",
|
||||
"HTMLDirectoryElement",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue