Re: [csswg-drafts] [css-logical] border-block/border-inline syntax (#3519)

@Loirooriol 
> just like `border` does not let you specify different width, style or color for different sides.

I don't think `border` is the correct analog here. `border-horizontal/vertical` would be, if they existed.
Anyway, I'm not sure if comparing to legacy physical properties is that useful here.  My point is that modern axis-relative shorthands normally allows specifying one or two values.

@fantasai 
>  it isn't clear where the first value ends and the second one starts

Right, we can't use space as a separator.  It needs to be some other character like `"/"`.

We can skip it if authors don't find it a useful feature of course. But I'd like the spec to make a note of it if so, since it's an exception to common praxis.  (Fwiw, it's really trivial to add parsing for an optional second value so there's no cost for implementors.)

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

Received on Thursday, 17 January 2019 20:11:00 UTC