Closed Bug 2061081 Opened 1 month ago Closed 17 days ago

[css-typed-arithmetic] Fix parsing of line-height <number> values that use percentages

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
157 Branch
Tracking Status
firefox157 --- fixed

People

(Reporter: sajidanwar, Assigned: sajidanwar)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(1 file)

In the typed arithmetic patch in Bug 1827404, there were three failing cases in typed_arithmetic.html related to line-height. From my comment:

There are 3 failing tests that all have used-value-equivalent to 1 in the name. These are tests that use percentages in line-height but which used typed arithmetic to construct a <number> instead of a <length-percentage>. The <number> parser is rejecting percentages even though they should be allowed here. Will need to fix the line-height parsing.

Severity: -- → S3
Blocks: 1973257
Depends on: 1991144
Pushed by sajidanwar94@gmail.com: https://github.com/mozilla-firefox/firefox/commit/48206dde565e https://hg.mozilla.org/integration/autoland/rev/8f2ccb660c40 Properly handle line-height <number> calcs with percentages or lh-lengths. r=firefox-style-system-reviewers,emilio,dshin
Pushed by imoraru@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/7a7cba55490b https://hg.mozilla.org/integration/autoland/rev/0534a06c76fe Revert "Bug 2061081 - Properly handle line-height <number> calcs with percentages or lh-lengths. r=firefox-style-system-reviewers,emilio,dshin" for causing mass build bustages.

Revert for causing mass build bustages.

Flags: needinfo?(sajidanwar94)
Pushed by sajidanwar94@gmail.com: https://github.com/mozilla-firefox/firefox/commit/a45395200408 https://hg.mozilla.org/integration/autoland/rev/576a9f6a4d86 Properly handle line-height <number> calcs with percentages or lh-lengths. r=firefox-style-system-reviewers,emilio,dshin
Flags: needinfo?(sajidanwar94)
Status: ASSIGNED → RESOLVED
Closed: 17 days ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/62320 for changes under testing/web-platform/tests

Upstream PR merged by moz-wptsync-bot

QA Whiteboard: [qa-triage-done-c158/b157]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: