Summary: | Removing positioning from an element does not relayout properly | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Maciej Stachowiak <mjs> | ||||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | hyatt, mitz | ||||||
Priority: | P2 | ||||||||
Version: | 420+ | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.4 | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 9610 | ||||||||
Attachments: |
|
Description
Maciej Stachowiak
2006-02-05 19:50:10 PST
Created attachment 6277 [details]
test case
I'm going to attach a patch. Created attachment 6289 [details]
Proposed patch
Comment on attachment 6289 [details]
Proposed patch
r=me
This is a Quirksmode bug: Element retains position: absolute after class change Reported on 3 October 2006 http://www.quirksmode.org/bugreports/archives/2006/10/Parent_Element_Sticky_Position.html When changing a parent element's class via JavaScript/DOM, an initial position:absolute declaration sticks. The problem is corrected by applying a position:relative declaration to the parent element's children. Test page: http://indorgs.virginia.edu/betech/bugs/safari-stickyposition.html |