Open Bug 507307 Opened 16 years ago Updated 3 years ago

Dynamically created elements render differently than static html (relatively positioned inline as abs-pos container)

Categories

(Core :: Layout: Positioned, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: david, Unassigned)

References

()

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729) Dynamically created elements render differently than static html, if you do something to rerender the page(zoom, leave the use back to return to page, etc) it displays correctly Reproducible: Always Steps to Reproduce: 1.View page 2.script runs and creates elements Actual Results: content is rendered incorrectly Expected Results: content is rendered correctly
Appears to be related to absolutely positioned element inside relatively positioned elements
Attached file Smaller testcase
From left to right: 1) 3.5.1 2) 3.5.1 after zoom-in/zoom-out 3) 20090613 trunk build 4) 20090613 trunk build after zoom-in/zoom-out
It's quite a bit better in recent trunk builds as you can see in the screenshot, but it's still a little off. Window for behavior change: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=860a9acc39b1&tochange=69c6dbdfd179
Status: UNCONFIRMED → NEW
Component: General → Layout
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → layout
Hmm... looks like my testcase doesn't catch all the intricacies of the original testcase. 1) Original testcase is still way off in recent trunk builds 2) If you do a hard refresh, both "close buttons" initially display below the Google logos 3) The top close button moves up a pixel after a zoom-in/zoom-out
Not to rub it in but this renders properly in safari, opera, chrome, ie8, ie7, and ie6
Component: Layout → Layout: R & A Pos
QA Contact: layout → layout.r-and-a-pos
Summary: Dynamically created elements render differently than static html → Dynamically created elements render differently than static html (relatively positioned inline as abs-pos container)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: