Bug 9270 - Quirksmode: Crash when hiding :after pseudo class
Summary: Quirksmode: Crash when hiding :after pseudo class
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 420+
Hardware: PC OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 9610
  Show dependency treegraph
 
Reported: 2006-06-02 15:00 PDT by Adele Peterson
Modified: 2006-06-24 14:05 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adele Peterson 2006-06-02 15:00:56 PDT
http://www.quirksmode.org/bugreports/archives/safari/index.html

"Safari 1.2 will crash if you try to hide a block level element, such as a div, by setting style.display to 'none', if the element contains the following :after pseudo class:

div:after
{
	content: ".";
	display: block; 
	overflow: hidden; 
}

Test page http://davidoffdotnet.net/safaribug.html
Workaround is included
Reported by: sam."
Comment 1 Joost de Valk (AlthA) 2006-06-24 14:05:48 PDT
Works perfectly in latest nightly, closing as worksforme.