Add CEReactions where needed

This commit is contained in:
Connor Brewster 2017-07-10 14:47:03 -06:00
parent 438191e0b2
commit 2460997ee1
100 changed files with 1025 additions and 979 deletions

View file

@ -5,17 +5,24 @@
// https://html.spec.whatwg.org/multipage/#htmliframeelement
[HTMLConstructor]
interface HTMLIFrameElement : HTMLElement {
[CEReactions]
attribute DOMString src;
// [CEReactions]
// attribute DOMString srcdoc;
// https://github.com/servo/servo/issues/14453
// [CEReactions]
// attribute DOMString name;
[SameObject, PutForwards=value]
[SameObject, PutForwards=value]
readonly attribute DOMTokenList sandbox;
// [CEReactions]
// attribute boolean seamless;
[CEReactions]
attribute boolean allowFullscreen;
[CEReactions]
attribute DOMString width;
[CEReactions]
attribute DOMString height;
readonly attribute Document? contentDocument;
readonly attribute WindowProxy? contentWindow;
@ -25,20 +32,26 @@ interface HTMLIFrameElement : HTMLElement {
// https://html.spec.whatwg.org/multipage/#HTMLIFrameElement-partial
partial interface HTMLIFrameElement {
// [CEReactions]
// attribute DOMString align;
// [CEReactions]
// attribute DOMString scrolling;
[CEReactions]
attribute DOMString frameBorder;
// [CEReactions]
// attribute DOMString longDesc;
//[TreatNullAs=EmptyString] attribute DOMString marginHeight;
//[TreatNullAs=EmptyString] attribute DOMString marginWidth;
// [CEReactions, TreatNullAs=EmptyString]
// attribute DOMString marginHeight;
// [CEReactions, TreatNullAs=EmptyString]
// attribute DOMString marginWidth;
};
partial interface HTMLIFrameElement {
[Func="::dom::window::Window::global_is_mozbrowser"]
[CEReactions, Func="::dom::window::Window::global_is_mozbrowser"]
attribute boolean mozbrowser;
[Func="::dom::window::Window::global_is_mozbrowser"]
[CEReactions, Func="::dom::window::Window::global_is_mozbrowser"]
attribute boolean mozprivatebrowsing;
};