1. Load http://scienceblogs.com/pharyngula/2007/01/if_the_terrorists_attack_we_kn.php 2. Hover over the headline. Result: the underline looks like a broken line instead of a solid line. The shadow from the letters appears to be drawn on top of it. Tested with a release version of Safari and with a Webkit nightly from 2006-12-21.
Stroke and fill have similar issues. Need to push a transparency layer in CG to handle these cases correctly.
Interestingly, this bug does *not* appear in quirks mode. I attached two test cases demonstrating the absence of stacking bug (in quirks mode) and the presence of the stacking bug (in strict mode). Side-note: Firefox presents the exact same bug.
Created attachment 33083 [details] shadow + underline in quirks mode, no bug
Created attachment 33084 [details] shadow + underline in strict mode, bug (underline broken by shadow)
The bug is still present.
(In reply to comment #5) > The bug is still present. Really? I don't seem to see it in Version 9.1 (11601.5.17.1) on OS X 10.11.4 (15E65) Which configuration are you seeing this on?
Created attachment 460725 [details] Screenshot of underline tests on Safari, Chrome, and Firefox Safari is the upper-left corner (Broken) Chrome is the middle (Broken) Firefox is the lower-right (Working)
This is easily reproducible on Safari 16.
<rdar://problem/96554243>