Devtools incorrectly say that 'width' doesn't apply to table-rows
Categories
(DevTools :: Inspector: Rules, defect, P2)
Tracking
(firefox-esr68 wontfix, firefox70 wontfix, firefox71 wontfix, firefox72 wontfix, firefox73 wontfix, firefox74 fixed)
People
(Reporter: Oriol, Assigned: pbro)
References
(Blocks 1 open bug)
Details
(Keywords: testcase, Whiteboard: [dt-q])
Attachments
(2 files)
Load attached testcase.
Inspect the row in devtools.
In the Rules panel, width: 100px
is greyed out and it says
width has no effect on this element since it has a display of table-row.
Try adding display:inline-block* or display:block.
This is actually wrong, as you can see the row has a width of 100px, thanks to being in a vertical writing-mode.
Reporter | ||
Comment 1•6 years ago
|
||
And analogous for height
in table-columns.
Assignee | ||
Comment 2•6 years ago
|
||
Thanks for filing Oriol. The fix for this will need to happen in this file: https://searchfox.org/mozilla-central/source/devtools/server/actors/utils/inactive-property-helper.js
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
Width does not have an effect on a table-row element, but only when it is
displayed in a horizontal writing-mode.
Similarly, height does not have effect when it is displayed in a vertical
writing-mode.
So this patch makes our inactiveCSS validator a little more specific in those
cases.
Updated•6 years ago
|
Comment 5•6 years ago
|
||
bugherder |
Comment 6•6 years ago
|
||
Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.
Comment 7•6 years ago
|
||
Is this something you wanted to nominate for Beta uplift consideration or can this fix ride Fx74 to release?
Assignee | ||
Comment 8•6 years ago
|
||
No need for an uplift for this one. Let's ride the trains with 74 and let it bake for a while there.
Updated•6 years ago
|
Description
•