Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9c83f601b16c798e387092201342565c600e6fe6
https://github.com/WebKit/WebKit/commit/9c83f601b16c798e387092201342565c600e6fe6
Author: Brent Fulgham <[email protected]>
Date: 2026-10-14 (Wed, 14 Oct 2026)
Changed paths:
M LayoutTests/TestExpectations
M LayoutTests/fast/quirks/active-quirks-by-domain-expected.txt
M LayoutTests/fast/quirks/active-quirks-by-domain.html
A LayoutTests/fast/quirks/model-element-fallback-content-quirk-expected.txt
A LayoutTests/fast/quirks/model-element-fallback-content-quirk.html
M LayoutTests/platform/glib/fast/quirks/active-quirks-by-domain-expected.txt
M LayoutTests/platform/ios/fast/quirks/active-quirks-by-domain-expected.txt
M LayoutTests/platform/ipad/fast/quirks/active-quirks-by-domain-expected.txt
M
LayoutTests/platform/mac-sequoia/fast/quirks/active-quirks-by-domain-expected.txt
M
LayoutTests/platform/mac-tahoe/fast/quirks/active-quirks-by-domain-expected.txt
M LayoutTests/platform/mac-wk2/TestExpectations
M LayoutTests/platform/visionos/TestExpectations
M Source/WebCore/Modules/model-element/HTMLModelElement.cpp
M Source/WebCore/Modules/model-element/HTMLModelElement.h
M Source/WebCore/page/QuirkBehaviors.yaml
M Source/WebCore/page/QuirkBuildConditions.yaml
M Source/WebCore/page/QuirkTable.cpp
M Source/WebCore/page/QuirkTable.json
Log Message:
-----------
[Quirks] configurator.audi.com: engine configuration panel inside <model> is
not rendered
https://bugs.webkit.org/show_bug.cgi?id=327442
rdar://181630431
Reviewed by Cole Carley and Mike Wyrzykowski.
configurator.audi.com wraps its engine configuration panel in a <model>
element that it uses as an unknown element. WebKit parses it as
HTMLModelElement, whose replaced RenderModel cannot have children, so the
whole panel is missing; engines without <model> render it. Add a quirk that
gives a <model> with no source the generic element renderer on that site, so
its children render as they do elsewhere. A <model> with a source still gets
RenderModel.
The quirk is read once per element, when it is created or moves to a new
document, so isReplaced() and the renderer always agree, and setSourceURL()
rebuilds the renderer when a source is added or removed.
Test: fast/quirks/model-element-fallback-content-quirk.html
* LayoutTests/fast/quirks/active-quirks-by-domain-expected.txt:
* LayoutTests/fast/quirks/active-quirks-by-domain.html:
* LayoutTests/fast/quirks/model-element-fallback-content-quirk-expected.txt:
Added.
* LayoutTests/fast/quirks/model-element-fallback-content-quirk.html: Added.
* LayoutTests/TestExpectations:
* LayoutTests/platform/glib/fast/quirks/active-quirks-by-domain-expected.txt:
* LayoutTests/platform/ios/fast/quirks/active-quirks-by-domain-expected.txt:
Also list the iPhone-only
ShouldEnterNativeFullscreenWhenCallingElementRequestFullscreen
quirk for chess.com and nba.com, which this baseline was missing.
* LayoutTests/platform/ipad/fast/quirks/active-quirks-by-domain-expected.txt:
Also remove ShouldDisableElementFullscreenQuirk for instagram.com, which no
longer exists.
*
LayoutTests/platform/mac-sequoia/fast/quirks/active-quirks-by-domain-expected.txt:
*
LayoutTests/platform/mac-tahoe/fast/quirks/active-quirks-by-domain-expected.txt:
* LayoutTests/platform/mac-wk2/TestExpectations:
* LayoutTests/platform/visionos/TestExpectations:
* Source/WebCore/Modules/model-element/HTMLModelElement.cpp:
(WebCore::HTMLModelElement::HTMLModelElement):
(WebCore::HTMLModelElement::setSourceURL):
(WebCore::HTMLModelElement::didMoveToNewDocument):
(WebCore::HTMLModelElement::createElementRenderer):
(WebCore::HTMLModelElement::isReplaced const):
(WebCore::HTMLModelElement::rendersFallbackContent const):
* Source/WebCore/Modules/model-element/HTMLModelElement.h:
* Source/WebCore/page/QuirkBehaviors.yaml:
* Source/WebCore/page/QuirkBuildConditions.yaml:
* Source/WebCore/page/QuirkTable.cpp:
* Source/WebCore/page/QuirkTable.json:
Canonical link: https://commits.webkit.org/323761@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications