Skip to content

Conversation

@jamesnw
Copy link
Collaborator

@jamesnw jamesnw commented Aug 28, 2024

No description provided.

@github-actions github-actions bot added the feature definition Creating or defining new features or groups of features. label Aug 28, 2024
Copy link
Contributor

@autonome autonome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pre-review, a couple of description suggestions.

@@ -1,4 +1,11 @@
name: Individual transform properties
description: Transform elements with separate `translate`, `rotate`, and `scale` CSS properties.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non-blocking suggestion: The description could be more explicit about how these allow individual transformation vs the grouped property, giving context to why the feature is named as such. Eg, I like the "simple transforms independently" in the spec language.

@@ -0,0 +1,10 @@
name: transform-box
description: The `transform-box` CSS property sets the reference box for transformations.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto, I like the spec language, which gives just a bit more colour: "relative to the position and dimensions of the reference box". (The MDN description I found oddly phrased.)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Oddly phrased" seems to be the standard when looking at descriptions of this property. I updated it, and hope this is one standard I didn't match, but the phrasing is tricky.

Copy link
Contributor

@captainbrosset captainbrosset left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving with a comment on the description. But it feels good enough for me not to have to block/review again.

@@ -0,0 +1,10 @@
name: transform-box
description: The `transform-box` CSS property sets the position and dimensions, or reference box, relative to which transformations are calculated.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: The `transform-box` CSS property sets the position and dimensions, or reference box, relative to which transformations are calculated.
description: The `transform-box` CSS property sets the position and dimensions of the reference box relative to which an element's individual transformations are calculated.

I was having trouble parsing the initial sentence. Maybe I misunderstood what you meant.
I added the word "individual" in there in an attempt to make it clear that this only applies for individual transform properties (if, indeed, this is how this works).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I liked the phrasing, but removed the word individual- it applies to the individual transform properties (scale, translate, rotate) as well as transform.

Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy enough to merge. Thank you!

@ddbeck ddbeck merged commit 1993326 into web-platform-dx:main Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature definition Creating or defining new features or groups of features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants