You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2015/12/14 12:35:46 UTC

[jira] [Updated] (TAP5-2505) Different behavior of ElementWrapper.visible with jQuery and Prototype

     [ https://issues.apache.org/jira/browse/TAP5-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Kemnade updated TAP5-2505:
---------------------------------
    Component/s: tapestry-core

> Different behavior of ElementWrapper.visible with jQuery and Prototype
> ----------------------------------------------------------------------
>
>                 Key: TAP5-2505
>                 URL: https://issues.apache.org/jira/browse/TAP5-2505
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>            Reporter: Jochen Kemnade
>
> If an element is hidden via a CSS class, {{dom(element).visible()}} will return {{false}} with jQuery and {{true}} with Prototype.
> This is because the jQuery implementation checks the display style whereas the Prototype implementation uses Element.visible {{http://api.prototypejs.org/dom/Element/visible/}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)