[webkit-changes] [WebKit/WebKit] 35e55e: Don't apply the resize property to generated content

Ahmad Saleem noreply at github.com
Thu Oct 24 04:45:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 35e55ec1b4465996216272b1b28136b51867d760
      https://github.com/WebKit/WebKit/commit/35e55ec1b4465996216272b1b28136b51867d760
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2024-10-24 (Thu, 24 Oct 2024)

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

  Log Message:
  -----------
  Don't apply the resize property to generated content
https://bugs.webkit.org/show_bug.cgi?id=267519
rdar://121348638

Reviewed by Antoine Quint.

This patch aligns WebKit with Gecko / Firefox and Blink / Chromium.

Inspired by: https://chromium-review.googlesource.com/c/chromium/src/+/2584970

The spec says the behavior is currently undefined [1] and implementations
should not apply the property to generated content. Although it is still part of
the computed styles.

[1] https://drafts.csswg.org/css-ui/#resize

* Source/WebCore/rendering/RenderLayer.cpp:
(WebCore::RenderLayer::overflowControlsRects const):
* Source/WebCore/rendering/RenderLayerScrollableArea.cpp:
(WebCore::RenderLayerScrollableArea::overflowControlsRects const):
* LayoutTests/TestExpectations:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list