[webkit-changes] [WebKit/WebKit] 7a26f0: [LFC][IFC] Fix css2.1/t0805-c5520-brdr-b-01-e.html

Alan Baradlay noreply at github.com
Fri Nov 18 15:07:26 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7a26f091845de2ef6d433f55f0386891b03e3691
      https://github.com/WebKit/WebKit/commit/7a26f091845de2ef6d433f55f0386891b03e3691
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
    M Source/WebCore/rendering/RenderListMarker.cpp
    M Source/WebCore/rendering/RenderListMarker.h

  Log Message:
  -----------
  [LFC][IFC] Fix css2.1/t0805-c5520-brdr-b-01-e.html
https://bugs.webkit.org/show_bug.cgi?id=248092

Reviewed by Antti Koivisto.

In standards mode, when nested list items end up on the same line (e.g. <ul><li><ul><li>one line),
the marker renderers are all inserted under the inner-most list item.
This patch ensures that we use the correct offset for such nested markers.

* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::updateListMarkerDimensions):
* Source/WebCore/rendering/RenderListMarker.cpp:
(WebCore::RenderListMarker::listItem const):
* Source/WebCore/rendering/RenderListMarker.h:

Canonical link: https://commits.webkit.org/256858@main




More information about the webkit-changes mailing list