[Bug 129173] Re: hidden inputs are rendered when display:block

John Vivirito gnomefreak at gmail.com
Mon Jul 30 11:45:12 UTC 2007


Assigned to mozilla-bugs, tag added: mt-needtester, added steps to
reproduce from upstream bug.

** Description changed:

  Binary package hint: mozilla-firefox
  
  I'm using FF 2.0.0.5 (gutsy)
  
  If the following is in css, hidden inputs are displayed. This should not
  be the case since it is against the w3c standard.
  
  input {
  display: block;
  }
  
  They become visible if padding or a border is set.
  
  A fix would be to add "display: none !important;" to forms.css. I've
  tried this on my machine and results are what is expected.
  
  I will include a diff report.
  
  
  Bug was originally reported: https://bugzilla.mozilla.org/show_bug.cgi?id=332841
  But given their earlier response I'm not sure they'll do anything about it.
+ 
+ Steps to Reproduce:
+ 1. Create a form with hidden inputs (a bunch makes them more visible)
+ 2. Add a CSS containing: input {display: block; border: thin solid red;}
+ 3. Make sure the border color in #2 is not the same as you background color

** Tags added: mt-needtester

** Changed in: mozilla-firefox (Ubuntu)
     Assignee: (unassigned) => Mozilla Bugs

** Bug watch added: Mozilla Bugzilla #332841
   https://bugzilla.mozilla.org/show_bug.cgi?id=332841

** Also affects: firefox (upstream) via
   https://bugzilla.mozilla.org/show_bug.cgi?id=332841
   Importance: Unknown
       Status: Unknown

-- 
hidden inputs are rendered when display:block
https://bugs.launchpad.net/bugs/129173
You received this bug notification because you are a member of Mozilla
Bugs, which is the bug contact for Mozilla Firefox.




More information about the Ubuntu-mozillateam-bugs mailing list