Intent to Ship: Support stroke-box, content-box and border-box in the transform-box CSS property

114 views
Skip to first unread message

Fredrik Söderquist

unread,
Jul 6, 2023, 7:33:39 AM7/6/23
to blink-dev

Contact emails

f...@opera.com

Explainer

None (see summary)

Specification

https://www.w3.org/TR/css-transforms-1/#transform-box

Summary

Allows changing how the reference box for the 'transform' property is computed. This adds additional capabilities that will allow creating transforms/graphical effects where - for example - the width of the border of an element does not influence the result (e.g rotation around a point in the content box) or the stroke of an (SVG) element should influence the result (e.g rotating a stroked shape around its center - including the stroke).


Blink component

Blink>SVG

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

Low interoperability risk. The feature being part of Interop2023 gives it a decent chance of becoming interoperable - at least within the subset that is tested in that scope.



Gecko: No signal This is small change that is in scope of Interop2023

WebKit: Shipped/Shipping (https://webkit.org/blog/10247/new-webkit-features-in-safari-13-1) Implemented since TP 96

Web developers: Positive (https://crbug.com/924472) 9+ stars in the bug tracker

Other signals:

WebView application risks

Minimal (adds a couple of new keywords to an existing property)



Debuggability



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes

Is this feature fully tested by web-platform-tests?

Yes

Flag name on chrome://flags



Finch feature name

CSSTransformBoxAdditionalKeywords

Requires code in //chrome?

False

Sample links

https://developer.mozilla.org/en-US/docs/Web/CSS/transform-box

Estimated milestones

Shipping on desktop117
Shipping on Android117
Shipping on WebView117


Anticipated spec changes

None


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/6208828575580160

Links to previous Intent discussions

Original I2S for the transform-box property: https://groups.google.com/a/chromium.org/g/blink-dev/c/4ZWHz8tCONI/m/XBTvQtw2BAAJ

This intent message was generated by Chrome Platform Status.

Yoav Weiss

unread,
Jul 12, 2023, 11:19:05 AM7/12/23
to blink-dev, f...@opera.com
LGTM1 - thanks for catching us up here!

Mike Taylor

unread,
Jul 12, 2023, 11:19:34 AM7/12/23
to Yoav Weiss, blink-dev, f...@opera.com

LGTM2

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/2c2df193-d602-4b6e-9cf8-5658dd0ffd43n%40chromium.org.

Daniel Bratell

unread,
Jul 12, 2023, 11:19:58 AM7/12/23
to Yoav Weiss, blink-dev, f...@opera.com

LGTM2

/Daniel

--

Daniel Bratell

unread,
Jul 12, 2023, 11:21:12 AM7/12/23
to Yoav Weiss, blink-dev, f...@opera.com

Make that LGTM3

(What are the chances of three people looking at the same intent in the same minute? Well it seem to have happened)

/Daniel

Reply all
Reply to author
Forward
0 new messages