Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a93220eaa0257c948ad45e5d83e774f85cc44e1e
      
https://github.com/WebKit/WebKit/commit/a93220eaa0257c948ad45e5d83e774f85cc44e1e
  Author: Suraj Thanugundla <[email protected]>
  Date:   2026-09-03 (Thu, 03 Sep 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/parsing/overflow-clip-margin-computed-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/parsing/overflow-clip-margin-computed.html
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/parsing/overflow-clip-margin-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/parsing/overflow-clip-margin.html
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/overflow-clip-margin-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/overflow-clip-margin.html
    M Source/WebCore/css/CSSProperties.json
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Overflow.cpp
    M Source/WebCore/style/values/overflow/StyleOverflowClipMargin.h

  Log Message:
  -----------
  Allow negative length values for overflow-clip-margin property
https://bugs.webkit.org/show_bug.cgi?id=323162

Reviewed by Sam Weinig and Tim Nguyen.

In [1], CSSWG resolved that overflow-clip-margin also applies to
scrollable boxes and can take negative length values. Change the
CSS property definition, parser function and style value to allow
all length values. Layout and rendering code does not use the
property yet, so no changes needed there.

[1] https://github.com/w3c/csswg-drafts/issues/10745

Added new test cases in existing tests.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/parsing/overflow-clip-margin-computed-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/parsing/overflow-clip-margin-computed.html:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/parsing/overflow-clip-margin-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/parsing/overflow-clip-margin.html:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/overflow-clip-margin-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/overflow-clip-margin.html:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Overflow.cpp:
(WebCore::CSSPropertyParserHelpers::consumeOverflowClipMargin):
* Source/WebCore/style/values/overflow/StyleOverflowClipMargin.h:

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



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

Reply via email to