Closed Bug 1149383 Opened 9 years ago Closed 9 years ago

Flex containers with a vertical "writing-mode" will render with swapped width & height

Categories

(Core :: Layout, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dholbert, Unassigned)

References

Details

Right now, flex containers with a vertical "writing-mode" will render with swapped width & height. My reftests in bug 1148294 would've revealed this, except their flex containers are square, so the width<-->height swapping doesn't change the rendering.

I'm going to land a patch here to make those testcases use rectangular flex containers, so this issue becomes visible, and I'll mark the now-failing tests as 'fails' for the moment.

I'll leave this bug open until the issue is fixed; I've got a general refactoring patch that fixes this issue as part of making flex layout more logical-coordinate-focused.
Landed a patch to make the flex containers in these tests rectangular (and mark the tests with vertical writing-modes as failing now, because of that):
 https://hg.mozilla.org/integration/mozilla-inbound/rev/6a1b7c840e62

Also landed a second non-functional patch to make the width/height ordering consistent in these tests (width coming first):
 https://hg.mozilla.org/integration/mozilla-inbound/rev/f7e820f8572a
Keywords: leave-open
Bug 1158290 "part 5"* fixes these test-failures. (aside from the last two, which still fail due to bug 1131451)

needinfo=me to close this bug once that patch lands.

* attachment 8606132 [details] [diff] [review]
Flags: needinfo?(dholbert)
(Fixed by Bug 1158290 "part 5", per comment 3.)
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(dholbert)
Resolution: --- → FIXED
Keywords: leave-open
You need to log in before you can comment on or make changes to this bug.