Created
July 5, 2010 05:01
-
-
Save dbergey/464024 to your computer and use it in GitHub Desktop.
Demonstrates Safari 5 compositing bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
body { font: 13px arial; } | |
p { position: relative; } | |
p.fixed { background: white; } | |
object { | |
float: left; | |
border: 1px solid red; | |
margin: 0 10px 10px 0; | |
width: 200px; | |
height: 50px; | |
} | |
</style> | |
<object type="application/futuresplash"></object> | |
<p class="fixed">This sentence appears normally.</p> | |
<p class="broken">This sentence's antialiasing is broken.</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Moral: Apply solid backgrounds to elements that also have "position: relative;" to avoid compositing issue that only appears with Flash 10.1 and Safari 5.