I am using the latest Chrome 35.
My understanding of the visibility of the CSS keyword is that it visibility: hiddensimply does not display the element containing all the child elements, storing it in the document stream.
Now that I was debugging an existing application, I came across the following weird behavior. The parent element (parEl) has a value visibility: hiddenand has two children (childA, childB). The childA element has visibility visible. From what I came up with so far, nothing should be visible, but childA is actually displayed.
I don’t know if this is a browser error or actually intended behavior, and if so, where is it indicated?
JSFiddle here: http://jsfiddle.net/7Yev6/
source
share