Panes in the style editor cannot be resized
Categories
(DevTools :: Style Editor, defect)
Tracking
(firefox-esr102 unaffected, firefox104 unaffected, firefox105 unaffected, firefox106 affected)
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox104 | --- | unaffected |
firefox105 | --- | unaffected |
firefox106 | --- | affected |
People
(Reporter: alice0775, Unassigned)
References
(Regression)
Details
(Keywords: nightly-community, regression)
Panes in the style editor cannot be resized.
- Open Browser toolbox (Ctrl+Shift+Alt+I)
- Click Style Editor
- Drag splitter(between style lists pane and css code pane, or between the css code pane and media queries pane) left or right with the mouse
What happened?
Mouse pointer changes cursor.
However, Nothing resized.
What should have happened?
The size of the pane changes.
Regression window:
Comment 1•2 years ago
|
||
Thank you for the report I can reproduce this on my machine!
Emilio, is there anything we should fix in DevTools or there is some foollow-up work in Bug 1790299 - Make XUL splitters use the height property rather than attribute ?
Reporter | ||
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Bug 1790712 should fix this.
Comment 3•2 years ago
|
||
Missed those as well during the review. So I was looking for places where we set directly the width
or height
via eg el.width = someNumber
, but I missed all call sites using setAttribute
: https://searchfox.org/mozilla-central/search?q=setAttribute%5C%28%5C%22%28height%7Cwidth%29&path=devtools&case=false®exp=true
Looks like this was also used both by the StyleEditor and the StorageInspector. I will file a follow up bug to start use style
in those panels instead.
Description
•