Closed Bug 1735251 Opened 3 years ago Closed 3 years ago

Minor clean up in layout and dom

Categories

(Core :: Layout, task)

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

Details

Attachments

(3 files)

These are small clean up patches while I read relevant code.

After Bug 1681849 Part 4 [1], accessing ComputedMaxSize() is trivial.
Note: MainComponent() expects its aSize argument in flex container's
writing mode, which matches aReflowInput's writing mode, so we don't
need any conversion.

[1] https://hg.mozilla.org/mozilla-central/rev/80ed365889fc

Depends on D128150

Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/157a26073a9c Set ReflowInput::mComputeSize in one operation. r=jwatt https://hg.mozilla.org/integration/autoland/rev/7acda2706e9d Use AxisTracker::MainComponent() to retrieve main max size. r=emilio https://hg.mozilla.org/integration/autoland/rev/b1b65bf03247 Apply clang-format to nsXMLContentSerializer.cpp. r=jwatt
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: