Title: [268804] trunk/Source/WebCore
- Revision
- 268804
- Author
- [email protected]
- Date
- 2020-10-21 10:10:14 -0700 (Wed, 21 Oct 2020)
Log Message
[LFC][Integration] Disable image map content
https://bugs.webkit.org/show_bug.cgi?id=218030
Reviewed by Antti Koivisto.
Image maps are not supported yet.
* layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForLineLayoutWithReason):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (268803 => 268804)
--- trunk/Source/WebCore/ChangeLog 2020-10-21 17:02:21 UTC (rev 268803)
+++ trunk/Source/WebCore/ChangeLog 2020-10-21 17:10:14 UTC (rev 268804)
@@ -1,3 +1,15 @@
+2020-10-21 Zalan Bujtas <[email protected]>
+
+ [LFC][Integration] Disable image map content
+ https://bugs.webkit.org/show_bug.cgi?id=218030
+
+ Reviewed by Antti Koivisto.
+
+ Image maps are not supported yet.
+
+ * layout/integration/LayoutIntegrationCoverage.cpp:
+ (WebCore::LayoutIntegration::canUseForLineLayoutWithReason):
+
2020-10-21 Chris Dumez <[email protected]>
Simplify ScriptExecutionContext::vm()
Modified: trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp (268803 => 268804)
--- trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp 2020-10-21 17:02:21 UTC (rev 268803)
+++ trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp 2020-10-21 17:10:14 UTC (rev 268804)
@@ -322,6 +322,8 @@
#if ALLOW_INLINE_IMAGES
if (is<RenderImage>(*child)) {
auto& image = downcast<RenderImage>(*child);
+ if (image.imageMap())
+ SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons);
if (image.isFloating() || image.isPositioned())
SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons);
auto& style = image.style();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes