[css-scroll-snap] only preserve a target if we have targets for both axes
<rdar://problem/100737724>
Pull request: https://github.com/WebKit/WebKit/pull/4949
Committed 255493@main (501296a3e648): <https://commits.webkit.org/255493@main> Reviewed commits have been landed. Closing PR #4949 and removing active labels.