ex / ch units incorrectly factor font-weight and other font properties into account.

RESOLVED FIXED in Firefox 68

Status

()

defect
P3
normal
RESOLVED FIXED
6 months ago
4 months ago

People

(Reporter: emilio, Assigned: emilio)

Tracking

unspecified
mozilla68
Points:
---

Firefox Tracking Flags

(firefox68 fixed)

Details

Attachments

(3 attachments)

See the test-case.

Expected results:

  • All lines have the same width.

Actual results:

  • This is a mess, and the result depends on the order the font properties are cascaded relative to the resolved length.
Posted file Clearer test-case.

And make font-size computation work on the whole font of the parent, not just
accounting for the parent's font-size.

Priority: -- → P3
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ab48d59e80c2
Make all font-metrics-affecting properties cascade early. r=heycam
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Assignee: nobody → emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/16000 for changes under testing/web-platform/tests
Upstream PR was closed without merging
Upstream PR was closed without merging
You need to log in before you can comment on or make changes to this bug.