mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove not-yet-implemented members from IDL and Rust code.
These stub implementations bring no value, and significantly increased maintenance costs. This commit also synchronizes the IDL with the HTML specification and makes the URLs consistent.
This commit is contained in:
parent
eaae994d57
commit
a0783aebbf
131 changed files with 887 additions and 5544 deletions
|
@ -1,50 +1,29 @@
|
|||
/* -*- 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/
|
||||
*
|
||||
* © 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.
|
||||
*/
|
||||
* 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/. */
|
||||
|
||||
// http://www.whatwg.org/html/#htmltablecellelement
|
||||
interface HTMLTableCellElement : HTMLElement {
|
||||
[SetterThrows]
|
||||
attribute unsigned long colSpan;
|
||||
[SetterThrows]
|
||||
attribute unsigned long rowSpan;
|
||||
[SetterThrows]
|
||||
attribute DOMString headers;
|
||||
readonly attribute long cellIndex;
|
||||
// attribute unsigned long colSpan;
|
||||
// attribute unsigned long rowSpan;
|
||||
//[PutForwards=value] readonly attribute DOMSettableTokenList headers;
|
||||
//readonly attribute long cellIndex;
|
||||
|
||||
// Mozilla-specific extensions
|
||||
[SetterThrows]
|
||||
attribute DOMString abbr;
|
||||
[SetterThrows]
|
||||
attribute DOMString scope;
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
// http://www.whatwg.org/html/#HTMLTableCellElement-partial
|
||||
partial interface HTMLTableCellElement {
|
||||
[SetterThrows]
|
||||
attribute DOMString align;
|
||||
[SetterThrows]
|
||||
attribute DOMString axis;
|
||||
[SetterThrows]
|
||||
attribute DOMString height;
|
||||
[SetterThrows]
|
||||
attribute DOMString width;
|
||||
// attribute DOMString align;
|
||||
// attribute DOMString axis;
|
||||
// attribute DOMString height;
|
||||
// attribute DOMString width;
|
||||
|
||||
[SetterThrows]
|
||||
attribute DOMString ch;
|
||||
[SetterThrows]
|
||||
attribute DOMString chOff;
|
||||
[SetterThrows]
|
||||
attribute boolean noWrap;
|
||||
[SetterThrows]
|
||||
attribute DOMString vAlign;
|
||||
// attribute DOMString ch;
|
||||
// attribute DOMString chOff;
|
||||
// attribute boolean noWrap;
|
||||
// attribute DOMString vAlign;
|
||||
|
||||
[TreatNullAs=EmptyString, SetterThrows] attribute DOMString bgColor;
|
||||
//[TreatNullAs=EmptyString] attribute DOMString bgColor;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue