Closed Bug 1187605 Opened 4 years ago Closed 4 years ago

Dropdown arrow in vertical writing modes should point in the appropriate (sideways) direction

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

References

(Blocks 2 open bugs)

Details

(Keywords: testcase)

Attachments

(2 files)

Bug 1172450 will make dropdown arrows visible in HTML <select> elements in vertical writing mode, but they'll all be pointing downwards. The arrow should point leftwards for writing-mode:vertical-rl, and rightwards for vertical-lr.

If it's helpful, I think we could make the layout code add an attribute such as 'orientation' to the button in vertical writing modes; then theme CSS could match this to choose an appropriate transform or an alternative graphic asset.
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Moving this to core:layout as that's where it is actually implemented. I suppose front-end themes might want to style things differently, but the basic behavior is here at least.
Component: Theme → Layout: Form Controls
Product: Firefox → Core
Attachment #8639287 - Flags: review?(smontagu) → review+
Attachment #8639288 - Flags: review?(smontagu) → review+
url:        https://hg.mozilla.org/integration/mozilla-inbound/rev/3a38462c5703ebb5a2586cb0ad6a8318355265b3
changeset:  3a38462c5703ebb5a2586cb0ad6a8318355265b3
user:       Jonathan Kew <jkew@mozilla.com>
date:       Mon Aug 03 18:45:20 2015 +0100
description:
Bug 1187605 pt 1 - In vertical writing modes, add an 'orientation' attribute with value='left' or 'right' to the <select> control's dropdown button. r=smontagu

url:        https://hg.mozilla.org/integration/mozilla-inbound/rev/8ad982618f06bad91d4c712b55803359d746863c
changeset:  8ad982618f06bad91d4c712b55803359d746863c
user:       Jonathan Kew <jkew@mozilla.com>
date:       Mon Aug 03 18:45:24 2015 +0100
description:
Bug 1187605 pt 2 - Make the <select> dropdown arrow respect the 'orientation' attribute, if present. r=smontagu
https://hg.mozilla.org/mozilla-central/rev/3a38462c5703
https://hg.mozilla.org/mozilla-central/rev/8ad982618f06
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Blocks: 1209411
You need to log in before you can comment on or make changes to this bug.