[webkit-changes] [WebKit/WebKit] fcbca0: Implement no-quirks mode for media/plugin/ua-inlin...
Brent Fulgham
noreply at github.com
Thu Sep 15 12:35:06 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fcbca01158eb1b28827ffc219a09bde9f52b10bc
https://github.com/WebKit/WebKit/commit/fcbca01158eb1b28827ffc219a09bde9f52b10bc
Author: Brent Fulgham <bfulgham at apple.com>
Date: 2022-09-15 (Thu, 15 Sep 2022)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/read-media/pageload-image-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/read-media/pageload-video-expected.txt
M LayoutTests/media/modern-media-controls/media-documents/media-document-audio-ios-sizing-expected.txt
M LayoutTests/media/modern-media-controls/media-documents/media-document-audio-ios-sizing.html
M LayoutTests/platform/ipad/media/modern-media-controls/media-documents/media-document-audio-ios-sizing-expected.txt
M LayoutTests/platform/ipad/media/modern-media-controls/media-documents/media-document-audio-ios-sizing.html
A LayoutTests/platform/mac-wk1/fast/events/standalone-image-drag-to-editable-expected.txt
A LayoutTests/platform/mac/editing/pasteboard/copy-standalone-image-expected.html
M LayoutTests/platform/mac/http/tests/misc/acid3-expected.txt
M Source/WebCore/html/ImageDocument.cpp
M Source/WebCore/html/MediaDocument.cpp
M Source/WebCore/html/PluginDocument.cpp
M Source/WebCore/loader/SinkDocument.cpp
Log Message:
-----------
Implement no-quirks mode for media/plugin/ua-inline documents
https://bugs.webkit.org/show_bug.cgi?id=228832
<rdar://problem/81851619>
Reviewed by Chris Dumez.
Update Chris Dumez's original patch for 2022, taking into account Bug 244950,
which addressed Text documents.
* LayoutTests/media/modern-media-controls/media-documents/media-document-audio-ios-sizing.html: Update for non-quirks behavior.
* LayoutTests/media/modern-media-controls/media-documents/media-document-audio-ios-sizing-expected.txt: Ditto.
* LayoutTests/platform/ipad/media/modern-media-controls/media-documents/media-document-audio-ios-sizing.html: Ditto.
* LayoutTests/platform/ipad/media/modern-media-controls/media-documents/media-document-audio-ios-sizing-expected.txt: Ditto.
* LayoutTests/platform/mac/editing/pasteboard/copy-standalone-image-expected.html: macOS requires a slightly different
expected output, as it appears to include an unexpected <br> in the paste output that does not appear on iOS or GTK.
* LayoutTests/platform/mac-wk1/fast/events/standalone-image-drag-to-editable-expected.txt: Rebaseline for non-quirks behavior.
* LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/read-media/pageload-image-expected.txt: Update to
expect PASS.
* LayoutTests/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/read-media/pageload-video-expected.txt: Ditto.
* Source/WebCore/html/ImageDocument.cpp:
(WebCore::ImageDocument::createDocumentStructure): Use NoQuirksMode.
* Source/WebCore/html/MediaDocument.cpp:
(WebCore::MediaDocument::MediaDocument): Use NoQuirksMode.
* Source/WebCore/html/PluginDocument.cpp:
(WebCore::PluginDocumentParser::createDocumentStructure): Configure view with explicit height and width.
(WebCore::PluginDocument::PluginDocument): Use NoQuirksMode.
* Source/WebCore/loader/SinkDocument.cpp:
(WebCore::SinkDocument::SinkDocument): Use NoQuirksMode.
Canonical link: https://commits.webkit.org/254526@main
More information about the webkit-changes
mailing list