Open Bug 2008213 Opened 16 hours ago Updated 14 hours ago

Allow about:translations sections to grow individually in vertical orientation

Categories

(Firefox :: Translations, task, P2)

task

Tracking

()

People

(Reporter: nordzilla, Assigned: nordzilla)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

Description

In the horizontal page orientation, the source section and target section maintain the same height, set to the maximum of the two, as the text grows or shrinks. This feels natural when the text areas are side by side in the horizontal orientation. However, in the vertical orientation it makes more sense to let each section grow to its own content size, instead of staying synchronized.

This commit renames tests related to the resizing of sections to
both be more accurate to the implementation of the page.

This commit reworks the way that the about:translations sections
are resized to their content when in the vertical page orientation.

Now, the sections grow to their own individual max content height in
vertical orientation, but remain synchronized to the maximum content
height between the two in horizontal orientation.

Attachment #9535279 - Attachment description: WIP: Bug 2008213 - Rework about:translations vertical resizing r=#translations-reviewers! → Bug 2008213 - Rework about:translations vertical resizing r=#translations-reviewers!
Attachment #9535278 - Attachment description: WIP: Bug 2008213 - Rename about:translations resize tests r=#translations-reviewers! → Bug 2008213 - Rename about:translations resize tests r=#translations-reviewers!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: