Bug 247879

Summary: Clean up handling of background-position shorthand in StyleProperties::asTextInternal()
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: CSSAssignee: Tim Nguyen (:ntim) <ntim>
Status: RESOLVED FIXED    
Severity: Normal CC: obrufau, statontrey1, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Tim Nguyen (:ntim) 2022-11-13 23:10:51 PST
The old code was collapsing background-position-x/y into background-position.
It is not needed anymore, as returning true in canUseShorthandForLonghand for background-position has the same effect.

Test: fast/css/background-position-serialize.html
Comment 1 Radar WebKit Bug Importer 2022-11-13 23:11:51 PST
<rdar://problem/102306296>
Comment 2 Tim Nguyen (:ntim) 2022-11-13 23:13:48 PST
Pull request: https://github.com/WebKit/WebKit/pull/6458
Comment 3 EWS 2022-11-14 01:37:13 PST
Committed 256643@main (fd7fe182b10d): <https://commits.webkit.org/256643@main>

Reviewed commits have been landed. Closing PR #6458 and removing active labels.