Changeset 270026 in webkit


Ignore:
Timestamp:
Nov 19, 2020 6:18:29 AM (3 years ago)
Author:
Alan Bujtas
Message:

[LFC][Integration] Allow subpixel difference in the computed containing block height when switching between line layout systems
https://bugs.webkit.org/show_bug.cgi?id=219143

Reviewed by Antti Koivisto.

With all the seemingly random flooring, ceiling and rounding in the legacy line layout codebase,
it's really difficult to subpixel match the end result in a sane way in IFC as we start supporting more complex content.

  • rendering/RenderBlockFlow.cpp:

(WebCore::RenderBlockFlow::ensureLineBoxes):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r270025 r270026  
     12020-11-19  Zalan Bujtas  <zalan@apple.com>
     2
     3        [LFC][Integration] Allow subpixel difference in the computed containing block height when switching between line layout systems
     4        https://bugs.webkit.org/show_bug.cgi?id=219143
     5
     6        Reviewed by Antti Koivisto.
     7
     8        With all the seemingly random flooring, ceiling and rounding in the legacy line layout codebase,
     9        it's really difficult to subpixel match the end result in a sane way in IFC as we start supporting more complex content.
     10
     11        * rendering/RenderBlockFlow.cpp:
     12        (WebCore::RenderBlockFlow::ensureLineBoxes):
     13
    1142020-11-19  Antti Koivisto  <antti@apple.com>
    215
  • trunk/Source/WebCore/rendering/RenderBlockFlow.cpp

    r269818 r270026  
    36883688
    36893689    updateLogicalHeight();
    3690     ASSERT(didNeedLayout || logicalHeight() == oldHeight);
     3690    ASSERT(didNeedLayout || ceilf(logicalHeight()) == ceilf(oldHeight));
    36913691
    36923692    if (!didNeedLayout)
Note: See TracChangeset for help on using the changeset viewer.