Bug 9265
Summary: | Quirksmode: Setting position: relative on html and body in strict mode | ||
---|---|---|---|
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
"In Internet Explorer 6.0 and higher, setting html, body {position: relative;} while in strict mode causes the browser to disallow scrolling. I don't know of any real-world applications where this would be a problem, but it's still a bug.
In Safari the entire body disappears if you set position: relative on the HTML first, and then on the BODY. Safari crashes if you check BODY, then HTML, then uncheck BODY.
Workarounds include using quirks mode, or playing it safe and avoiding setting positioning to the html element.
Test page http://www.beggarchooser.com/test/relative.html
Workaround is included
Reported by: John Hansen."
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Joost de Valk (AlthA)
This works in latest nightly, closing as worksforme.