Changeset 269734 in webkit


Ignore:
Timestamp:
Nov 12, 2020 9:37:25 AM (3 years ago)
Author:
Alan Bujtas
Message:

[LFC][Integration] vertical-align: super and sub values are not supported yet.
https://bugs.webkit.org/show_bug.cgi?id=218851

Reviewed by Antti Koivisto.

  • layout/integration/LayoutIntegrationCoverage.cpp:

(WebCore::LayoutIntegration::canUseForChild):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r269732 r269734  
     12020-11-12  Zalan Bujtas  <zalan@apple.com>
     2
     3        [LFC][Integration] vertical-align: super and sub values are not supported yet.
     4        https://bugs.webkit.org/show_bug.cgi?id=218851
     5
     6        Reviewed by Antti Koivisto.
     7
     8        * layout/integration/LayoutIntegrationCoverage.cpp:
     9        (WebCore::LayoutIntegration::canUseForChild):
     10
    1112020-11-12  Antti Koivisto  <antti@apple.com>
    212
  • trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp

    r269681 r269734  
    588588            SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons);
    589589
     590        if (style.verticalAlign() == VerticalAlign::Sub || style.verticalAlign() == VerticalAlign::Super)
     591            SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons);
     592
    590593        if (is<RenderImage>(replaced)) {
    591594            auto& image = downcast<RenderImage>(replaced);
     
    612615
    613616        auto& style = block.style();
    614         if (style.verticalAlign() != VerticalAlign::Baseline)
     617        if (style.verticalAlign() == VerticalAlign::Sub || style.verticalAlign() == VerticalAlign::Super)
    615618            SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons);
    616619        if (style.width().isPercent() || style.height().isPercent())
Note: See TracChangeset for help on using the changeset viewer.