W3C home > Mailing lists > Public > www-style@w3.org > January 2011

Re: <option> and text-align

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 19 Jan 2011 10:18:15 -0500
Message-ID: <4D3700B7.3090808@mit.edu>
To: "Aharon (Vladimir) Lanin" <aharon@google.com>
CC: W3C style mailing list <www-style@w3.org>
On 1/19/11 9:56 AM, Aharon (Vladimir) Lanin wrote:
> Firefox behaves as if the option's default text-align is "start"

No, it really doesn't, if you're talking about the default specified 
value.  Simple testcase:

data:text/html,<select style="text-align: 
end"><option>a<option>bbbbb</select>

That said, none of your testcases set text-align, and Gecko currently 
inherits the "start" value as "start", so in fact everything on a page 
has a computed text-align of "start" by default.  Unless someone sets 
some text-align styles somewhere.

-Boris
Received on Wednesday, 19 January 2011 15:18:51 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:36 GMT