зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1359269 - Part 4: Update HTML spec idl files to use attributes on types; r=bzbarsky
See https://github.com/whatwg/html/pull/2580 Depends on D19735 Differential Revision: https://phabricator.services.mozilla.com/D19736 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
d9f6bbadd9
Коммит
dff12dbf00
|
@ -16,16 +16,16 @@ interface HTMLBodyElement : HTMLElement {
|
|||
};
|
||||
|
||||
partial interface HTMLBodyElement {
|
||||
[CEReactions, TreatNullAs=EmptyString, SetterThrows]
|
||||
attribute DOMString text;
|
||||
[CEReactions, TreatNullAs=EmptyString, SetterThrows]
|
||||
attribute DOMString link;
|
||||
[CEReactions, TreatNullAs=EmptyString, SetterThrows]
|
||||
attribute DOMString vLink;
|
||||
[CEReactions, TreatNullAs=EmptyString, SetterThrows]
|
||||
attribute DOMString aLink;
|
||||
[CEReactions, TreatNullAs=EmptyString, SetterThrows]
|
||||
attribute DOMString bgColor;
|
||||
[CEReactions, SetterThrows]
|
||||
attribute [TreatNullAs=EmptyString] DOMString text;
|
||||
[CEReactions, SetterThrows]
|
||||
attribute [TreatNullAs=EmptyString] DOMString link;
|
||||
[CEReactions, SetterThrows]
|
||||
attribute [TreatNullAs=EmptyString] DOMString vLink;
|
||||
[CEReactions, SetterThrows]
|
||||
attribute [TreatNullAs=EmptyString] DOMString aLink;
|
||||
[CEReactions, SetterThrows]
|
||||
attribute [TreatNullAs=EmptyString] DOMString bgColor;
|
||||
[CEReactions, SetterThrows]
|
||||
attribute DOMString background;
|
||||
};
|
||||
|
|
|
@ -25,8 +25,8 @@ interface HTMLElement : Element {
|
|||
[Constant]
|
||||
readonly attribute DOMStringMap dataset;
|
||||
|
||||
[CEReactions, GetterThrows, Pure, TreatNullAs=EmptyString]
|
||||
attribute DOMString innerText;
|
||||
[CEReactions, GetterThrows, Pure]
|
||||
attribute [TreatNullAs=EmptyString] DOMString innerText;
|
||||
|
||||
// user interaction
|
||||
[CEReactions, SetterThrows, Pure]
|
||||
|
|
|
@ -90,8 +90,8 @@ interface HTMLInputElement : HTMLElement {
|
|||
attribute DOMString type;
|
||||
[CEReactions, Pure, SetterThrows]
|
||||
attribute DOMString defaultValue;
|
||||
[CEReactions, Pure, TreatNullAs=EmptyString, SetterThrows, NeedsCallerType]
|
||||
attribute DOMString value;
|
||||
[CEReactions, Pure, SetterThrows, NeedsCallerType]
|
||||
attribute [TreatNullAs=EmptyString] DOMString value;
|
||||
[Throws, Func="HTMLInputElement::ValueAsDateEnabled"]
|
||||
attribute Date? valueAsDate;
|
||||
[Pure, SetterThrows]
|
||||
|
|
|
@ -49,7 +49,7 @@ interface HTMLTextAreaElement : HTMLElement {
|
|||
readonly attribute DOMString type;
|
||||
[CEReactions, Throws, Pure]
|
||||
attribute DOMString defaultValue;
|
||||
[CEReactions, SetterThrows, TreatNullAs=EmptyString] attribute DOMString value;
|
||||
[CEReactions, SetterThrows] attribute [TreatNullAs=EmptyString] DOMString value;
|
||||
readonly attribute unsigned long textLength;
|
||||
|
||||
readonly attribute boolean willValidate;
|
||||
|
|
Загрузка…
Ссылка в новой задаче