Bug 271641
| Summary: | [serializing] touch-action "pan-y pan-x" should be reordered as "pan-x pan-y" when serializing | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Karl Dubost <karlcow> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ahmad.saleem792, obrufau, webkit-bug-importer, zakr |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar, WPTImpact |
| Version: | Safari 17 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://wpt.fyi/pointerevents/parsing/touch-action-valid.html | ||
Karl Dubost
http://wpt.live/pointerevents/parsing/touch-action-valid.html
http://wpt.fyi/pointerevents/parsing/touch-action-valid.html
With
<div id="target" style="touch-action:pan-y pan-x">foo</div>
Then
const target = document.querySelector("#target");
target.style.cssText;
target.style.getPropertyValue("touch-action");
window.getComputedStyle(target).touchAction
Safari:
cssText: "touch-action: pan-y pan-x;"
getPropertyValue: "pan-y pan-x"
getComputedStyle: ""
Firefox:
cssText: "touch-action: pan-x pan-y;"
getPropertyValue: "pan-x pan-y"
getComputedStyle: "pan-x pan-y"
Chrome:
cssText: "touch-action: pan-x pan-y;"
getPropertyValue: "pan-x pan-y"
getComputedStyle: "pan-x pan-y"
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/125349558>
zak ridouh
Pull request: https://github.com/WebKit/WebKit/pull/32180
EWS
Committed 282249@main (9fd0377d3643): <https://commits.webkit.org/282249@main>
Reviewed commits have been landed. Closing PR #32180 and removing active labels.