W3C home > Mailing lists > Public > www-style@w3.org > June 2005

Re: Is Safari right or wrong? Should "display: none" prevent form elements from being submitted?

From: Allan Sandfeld Jensen <kde@carewolf.com>
Date: Thu, 23 Jun 2005 10:25:04 +0200
To: www-style@w3.org
Message-Id: <200506231025.04638.kde@carewolf.com>

On Thursday 23 June 2005 08:11, Brian Sexton wrote:
> Should dynamically setting "display: none" for a form input element prevent
> that element from being submitted--that is, treated as though it does not
> exist at all--or should it merely be removed from the rendering of a
> document?  

I don't know about forms, but normally display: none elements should be 
treated as they do not exists at all. To only remove them from rendering you 
should use display: hidden.

Received on Thursday, 23 June 2005 08:25:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:18 UTC