haikuwebkit/Source/WebCore/dom/Range+CSSOMView.idl

31 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

[WebIDL] Split more IDL files by spec https://bugs.webkit.org/show_bug.cgi?id=217279 Reviewed by Darin Adler. - Splits out more partial and mixin interfaces from Element, Range, HTMLBodyElement, HTMLImageElement and DOMWindow. - Renames HTMLMediaElementAudioOutput.idl to HTMLMediaElement+AudioOutput.idl for consistency with all other partial interfaces. - Replace GlobalCrypto and GlobalPerformance with WindowOrWorkerGlobalScope partials as currently speced. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * dom/Document.idl: * dom/Element+CSSOMView.idl: Added. * dom/Element+Fullscreen.idl: Added. * dom/Element+PointerEvents.idl: Added. * dom/Element+PointerLock.idl: Added. * dom/Element.idl: * dom/Range+CSSOMView.idl: Added. * dom/Range+DOMParsing.idl: Added. * dom/Range.idl: * html/HTMLBodyElement+Compat.idl: Added. * html/HTMLBodyElement.idl: * html/HTMLImageElement+CSSOMView.idl: Added. * html/HTMLImageElement.idl: * html/HTMLMediaElement+AudioOutput.idl: Added. * html/HTMLMediaElementAudioOutput.idl: Removed. * page/DOMWindow+CSSOM.idl: Added. * page/DOMWindow+CSSOMView.idl: Added. * page/DOMWindow+Compat.idl: Added. * page/DOMWindow+DeviceMotion.idl: Added. * page/DOMWindow+DeviceOrientation.idl: Added. * page/DOMWindow+RequestIdleCallback.idl: Added. * page/DOMWindow+Selection.idl: Added. * page/DOMWindow+VisualViewport.idl: Added. * page/DOMWindow.idl: * page/GlobalCrypto.idl: Removed. * page/GlobalPerformance.idl: Removed. * page/WindowEventHandlers.idl: * page/WindowLocalStorage.idl: Added. * page/WindowOrWorkerGlobalScope+Crypto.idl: Added. * page/WindowOrWorkerGlobalScope+Performance.idl: Added. * page/WindowSessionStorage.idl: Added. * workers/WorkerGlobalScope.idl: Canonical link: https://commits.webkit.org/230046@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-10-03 21:54:58 +00:00
/*
* Copyright (C) 2020 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.csswg.org/cssom-view/#extensions-to-the-range-interface
partial interface Range {
DOMRectList getClientRects();
[NewObject] DOMRect getBoundingClientRect();
};