Auto merge of #12530 - woshilapin:fix-12415/htmltable, r=jdm

partial-fix #12415: incorrect exposure of Window,Worker in webidl

<!-- Please describe your changes on the following line: -->

---
<!-- 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
- [X] These changes fix (partially) #12415 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they don't add any feature

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

* HTMLTableCaptionElement.webidl [[spec](https://html.spec.whatwg.org/multipage/#htmltablecaptionelement)]
* HTMLTableCellElement.webidl [[spec](https://html.spec.whatwg.org/multipage/#htmltablecellelement)]
* HTMLTableColElement.webidl [[spec](https://html.spec.whatwg.org/multipage/#htmltablecolelement)]
* HTMLTableElement.webidl [[spec](https://html.spec.whatwg.org/multipage/#htmltableelement)]
* HTMLTableRowElement.webidl [[spec](https://html.spec.whatwg.org/multipage/#htmltablerowelement)]
* HTMLTableSectionElement.webidl [[spec](https://html.spec.whatwg.org/multipage/#htmltablesectionelement)]

<!-- 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/12530)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-07-23 00:10:27 -05:00 committed by GitHub
commit 7c8bd58c4a
9 changed files with 1 additions and 16 deletions

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltablecaptionelement
[Exposed=(Window,Worker)]
interface HTMLTableCaptionElement : HTMLElement {
// also has obsolete members
};

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltablecellelement
[Abstract, Exposed=(Window,Worker)]
[Abstract]
interface HTMLTableCellElement : HTMLElement {
attribute unsigned long colSpan;
// attribute unsigned long rowSpan;

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltablecolelement
[Exposed=(Window,Worker)]
interface HTMLTableColElement : HTMLElement {
// attribute unsigned long span;

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltabledatacellelement
[Exposed=(Window,Worker)]
interface HTMLTableDataCellElement : HTMLTableCellElement {
// also has obsolete members
};

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltableelement
[Exposed=(Window,Worker)]
interface HTMLTableElement : HTMLElement {
attribute HTMLTableCaptionElement? caption;
HTMLTableCaptionElement createCaption();

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltableheadercellelement
[Exposed=(Window,Worker)]
interface HTMLTableHeaderCellElement : HTMLTableCellElement {
// attribute DOMString scope;
// attribute DOMString abbr;

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltablerowelement
[Exposed=(Window,Worker)]
interface HTMLTableRowElement : HTMLElement {
readonly attribute long rowIndex;
readonly attribute long sectionRowIndex;

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmltablesectionelement
[Exposed=(Window,Worker)]
interface HTMLTableSectionElement : HTMLElement {
readonly attribute HTMLCollection rows;
[Throws]

View file

@ -93,14 +93,6 @@ test_interfaces([
"HTMLOptionElement",
"HTMLOutputElement",
"HTMLScriptElement",
"HTMLTableCaptionElement",
"HTMLTableCellElement",
"HTMLTableColElement",
"HTMLTableDataCellElement",
"HTMLTableElement",
"HTMLTableHeaderCellElement",
"HTMLTableRowElement",
"HTMLTableSectionElement",
"ImageData",
"Image",
"KeyboardEvent",