Re: [csswg-drafts] [css-inline-3] Naming text-box-trim et al. (#10675)

> > To be consistent with margin-trim, I would suggest renaming trim-both to just trim.
> 
> `margin-trim` doesn’t have a `trim` value though?

Yes, margin-trim does not have a `trim` value but does have both a `block` and `inline` values which could work in the same way.

`trim` value can mean both `trim-start` & `trim-end`.

**Margin trim example:**
...
margin-trim: block;
margin-trim: block-start;
margin-trim: block-end;

margin-trim: inline;
margin-trim: inline-start;
margin-trim: inline-end;

https://developer.mozilla.org/en-US/docs/Web/CSS/margin-trim


-- 
GitHub Notification of comment by nileshprajapati
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10675#issuecomment-2271228077 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 6 August 2024 12:56:44 UTC