[webkit-changes] [WebKit/WebKit] 1c13b5: [css-text-decor] Don't propagate decorations to in...
Ahmad Saleem
noreply at github.com
Fri Jun 23 12:13:25 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1c13b5adb5e3ed5e11d75560a48c8e2ab21c855c
https://github.com/WebKit/WebKit/commit/1c13b5adb5e3ed5e11d75560a48c8e2ab21c855c
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2023-06-23 (Fri, 23 Jun 2023)
Changed paths:
A LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/text-decoration-propagation-02-expected.html
A LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/text-decoration-propagation-02.html
A LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/text-decoration-propagation-03-expected.html
A LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/text-decoration-propagation-03.html
M Source/WebCore/style/StyleAdjuster.cpp
Log Message:
-----------
[css-text-decor] Don't propagate decorations to inline-flex/inline-grid
https://bugs.webkit.org/show_bug.cgi?id=258420
Reviewed by Tim Nguyen.
This patch aligns WebKit with Gecko / Firefox and Blink / Chromium.
This patch extends our 'shouldInheritTextDecorations' to also account for
additional atomic inlines (i.e., Inline-Flex and Inline-Grid).
* Source/WebCore/style/StyleAdjuster.cpp:
(shouldInheritTextDecorationsInEffect): Add two more display types to not propagate text decorations
* LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/text-decoration-propagation-02.html: Add Test Case
* LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/text-decoration-propagation-02-expected.html: Add Test Case Expectation
* LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/text-decoration-propagation-03.html: Add Test Case
* LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/text-decoration-propagation-03-expected.html: Add Test Case Expectation
Canonical link: https://commits.webkit.org/265471@main
More information about the webkit-changes
mailing list