[webkit-changes] [WebKit/WebKit] cbe37d: Respect style containment on list items

Rob Buis noreply at github.com
Fri May 19 14:10:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cbe37d744f2fd617ae9dfa317f3e553c02b32c93
      https://github.com/WebKit/WebKit/commit/cbe37d744f2fd617ae9dfa317f3e553c02b32c93
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/rendering/RenderListItem.cpp

  Log Message:
  -----------
  Respect style containment on list items
https://bugs.webkit.org/show_bug.cgi?id=256884

Reviewed by Oriol Brufau.

List items can be affected by style containment
as a scope for the current counter, just like
normal lists [1].
[1] https://drafts.csswg.org/css-contain-2/#containment-style

* LayoutTests/TestExpectations:
* Source/WebCore/rendering/RenderListItem.cpp:
(WebCore::enclosingList):

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




More information about the webkit-changes mailing list