Bug 9270
Summary: | Quirksmode: Crash when hiding :after pseudo class | ||
---|---|---|---|
Product: | WebKit | Reporter: | Adele Peterson <adele> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 420+ | ||
Hardware: | PC | ||
OS: | OS X 10.4 | ||
Bug Depends on: | |||
Bug Blocks: | 9610 |
Adele Peterson
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."
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Joost de Valk (AlthA)
Works perfectly in latest nightly, closing as worksforme.