Open Bug 1213819 Opened 9 years ago Updated 2 years ago

Disallow authors to set some CSS properties for some form controls, for example 'overflow' for <option>/<optgroup>

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

Tracking Status
firefox44 --- affected

People

(Reporter: MatsPalmgren_bugz, Unassigned)

Details

(Keywords: site-compat)

Our layout code for various form controls is a bit fragile.
Ignoring some properties (such as 'overflow') would make it less likely
that authors hits some edge case that we don't handle very well.

Chrome for example seems to ignore 'overflow' and 'height' on
<option>/<optgroup> elements, probably more.  This also makes
it less likely that authors will detect mistakes they make
unless they explicitly test Firefox.

We should investigate carefully which properties other UAs allows
authors to set for each element and then decide which we can drop
support for.  (I imagine this will be implemented in the form of
!important declarations for those properties in the UA sheet.)
Type: enhancement → task
Keywords: site-compat
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.