[Webkit-unassigned] [Bug 93068] New: Clearing display:none before visibility:hidden on a scroll region can cause content to be partially hidden

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 2 23:13:51 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=93068

           Summary: Clearing display:none before visibility:hidden on a
                    scroll region can cause content to be partially hidden
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: linda167 at gmail.com


Created an attachment (id=156264)
 --> (https://bugs.webkit.org/attachment.cgi?id=156264&action=review)
Demonstrates the listview content being partially hidden after hiding then showing listview

See attached html page for the repro.

In our listview, we have logic to hide and show the listview. The listview is hidden by setting display:none, and visibility:hidden. The listview is then shown by first clearing display:none, then visibility:hidden. We require this order of setting these styles in order to support other features. After we do this, the listview content is partially hidden under the scrollbar for the listview. 

Issue repros if we set CSS in the following order:
1. display: none; visibility: hidden;
2. display: block
3. visibility: visible

Issue does NOT repro if we set CSS in the following order:
1. display: none; visibility: hidden;
3. visibility: visible
2. display: block

We cannot change the order we set the css for functional requirements.

This bug repros on Chrome on Windows, and Chrome & Safari on Mac and iOS devices.
Does not repro on latest versions of Firefox or IE

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list