Bug 16617 - Visibility: visible doesn't work inside visibility: hidden
Summary: Visibility: visible doesn't work inside visibility: hidden
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 523.x (Safari 3)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-26 22:40 PST by Garrett Smith
Modified: 2007-12-26 23:25 PST (History)
1 user (show)

See Also:


Attachments
testcase showing problem (744 bytes, text/html)
2007-12-26 22:43 PST, Garrett Smith
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Garrett Smith 2007-12-26 22:40:34 PST
When an element is a descendent of a containing block with visibility: hidden, it gets hidden too.

This is not correct. 

The descendent should respect it's own visibility property, regardless if it's containing block is hidden.

The bug is apparent when both elements are positioned and the container is the descendant's containing block 
(the descendant does not have position: fixed).
Comment 1 Garrett Smith 2007-12-26 22:43:14 PST
Created attachment 18124 [details]
testcase showing problem
Comment 2 mitz 2007-12-26 23:25:18 PST
I can reproduce the bug on the version of Safari shipping with Leopard, but not when using a nightly build. I think it has been fixed by <http://trac.webkit.org/projects/webkit/changeset/27651>. Please use a nightly build from <http://nightly.webkit.org> to verify that the bug is fixed.