Closed
Bug 1901378
Opened 4 months ago
Closed 4 months ago
Line height unit `rlh` in `calc()` is sometimes interpreted as `lh`
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
FIXED
128 Branch
Tracking | Status | |
---|---|---|
firefox128 | --- | fixed |
People
(Reporter: sk3non4dg, Assigned: longsonr)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0
Steps to reproduce:
Open test.html
.
Reproduced on Nightly (Build ID 20240607175314).
Doesn't Occur On Google Chrome Version 125.0.6422.142
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36'
Might be caused by https://searchfox.org/mozilla-central/source/servo/components/style/values/specified/length.rs#198
Actual results:
Div 1's inline size is 40px.
Div 2's inline size is 20px.
Expected results:
Div 1's inline size is 0px.
Div 2's inline size is 100px.
Component: Untriaged → CSS Parsing and Computation
OS: Unspecified → Windows 10
Product: Firefox → Core
Hardware: Unspecified → Desktop
Version: Firefox 118 → Firefox 128
Assignee | ||
Comment 1•4 months ago
|
||
Updated•4 months ago
|
Assignee: nobody → longsonr
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee | ||
Comment 2•4 months ago
|
||
Pushed by longsonr@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/edef83cdf187
Line height unit rlh in calc() is sometimes interpreted as lh r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/46663 for changes under testing/web-platform/tests
Comment 5•4 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
status-firefox128:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•