#185 bug
John-David Dalton

Make Element#getStyle translate "inherit" and Element#visible work with display:inherit

Reported by John-David Dalton | June 24th, 2008 @ 06:03 PM | in 1.6.1

Garret Smith pointed out that Element#visible is a misleading name (that is true). He also pointed out that it doesnt use currentStyle or computedStyle so it missed display:inherit styles. This patch makes it use Element#getStyle which reads computed styles.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The Prototype JavaScript library.

Shared Ticket Bins