Closed
Bug 1123133
Opened 10 years ago
Closed 10 years ago
fieldset reflow (in particular, legend placement) needs to handle vertical writing modes
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: jfkthame, Assigned: jfkthame)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 2 obsolete files)
2.63 KB,
text/html
|
Details | |
18.43 KB,
patch
|
jfkthame
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Here's a small testcase I've been using to experiment.
Assignee | ||
Comment 2•10 years ago
|
||
Just a small helper to simplify the following patch.
Attachment #8550978 -
Flags: review?(smontagu)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•10 years ago
|
||
With this, the legend works nicely in vertical mode. (Note that dir=rtl doesn't seem to work as desired in vertical mode; but that's a wider issue, I think, so I'm leaving that for a separate bug.)
Attachment #8550979 -
Flags: review?(smontagu)
Comment 4•10 years ago
|
||
Comment on attachment 8550978 [details] [diff] [review] pt 1 - Utility to map from logical to physical side values Review of attachment 8550978 [details] [diff] [review]: ----------------------------------------------------------------- r=me, but do we really need both |css::Side PhysicalSideFor(LogicalSide aLogicalSide)| and |mozilla::Side PhysicalSide(LogicalSide aSide)|? Can we coalesce them in a follow up?
Attachment #8550978 -
Flags: review?(smontagu) → review+
Assignee | ||
Comment 5•10 years ago
|
||
(In reply to Simon Montagu :smontagu from comment #4) > Comment on attachment 8550978 [details] [diff] [review] > pt 1 - Utility to map from logical to physical side values > > Review of attachment 8550978 [details] [diff] [review]: > ----------------------------------------------------------------- > > r=me, but do we really need both |css::Side PhysicalSideFor(LogicalSide > aLogicalSide)| and |mozilla::Side PhysicalSide(LogicalSide aSide)|? Can we > coalesce them in a follow up? Oh, right - I'm sure we can tidy that up. I was working with a tree where Cam's patches hadn't landed yet, and just didn't think about the connection with what was incoming.
Comment 6•10 years ago
|
||
Comment on attachment 8550979 [details] [diff] [review] pt 2 - Vertical writing-mode support in nsFieldSetFrame Review of attachment 8550979 [details] [diff] [review]: ----------------------------------------------------------------- This overlaps a lot with a patch in my queue, but where they differ I think yours is better. The only thing lacking is using the new logical methods from bug 1079154, but we can add that later.
Attachment #8550979 -
Flags: review?(smontagu) → review+
Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8550978 [details] [diff] [review] pt 1 - Utility to map from logical to physical side values Obsoleting this; we can simply use the PhysicalSide method that was recently landed as part of CSS logical-property support, rather than introducing a new method here.
Attachment #8550978 -
Attachment is obsolete: true
Assignee | ||
Comment 8•10 years ago
|
||
Trivially updated to use the WritingMode::PhysicalSide method; carrying over r=smontagu.
Assignee | ||
Updated•10 years ago
|
Attachment #8550979 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Attachment #8551230 -
Flags: review+
Assignee | ||
Comment 9•10 years ago
|
||
Pushed this to inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/350013f91dd2 (Feel free to propose a followup to make better use of bug 1079154 methods (comment 6), if that seems appropriate.)
Target Milestone: --- → mozilla38
Comment 10•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/350013f91dd2
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•