Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#8419 closed defect (fixed)

ComboBox: input element bleeds though when containing node's style is set to visiblity:hidden

Reported by: ptwobrussell Owned by: Douglas Hays
Priority: high Milestone: 1.3
Component: Dijit - Form Version: 1.2.3
Keywords: Cc:
Blocked By: Blocking:

Description

See the attachment for a standalone test case. Seems that the input element is getting set to "visibility: visible !important" in dijit.css and it's been this way for quite some time.

Maybe we should add this as a test case for all of the dijits?

Attachments (1)

foo.html (1.6 KB) - added by ptwobrussell 11 years ago.
standalone html page for test case

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by ptwobrussell

Attachment: foo.html added

standalone html page for test case

comment:1 Changed 11 years ago by bill

Summary: ComboBox's input element bleeds though when containing node's style is set to visiblity:hiddenComboBox: input element bleeds though when containing node's style is set to visiblity:hidden

IIUC, visibility:hidden on a parent element should hide anything inside regardless of it's visibility settting, so sounds like a browser bug.

So, which browser/version is this failing on?

comment:2 Changed 11 years ago by bill

Owner: set to Douglas Hays

OK, I can reproduce this on FF3, safari, and IE. Guess I was wrong about this being a browser bug.

It's only the text of the input field that's visible, not the combobox down arrow, borders, etc.

Doug, why is that visibility: visible !important; in dijit.css?

comment:3 Changed 11 years ago by Douglas Hays

Milestone: tbd1.3
Status: newassigned

comment:4 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

[16412] Fixes #8419. Removed visibility setting from TextBox? style in dijit.css.

comment:5 Changed 9 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.