Closed Bug 1704742 Opened 2 years ago Closed 2 years ago

Wrong percent basis for rounded corners in inset() shape.

Categories

(Core :: Layout, defect)

defect

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(1 file)

see https://mobile.twitter.com/anatudor/status/1381860691775213569.

My understanding is we're wrong because https://drafts.csswg.org/css-shapes/#basic-shape has:

All the lengths expressed in percentages are resolved from the used dimensions of the reference box.

Assignee: nobody → emilio

Matches other browsers, and the spec, as per
https://drafts.csswg.org/css-shapes/#basic-shape:

All the lengths expressed in percentages are resolved from the used
dimensions of the reference box.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9f22278362b8
Fix percent basis of shape radii. r=TYLin
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/28469 for changes under testing/web-platform/tests
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/0639a51e1f16
Annotate an existing test as passing now.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.