Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Remove HTMLFrameElement.width/height
Remove HTMLFrameElement.width/height https://bugs.webkit.org/show_bug.cgi?id=249966 Reviewed by Michael Catanzaro and Ryosuke Niwa. This patch is to align WebKit with Gecko / Firefox and Blink / Chromium by removing non-standard attributes. Merge - https://src.chromium.org/viewvc/blink?view=rev&revision=179130 This patch removes 'height' and 'width' attributes from the frame element, wihch were non-standard and was supported only in Internet Explorer 11 and WebKit. These were never supported by Gecko and later removed by Blink in 2014. * Source/WebCore/html/HTMLFrameElement.idl: Remove 'height' and 'width' * Source/WebCore/html/HTMLFrameElementBase.h: Remove 'height' and 'width' definitions * Source/WebCore/html/HTMLFrameElementBase.cpp: Remove 'height' and 'width' functions * Source/WebKitLegacy/mac/DOM/DOMHTMLFrameElement.mm: Ditto * Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameElement.cpp: Update to return "0" for 'height' and 'width' * Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLFrameElement.h: Update "return" comment * LayoutTests/fast/frames/resources/frame-programmatic-resize.js: Rebaselined * LayoutTests/fast/frames/frames-with-frameborder-zero-can-be-resized.html: Rebaselined * LayoutTests/fast/frames/frame-deep-nested-resize.html: Rebaselined * LayoutTests/fast/frames/frame-inherit-noresize-from-frameset-expected.txt: Rebaselined * LayoutTests/fast/frames/frame-js-url-clientWidth.html: Rebaselined * LayoutTests/fast/frames/frame-js-url-clientWidth-expected.txt: Rebaselined * LayoutTests/fast/frames/frame-programmatic-noresize-expected.txt: Rebaselined * LayoutTests/fast/frames/frame-with-noresize-can-be-resized-after-removal-of-noresize-expected.txt: Rebaselined * LayoutTests/fast/frames/frame-with-noresize-can-be-resized-after-removal-of-noresize-to-false-expected.txt: Rebaselined * LayoutTests/fast/frames/frameElement-widthheight.html: Deleted * LayoutTests/fast/frames/frameElement-widthheight-expected.txt: Ditto Canonical link: https://commits.webkit.org/258573@main
- Loading branch information
1 parent
981b5db
commit 38a2ac2
Showing
17 changed files
with
47 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
LayoutTests/fast/frames/frame-js-url-clientWidth-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
LayoutTests/fast/frames/frameElement-widthheight-expected.txt
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters