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)
Core
CSS Parsing and Computation
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 1in 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.
Updated•1 month ago
|
Severity: -- → S3
| Assignee | ||
Comment 1•1 month ago
|
||
Updated•1 month ago
|
See Also: → https://github.com/w3c/csswg-drafts/issues/14300
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.
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
| Assignee | ||
Updated•17 days ago
|
Flags: needinfo?(sajidanwar94)
Comment 6•17 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 17 days ago
status-firefox157:
--- → fixed
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
Updated•18 hours ago
|
QA Whiteboard: [qa-triage-done-c158/b157]
You need to log in
before you can comment on or make changes to this bug.
Description
•