Closed Bug 1790299 Opened 2 years ago Closed 2 years ago

Make XUL splitters use the height property rather than attribute.

Categories

(Core :: Layout, task)

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Regressed 1 open bug)

Details

Attachments

(5 files)

This will allow XUL splitters to work with flex boxes rather than XUL boxes.

Existing splitter and DevTools tests keep passing with this.

No behavior change intended.

Depends on D157062

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3c1db9604720
Make XUL splitter use height property rather than attribute. r=jdescottes,tnikkel
Regressions: 1790585

This allows DevTools to be resized with emulated flexbox.

Keywords: leave-open
Regressions: 1790712

After this bug landed i can not resize the devTools when it on left or right side.
only when devTools is on bottom resize work

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3175a8c01387
Minor clean-ups to XUL splitter code. r=tnikkel
Regressions: 1790770
Regressions: 1790821

Now that this doesn't involve an attribute lookup it's not worth it, and
this allows querying the flex of emulated flex items without hitting
assertions due to the lack of box metrics.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/54ebb0e34ad3
Make GetXULFlex not cache the resolved flex value anymore. r=dholbert
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bf86de479585
Make nsSplitterFrame work with regular flex boxes. r=dholbert,layout-reviewers
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/15d13eb291b4
Make nsSplitterFrame work with regular flex boxes. r=dholbert,layout-reviewers

This doesn't have any behavior change, test-only. I wrote this while
debugging the previous patches. Modern flexbox respects width/height
over flex, which is not true for legacy flexbox, so this makes the
box sizes match, effectively, which makes it easier to compare to figure
out regressions.

Regressions: 1791942
Regressions: 1792482
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c949d841e3e9
Make test more similar between xul/non-xul. r=dholbert
Keywords: leave-open
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: