Bug 253933

Summary: Correct RenderListMarker::styleDidChange check for list-style-type after 261651@main
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: CSSAssignee: Tim Nguyen (:ntim) <ntim>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Tim Nguyen (:ntim)
Reported 2023-03-14 22:14:41 PDT
The new check in 261651@main is incorrect, we can simply remove the `style().listStyleType().type == ListStyleType::Type::String` part. The `style().listStyleType() != oldStyle->listStyleType()` now covers the string case too, since ListStyleType's equality operator checks both the identifier and the type.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-03-14 22:14:59 PDT
Tim Nguyen (:ntim)
Comment 2 2023-03-14 22:16:27 PDT
EWS
Comment 3 2023-03-14 22:38:41 PDT
Committed 261675@main (2d0106d057af): <https://commits.webkit.org/261675@main> Reviewed commits have been landed. Closing PR #11539 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.