Changeset 269836 in webkit


Ignore:
Timestamp:
Nov 15, 2020 8:53:16 PM (3 years ago)
Author:
Alan Bujtas
Message:

[LFC][Integration] Disable modern line layout for fieldset children.
https://bugs.webkit.org/show_bug.cgi?id=218963

Reviewed by Sam Weinig.

Fieldsets don't follow the standard CSS box model. They require special handling.

  • layout/integration/LayoutIntegrationCoverage.cpp:

(WebCore::LayoutIntegration::canUseForChild):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r269835 r269836  
     12020-11-15  Zalan Bujtas  <zalan@apple.com>
     2
     3        [LFC][Integration] Disable modern line layout for fieldset children.
     4        https://bugs.webkit.org/show_bug.cgi?id=218963
     5
     6        Reviewed by Sam Weinig.
     7
     8        Fieldsets don't follow the standard CSS box model. They require special handling.
     9
     10        * layout/integration/LayoutIntegrationCoverage.cpp:
     11        (WebCore::LayoutIntegration::canUseForChild):
     12
    1132020-11-15  Simon Fraser  <simon.fraser@apple.com>
    214
  • trunk/Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp

    r269779 r269836  
    575575        return reasons;
    576576
     577    if (child.isFieldset()) {
     578        // Fieldsets don't follow the standard CSS box model. They require special handling.
     579        SET_REASON_AND_RETURN_IF_NEEDED(FlowHasNonSupportedChild, reasons, includeReasons)
     580    }
     581
    577582#if ALLOW_IMAGES || ALLOW_ALL_REPLACED
    578583    if (is<RenderReplaced>(child)) {
Note: See TracChangeset for help on using the changeset viewer.