📄 domwindow.idl
字号:
attribute CSSVariablesRuleConstructor CSSVariablesRule; attribute CSSVariablesDeclarationConstructor CSSVariablesDeclaration; attribute CSSStyleDeclarationConstructor CSSStyleDeclaration; attribute MediaListConstructor MediaList; attribute CounterConstructor Counter; attribute CSSRuleListConstructor CSSRuleList; attribute RectConstructor Rect; attribute StyleSheetListConstructor StyleSheetList; // FIXME: Implement the commented-out global constructors for interfaces listed in DOM Level 3 Core specification. attribute DOMCoreExceptionConstructor DOMException; attribute DOMStringListConstructor DOMStringList;// attribute NameListConstructor NameList;// attribute DOMImplementationListConstructor DOMImplementationList;// attribute DOMImplementationSourceConstructor DOMImplementationSource; attribute DOMImplementationConstructor DOMImplementation; attribute DocumentFragmentConstructor DocumentFragment; attribute DocumentConstructor Document; attribute NodeConstructor Node; attribute NodeListConstructor NodeList; attribute NamedNodeMapConstructor NamedNodeMap; attribute CharacterDataConstructor CharacterData; attribute AttrConstructor Attr; attribute ElementConstructor Element; attribute TextConstructor Text; attribute CommentConstructor Comment;// attribute TypeInfoConstructor TypeInfo;// attribute UserDataHandlerConstructor UserDataHandler;// attribute DOMErrorConstructor DOMError;// attribute DOMErrorHandlerConstructor DOMErrorHandler// attribute DOMLocatorConstructor DOMLocator;// attribute DOMConfigurationConstructor DOMConfiguration; attribute CDATASectionConstructor CDATASection; attribute DocumentTypeConstructor DocumentType; attribute NotationConstructor Notation; attribute EntityConstructor Entity; attribute EntityReferenceConstructor EntityReference; attribute ProcessingInstructionConstructor ProcessingInstruction; attribute HTMLDocumentConstructor HTMLDocument; attribute HTMLElementConstructor HTMLElement; attribute HTMLAnchorElementConstructor HTMLAnchorElement; attribute HTMLAppletElementConstructor HTMLAppletElement; attribute HTMLAreaElementConstructor HTMLAreaElement; attribute HTMLBRElementConstructor HTMLBRElement; attribute HTMLBaseElementConstructor HTMLBaseElement; attribute HTMLBaseFontElementConstructor HTMLBaseFontElement; attribute HTMLBlockquoteElementConstructor HTMLBlockquoteElement; attribute HTMLBodyElementConstructor HTMLBodyElement; attribute HTMLButtonElementConstructor HTMLButtonElement; attribute HTMLCanvasElementConstructor HTMLCanvasElement; attribute HTMLDListElementConstructor HTMLDListElement; attribute HTMLDirectoryElementConstructor HTMLDirectoryElement; attribute HTMLDivElementConstructor HTMLDivElement; attribute HTMLEmbedElementConstructor HTMLEmbedElement; attribute HTMLFieldSetElementConstructor HTMLFieldSetElement; attribute HTMLFontElementConstructor HTMLFontElement; attribute HTMLFormElementConstructor HTMLFormElement; attribute HTMLFrameElementConstructor HTMLFrameElement; attribute HTMLFrameSetElementConstructor HTMLFrameSetElement; attribute HTMLHRElementConstructor HTMLHRElement; attribute HTMLHeadElementConstructor HTMLHeadElement; attribute HTMLHeadingElementConstructor HTMLHeadingElement; attribute HTMLHtmlElementConstructor HTMLHtmlElement; attribute HTMLIFrameElementConstructor HTMLIFrameElement; attribute HTMLImageElementConstructor HTMLImageElement; attribute HTMLInputElementConstructor HTMLInputElement; attribute HTMLIsIndexElementConstructor HTMLIsIndexElement; attribute HTMLLIElementConstructor HTMLLIElement; attribute HTMLLabelElementConstructor HTMLLabelElement; attribute HTMLLegendElementConstructor HTMLLegendElement; attribute HTMLLinkElementConstructor HTMLLinkElement; attribute HTMLMapElementConstructor HTMLMapElement; attribute HTMLMarqueeElementConstructor HTMLMarqueeElement; attribute HTMLMenuElementConstructor HTMLMenuElement; attribute HTMLMetaElementConstructor HTMLMetaElement; attribute HTMLModElementConstructor HTMLModElement; attribute HTMLOListElementConstructor HTMLOListElement; attribute HTMLObjectElementConstructor HTMLObjectElement; attribute HTMLOptGroupElementConstructor HTMLOptGroupElement; attribute HTMLOptionElementConstructor HTMLOptionElement; attribute HTMLParagraphElementConstructor HTMLParagraphElement; attribute HTMLParamElementConstructor HTMLParamElement; attribute HTMLPreElementConstructor HTMLPreElement; attribute HTMLQuoteElementConstructor HTMLQuoteElement; attribute HTMLScriptElementConstructor HTMLScriptElement; attribute HTMLSelectElementConstructor HTMLSelectElement; attribute HTMLStyleElementConstructor HTMLStyleElement; attribute HTMLTableCaptionElementConstructor HTMLTableCaptionElement; attribute HTMLTableCellElementConstructor HTMLTableCellElement; attribute HTMLTableColElementConstructor HTMLTableColElement; attribute HTMLTableElementConstructor HTMLTableElement; attribute HTMLTableRowElementConstructor HTMLTableRowElement; attribute HTMLTableSectionElementConstructor HTMLTableSectionElement; attribute HTMLTextAreaElementConstructor HTMLTextAreaElement; attribute HTMLTitleElementConstructor HTMLTitleElement; attribute HTMLUListElementConstructor HTMLUListElement; attribute HTMLCollectionConstructor HTMLCollection; attribute CanvasRenderingContext2DConstructor CanvasRenderingContext2D; attribute TextMetricsConstructor TextMetrics; attribute EventConstructor Event; attribute KeyboardEventConstructor KeyboardEvent; attribute MouseEventConstructor MouseEvent; attribute MutationEventConstructor MutationEvent; attribute OverflowEventConstructor OverflowEvent; attribute ProgressEventConstructor ProgressEvent; attribute TextEventConstructor TextEvent; attribute UIEventConstructor UIEvent; attribute WebKitAnimationEventConstructor WebKitAnimationEvent; attribute WebKitTransitionEventConstructor WebKitTransitionEvent; attribute WheelEventConstructor WheelEvent; attribute MessageEventConstructor MessageEvent; attribute EventExceptionConstructor EventException; attribute WebKitCSSKeyframeRuleConstructor WebKitCSSKeyframeRule; attribute WebKitCSSKeyframesRuleConstructor WebKitCSSKeyframesRule;#if ENABLE_CHANNEL_MESSAGING attribute MessagePortConstructor MessagePort;#endif attribute ClipboardConstructor Clipboard; attribute FileConstructor File; attribute FileListConstructor FileList; attribute NodeFilterConstructor NodeFilter; attribute RangeConstructor Range; attribute RangeExceptionConstructor RangeException; // Mozilla has a separate XMLDocument object for XML documents. // We just use Document for this. attribute DocumentConstructor XMLDocument; attribute DOMParserConstructor DOMParser; attribute XMLSerializerConstructor XMLSerializer; attribute XMLHttpRequestUploadConstructor XMLHttpRequestUpload; attribute XMLHttpRequestExceptionConstructor XMLHttpRequestException;#if defined(V8_BINDING) // With JSC, these are added in JSDOMWindowBase.cpp. attribute XMLHttpRequestConstructor XMLHttpRequest; attribute XSLTProcessorConstructor XSLTProcessor; attribute MessageChannelConstructor MessageChannel; attribute WebKitPointConstructor WebKitPoint;#if ENABLE_WORKERS attribute WorkerConstructor Worker;#endif attribute WebKitCSSMatrixConstructor WebKitCSSMatrix;#endif // V8_BINDING attribute PluginConstructor Plugin; attribute PluginArrayConstructor PluginArray; attribute MimeTypeConstructor MimeType; attribute MimeTypeArrayConstructor MimeTypeArray; attribute ClientRectConstructor ClientRect; attribute ClientRectListConstructor ClientRectList;#if ENABLE_DOM_STORAGE attribute StorageConstructor Storage; attribute StorageEventConstructor StorageEvent;#endif#if ENABLE_VIDEO attribute HTMLAudioElementConstructor HTMLAudioElement; attribute HTMLMediaElementConstructor HTMLMediaElement; attribute HTMLVideoElementConstructor HTMLVideoElement; attribute MediaErrorConstructor MediaError;#endif#if ENABLE_XPATH attribute XPathEvaluatorConstructor XPathEvaluator; attribute XPathResultConstructor XPathResult; attribute XPathExceptionConstructor XPathException;#endif#if ENABLE_SVG attribute SVGAngleConstructor SVGAngle; attribute SVGColorConstructor SVGColor;// attribute SVGCSSRuleConstructor SVGCSSRule; attribute SVGExceptionConstructor SVGException; attribute SVGGradientElementConstructor SVGGradientElement; attribute SVGLengthConstructor SVGLength; attribute SVGMarkerElementConstructor SVGMarkerElement; attribute SVGPaintConstructor SVGPaint; attribute SVGPathSegConstructor SVGPathSeg; attribute SVGPreserveAspectRatioConstructor SVGPreserveAspectRatio; attribute SVGRenderingIntentConstructor SVGRenderingIntent; attribute SVGTextContentElementConstructor SVGTextContentElement; attribute SVGTextPathElementConstructor SVGTextPathElement; attribute SVGTransformConstructor SVGTransform; attribute SVGUnitTypesConstructor SVGUnitTypes;// attribute SVGZoomAndPanConstructor SVGZoomAndPan;#endif#if ENABLE_SVG_FILTERS attribute SVGComponentTransferFunctionElementConstructor SVGComponentTransferFunctionElement; attribute SVGFEBlendElementConstructor SVGFEBlendElement; attribute SVGFEColorMatrixElementConstructor SVGFEColorMatrixElement; attribute SVGFECompositeElementConstructor SVGFECompositeElement;// attribute SVGFEConvolveMatrixElementConstructor SVGFEConvolveMatrixElement; attribute SVGFEDisplacementMapElementConstructor SVGFEDisplacementMapElement;// attribute SVGFEMorphologyElementConstructor SVGFEMorphologyElement; attribute SVGFETurbulenceElementConstructor SVGFETurbulenceElement;#endif#endif // defined(LANGUAGE_JAVASCRIPT)#if defined(V8_BINDING) // These were implemented in JSCDOMWindowBase and not moved to IDL yet. [Custom] DOMWindow open(in DOMString url, in DOMString name, in [Optional] DOMString options); [Custom] DOMObject showModalDialog(in DOMString url, in [Optional] DOMObject dialogArgs, in [Optional] DOMString featureArgs); // These are defined on JSDOMWindowBase, but not implemented. [Custom=DOMWindowNOP] void captureEvents(in long eventFlags); [Custom=DOMWindowNOP] void releaseEvents(in long eventFlags); // window.toString requires special handling [V8DoNotCheckSignature, DoNotCheckDomainSecurity, Custom, DontEnum] DOMString toString();#endif // defined(V8_BINDING) };}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -