Closed Bug 1598906 Opened 6 years ago Closed 6 years ago

Devtools incorrectly say that 'width' doesn't apply to table-rows

Categories

(DevTools :: Inspector: Rules, defect, P2)

68 Branch
defect

Tracking

(firefox-esr68 wontfix, firefox70 wontfix, firefox71 wontfix, firefox72 wontfix, firefox73 wontfix, firefox74 fixed)

RESOLVED FIXED
Firefox 74
Tracking Status
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)

Attached file testcase.html

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.

And analogous for height in table-columns.

Regressed by: 1306054

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

Keywords: regression
No longer regressed by: 1306054
Priority: -- → P2
Whiteboard: [dt-q]

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.

Assignee: nobody → pbrosset
Status: NEW → ASSIGNED
Pushed by pbrosset@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/56526c826c66 Width and height shouldn't be marked as inactive on all table-rows; r=miker
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74

Since the status are different for nightly and release, what's the status for beta?
For more information, please visit auto_nag documentation.

Is this something you wanted to nominate for Beta uplift consideration or can this fix ride Fx74 to release?

No need for an uplift for this one. Let's ride the trains with 74 and let it bake for a while there.

Flags: needinfo?(pbrosset)
See Also: → 1630963
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: