Closed
Bug 1902961
Opened 3 months ago
Closed 3 months ago
DevTools incorrectly reports that element with `float:left;display:inline-grid` has been changed to block
Categories
(DevTools :: Inspector: Rules, defect, P2)
DevTools
Inspector: Rules
Tracking
(firefox129 fixed)
RESOLVED
FIXED
129 Branch
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: dholbert, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
STR:
- Load attached testcase.
- Open at the Rules View in DevTools Inspector, with the testcase's sole
div
selected. - Hover the circled "i" next to the grayed-out
display:inline-grid
rule.
ACTUAL RESULTS:
There's a tooltip saying: "The display value has been changed by the engine to block because the element is floated. Try removing float or adding display:block"
This is not correct; in fact the display value has been changed to grid
, not to block
. (It's been "blockified" which means inline --> block and inline-$X --> $X).
EXPECTED RESULTS:
The message should say "grid" instead of "block". Or if we want to keep things generic, we could rewrite the message to say "the block-level equivalent" instead of "block".
Reporter | ||
Comment 1•3 months ago
|
||
Comment 2•3 months ago
|
||
Thanks! We should get the computed display value and use this instead.
Severity: -- → S3
Priority: -- → P2
Assignee | ||
Updated•3 months ago
|
Blocks: devtools-inactive-css
Assignee | ||
Comment 3•3 months ago
|
||
Updated•3 months ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6a8c20f23fcf [devtools] Include proper computed display value in inactive-css-not-display-block-on-floated message. r=devtools-reviewers,fluent-reviewers,ochameau.
Comment 5•3 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
status-firefox129:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•