Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 380d2a88248a012711decb29534dabf3f43f3a6e
      
https://github.com/WebKit/WebKit/commit/380d2a88248a012711decb29534dabf3f43f3a6e
  Author: Rob Buis <[email protected]>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-style-counters-005-expected.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-style-counters-005.html
    M Source/WebCore/rendering/RenderCounter.cpp

  Log Message:
  -----------
  Invalid counters after contain: style
https://bugs.webkit.org/show_bug.cgi?id=246216

Reviewed by Darin Adler.

Add the concept of an enclosing style containment
ancestor to previousInPreOrder and rename the method
to make it clear this is being done.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-style-counters-005-expected.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-style-counters-005.html:
 Added.
* Source/WebCore/rendering/RenderCounter.cpp:
(WebCore::previousInPreOrderRespectingContainment):
(WebCore::findPlaceForCounter):
(WebCore::previousInPreOrder): Deleted.

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


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

Reply via email to