Closed Bug 1529537 Opened 5 years ago Closed 5 years ago

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

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(3 files)

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.
Attached 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 years 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.

Attachment

General

Created:
Updated:
Size: