This behavior is described by the CSS Transforms Modules Level 2 specification: https://drafts.csswg.org/css-transforms-2/#grouping-property-values
Created attachment 442838 [details] Patch
Comment on attachment 442838 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=442838&action=review Can we have a non-WPT test for our non-standard -webkit-mask-box-image-source causing `transform-style: flat`? (I know we don't implement the standard mask-border properties, and I see that they are almost completely untested in WPT.) Patch looks good otherwise, so a non-reviewer r=me with that. (Not sure if those test failures are real?) > Source/WebCore/ChangeLog:12 > + and `isolation: isolate` all force used style of preserve-3d: flat. Nit: `` around `preserve-3d: flat`, to be consistent with the rest of the sentence.
Created attachment 442972 [details] Patch
(In reply to Cameron McCormack (:heycam) from comment #2) > Comment on attachment 442838 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=442838&action=review Thanks for the review! > > Can we have a non-WPT test for our non-standard > -webkit-mask-box-image-source causing `transform-style: flat`? (I know we > don't implement the standard mask-border properties, and I see that they are > almost completely untested in WPT.) I've added a test for this. > > Source/WebCore/ChangeLog:12 > > + and `isolation: isolate` all force used style of preserve-3d: flat. > > Nit: `` around `preserve-3d: flat`, to be consistent with the rest of the > sentence. Fixed.
Created attachment 442980 [details] Patch
<rdar://problem/85075461>
Committed r285482 (244006@main): <https://commits.webkit.org/244006@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 442980 [details].