RESOLVED CONFIGURATION CHANGED62862
Wrong display of html:before with fixed position
https://bugs.webkit.org/show_bug.cgi?id=62862
Summary Wrong display of html:before with fixed position
Nico Rohrbach
Reported 2011-06-17 07:17:56 PDT
Created attachment 97597 [details] 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.
Attachments
with opacity, which displays correct (554 bytes, text/html)
2011-06-17 07:17 PDT, Nico Rohrbach
no flags
Broken Case (515 bytes, text/html)
2022-07-12 14:49 PDT, Brent Fulgham
no flags
Shane Stephens
Comment 1 2011-06-22 21:45:35 PDT
Slow Clap
Brent Fulgham
Comment 2 2022-07-12 14:49:35 PDT
Created attachment 460830 [details] Broken Case
Brent Fulgham
Comment 3 2022-07-12 14:49:52 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
Note You need to log in before you can comment on or make changes to this bug.