Closed nt1m closed 2 weeks ago
(waiting for more responses before trying an async resolution)
I'm neutral, I'd like to defer to better English speakers. Other values such as cap
or none
look similar to auto
to me, but I'm not sure if this is because of my English skill.
The CSSWG will automatically accept this resolution one week from now if no objections are raised here. Anyone can add an emoji to this comment to express support. If you do not support this resolution, please add a new comment.
Proposed Resolution: Drop the auto
value in the text-box
shorthand
RESOLVED: Drop the auto
value in the text-box
shorthand
I'm going to kick this back onto the agenda for three reasons:
I think this deserves a bit of discussion in the WG about when it's appropriate to disallow otherwise-valid longhand values in a shorthand. There's a few things to balance:
The issue was about text-box: auto
being confusing, but the proposal disallows that as well as text-box: trim-both auto
; do we want to be that aggressive in addressing the original complaint / are there other reasons to disallow auto
in general?
I don't think we should be taking async resolutions on non-trivial topics. Bringing it to a call means its more likely someone will notice a quirk, or some inconsistency/interaction with someone else, and that this comment (even if it's a side-comment) will trigger a discussion that lets us figure out whether it's something that affects the proposed decision. CSS hangs together to the extent it does because we're paying attention to these things, so let's not make a systematic habit of letting them off the radar.
Re 2. I'm OK just disallowing text-box: auto
by itself, doesn't need to be as aggressive as disallowing auto
altogether.
I guess there are multiple reasons to want to improve text-box: auto
, I'm not sure mine is the same as @nt1m, but for me, it's due to the lack of the verb.
I'm fine with the proposal, but if controversial, it's a bit scary that we may keep hearing other values such as text-box: none
needs to improve too, and the exception list grows.
How about:
a. Add trim-
to all values, in the same way we did to start
, end
, and both
.
b. Name the shorthand text-box-trim
, by renaming the current longhand to something else.
/cc @bfgeek @argyleink @Clqsin45
The CSS Working Group just discussed [css-inline] Disallow `auto` in `text-box` shorthand
, and agreed to the following:
RESOLVED: revert the previous resolution : allow all combinations for `text-box`
text-box: auto
is quite confusing, because it meanstext-box: trim-both
, nottext-box: normal
.I suggest we just stop allowing
auto
within the shorthand. All the combinations withauto
already have alternative representations without it.cc @kojiishi @fantasai