Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7a26f091845de2ef6d433f55f0386891b03e3691
      
https://github.com/WebKit/WebKit/commit/7a26f091845de2ef6d433f55f0386891b03e3691
  Author: Alan Baradlay <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to