⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 268804 in webkit


Ignore:
Timestamp:
Oct 21, 2020, 10:10:14 AM (6 years ago)
Author:
Alan Bujtas
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r268801 r268804  
     12020-10-21  Zalan Bujtas  <zalan@apple.com>
     2
     3        [LFC][Integration] Disable image map content
     4        https://bugs.webkit.org/show_bug.cgi?id=218030
     5
     6        Reviewed by Antti Koivisto.
     7
     8        Image maps are not supported yet.
     9
     10        * layout/integration/LayoutIntegrationCoverage.cpp:
     11        (WebCore::LayoutIntegration::canUseForLineLayoutWithReason):
     12
    1132020-10-21  Chris Dumez  <cdumez@apple.com>
    214
  • trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp

    r268598 r268804  
    323323        if (is<RenderImage>(*child)) {
    324324            auto& image = downcast<RenderImage>(*child);
     325            if (image.imageMap())
     326                SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons);               
    325327            if (image.isFloating() || image.isPositioned())
    326328                SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons);
Note: See TracChangeset for help on using the changeset viewer.