Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intent to Implement and Ship: The border-{start,end}-{start,end}-radius CSS properties

58 views
Skip to first unread message

Mats Palmgren

unread,
Jan 17, 2019, 3:46:23 PM1/17/19
to dev-platform
Summary:
The border-{start,end}-{start,end}-radius CSS properties are flow-relative
versions of their corresponding physical property, border-top-left-radius etc

Bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1520684

Link to standard:
https://drafts.csswg.org/css-logical-1/#border-radius-properties

Platform coverage: All platforms

Estimated or target release: Firefox 66

Preference behind which this will be implemented: None

Is this feature enabled by default in sandboxed iframes? Yes

DevTools bug: N/A, devtools support is included in these patches

Do other browser engines implement this?
I don't know, there was no WPT for these.

web-platform-tests:
I added one: css/css-logical/logical-box-border-radius.html

Is this feature restricted to secure contexts? No


/Mats

Mats Palmgren

unread,
Jan 17, 2019, 3:46:30 PM1/17/19
to dev-platform

obr...@igalia.com

unread,
Jan 18, 2019, 6:43:14 AM1/18/19
to
> Do other browser engines implement this?
> I don't know, there was no WPT for these.

I didn't implement them in Blink because they were added into the spec after I sent the intent to implement. So I should send a new one for them.

Also, the mapping is not clear in the spec (https://github.com/w3c/csswg-drafts/issues/3034), though there is a csswg resolution, so it should be safe.

Xidorn Quan

unread,
Jan 19, 2019, 5:51:31 AM1/19/19
to dev-pl...@lists.mozilla.org
On Fri, Jan 18, 2019, at 7:46 AM, Mats Palmgren wrote:
> Summary:
> The border-{start,end}-{start,end}-radius CSS properties are flow-relative
> versions of their corresponding physical property, border-top-left-radius etc
>
> Bug:
> https://bugzilla.mozilla.org/show_bug.cgi?id=1520684
>
> Link to standard:
> https://drafts.csswg.org/css-logical-1/#border-radius-properties

It seems the spec isn't currently clear about the mapping of the two logical words. Based on w3c/csswg-drafts#3034[1] and the link inside, it seems the first means block axis and the second means inline axis. Spec should probably make it clear. It might be better if we can have it clarified before we ship it.

Personally I never feel very happy about the naming, but I cannot come up with a better idea, so...

[1] https://github.com/w3c/csswg-drafts/issues/3034


- Xidorn
0 new messages