[Webkit-unassigned] [Bug 62862] New: Wrong display of html:before with fixed position

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 17 07:17:56 PDT 2011


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

           Summary: Wrong display of html:before with fixed position
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://superpixel.ch/bugreport/html-before-fixed/test1
                    .html
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: nico at superpixel.ch


Created an attachment (id=97597)
 --> (https://bugs.webkit.org/attachment.cgi?id=97597&action=review)
with opacity, which displays correct

The following code will not result in an 40px height element, the element will be 100% height in Webkit 535.1+:

html:before {
    content: "";
    background: #0f0;
    position: fixed;
    display: block;
    height: 40px;
    top: 0;
    left: 0;
    right: 0;
}

but if we give html:before an opacity (for example "opacity: 0.5;"), it will display correctly (attached file).

This bug doesn't show up in the current shipping version 5.0.5 of Safari in Mac OS X 10.6.7.

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