This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24749 - <canvas>: fallback should support list boxes
Summary: <canvas>: fallback should support list boxes
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-20 19:14 UTC by Ian 'Hixie' Hickson
Modified: 2014-02-20 22:39 UTC (History)
2 users (show)

See Also:


Attachments

Description Ian 'Hixie' Hickson 2014-02-20 19:14:27 UTC
Use case: The user is to select one or more characters to have on their adventuring party. The characters are shown as pictures on a canvas, but we want to expose it to ATs as a list box.

Requirements:
 - enable <select multiple> elements to be hit region controls.
 - enable <select size=N> eements where N>1 to be hit region controls.
 - enable <option> to be hit region controls.
Comment 1 Ian 'Hixie' Hickson 2014-02-20 19:14:48 UTC
Open question - should we also:
 - make <select size=1> in <canvas> act like size=N where N>1.
 - enable <select size=1> elements to be hit region controls.
Comment 2 Ian 'Hixie' Hickson 2014-02-20 22:34:21 UTC
Let's avoid the idea in comment 1 for now. It is very confusing to explain.
Comment 3 contributor 2014-02-20 22:34:28 UTC
Checked in as WHATWG revision r8484.
Check-in comment: Allow <select multiple> and <select size=4> to be used as canvas fallback
http://html5.org/tools/web-apps-tracker?from=8483&to=8484
Comment 4 Ian 'Hixie' Hickson 2014-02-20 22:38:57 UTC
Oops, the condition on the <option> is backwards (copypasta error). Fixed in next check-in.
Comment 5 contributor 2014-02-20 22:39:04 UTC
Checked in as WHATWG revision r8485.
Check-in comment: Fix the condition for the <option> in the previous checkin, and reword this into a list so it's clearer
http://html5.org/tools/web-apps-tracker?from=8484&to=8485