Bug 271706 - [css-align] Fix serialization of place-content/items/self properties
Summary: [css-align] Fix serialization of place-content/items/self properties
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 17
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Nguyen (:ntim)
URL: https://wpt.fyi/results/css/css-align...
Keywords: BrowserCompat, InRadar, WPTImpact
Depends on:
Blocks:
 
Reported: 2024-03-26 07:20 PDT by Karl Dubost
Modified: 2024-07-28 19:37 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Dubost 2024-03-26 07:20:59 PDT
With 
  <div id="target" style="place-content: normal;">foo</div>
And
  const target = document.querySelector('#target');
  target.style.cssText;
  target.style.getPropertyValue('place-content');
  window.getComputedStyle(target).placeContent;


Safari
cssText:          "align-content: normal; justify-content: normal;"
getPropertyValue: "normal"
getComputedStyle: "normal normal"


Firefox
cssText:          "place-content: normal;"
getPropertyValue: "normal"
getComputedStyle: "normal"


Chrome
cssText:          "place-content: normal;"
getPropertyValue: "normal"
getComputedStyle: "normal"
Comment 1 Radar WebKit Bug Importer 2024-03-26 07:21:11 PDT
<rdar://problem/125415088>
Comment 2 Tim Nguyen (:ntim) 2024-07-27 22:14:29 PDT
Pull request: https://github.com/WebKit/WebKit/pull/31358
Comment 3 EWS 2024-07-28 19:37:29 PDT
Committed 281476@main (e095068eb230): <https://commits.webkit.org/281476@main>

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