[Webkit-unassigned] [Bug 36066] New: Visibility fails to render correctly on dynamic page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 12 11:25:41 PST 2010


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

           Summary: Visibility fails to render correctly on dynamic page
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://bugs.matthewrconsultancy.co.uk/webkit/demo1/dem
                    o1.html
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: msu.webkit.bugzilla at matthewrconsultancy.co.uk


On a page where there are elements which are set to display none as the
DOMContentLoaded event occurs. Child elements with visibility:visible of a
sufficiently distanced (child of child in DOM tree) parent element with
visibility:hidden do not display when their display is set to block.

I have made this demo to easily demonstrate the problem.

Toggling the visibility of the root parent from hidden to visible and back to
hidden again makes these child elements appear correctly, but only if one or
more were set to display block before this toggle. Doing this toggle again
after setting them both to display none again breaks the rendering again.

This works fine in all other major rendering engines. It only affects webkit.
(Note that in order to simplify the demo code I replaced jQuery (which made the
demo work in IE) with minimal javascript, this javascript is incompatible with
trident/IE as it uses a DOMContentLoaded event.)

The design that made me boil down a demo page behaves a bit differently, for
some reason it allows only one of the two popups to display at any one time. I
have created a work around to make it work properly which works by forcing a
re-evaluation of visibility. I can demo that slightly different problem if
required.

I have tried this on (and got consistent results with):
Webkit Nightly Build for Windows (4.0.5 531.22.7)
Safari for Windows (4.0.4)
Latest Google Chrome Dev for Windows (5.0.342.3)
Latest Google Chrome Stable for Windows (4.0.249.89)
Latest Google Chrome Dev for Ubuntu Linux (5.0.342.1)

I have got working and expected behaviour from:
Firefox 3.6
Opera 10.5
Internet Explorer 8* (with jQuery doing toggle instead of Demo javascript)

-- 
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