Steps to reproduce: go to http://www.literarymoose.info/=/destroy/image-replacement.xhtml drag image Expected result: nothing. Actual result (10.3.9): Safari crashes. I'm not sure if this happens with later versions. I've created a reduction and the ::before statement needs a content, position: absolute;, and width and height to crash. The text in the testcase can not be be selected, like in other browsers. Testcase follows
Created attachment 3036 [details] reduction
Confirmed with Safari 2.0 (412.2) and TOT WebKit under 10.4.2 (8C46).
Created attachment 3145 [details] Stack trace of crash
It's easy to add enough nil checking that this doesn't crash. That still leaves us unable to select in this element, though.
Created attachment 4290 [details] patch to add null check so we don't crash
Comment on attachment 4290 [details] patch to add null check so we don't crash Looks good. r=me.
Landed.