Closed Bug 717302 Opened 13 years ago Closed 13 years ago

[AZURE] backgrounds of elements using -border-radius are drawn with an additional offset from browser chrome

Categories

(Core :: Graphics, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: pxbugz, Assigned: bas.schouten)

References

Details

Attachments

(4 files, 1 obsolete file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0a1) Gecko/20120111 Firefox/12.0a1 Build ID: 20120111031049 Steps to reproduce: -Install latest nightly, clean profile -Make gfx.content.azure.enabled to true -load about:config and/or about:memory and a bugzilla page with enough comments to scroll Actual results: -white hbox (about:config) and body (about:memory) background appear to be drawn too low - equivalent to the size of the browser toolbars - you can check by opening/closing bookmarks toolbar or switching tabs on top, the white background will shift up or down to be an equivalent size - Opening and closing the sidebar will shift the white background to the right, equivalent to the width of the sidebar On a bugzilla page the div#bugzilla-body will be affected by the sidebar being open when scrolling - it will paint it's background shifted to the right, equivalent to the width of the sidebar, but only for parts of the page that have been offscreen (i.e. not painted). This problem is not exhibited with a closed sidebar. Expected results: The page elements should not be effected by browser chrome. I am not au fait with the thebes wrapper but I guess it would be easy to assume that these elements are being drawn either doubly offset from the whole browser window or offset from the content window bounds when they should be offset from the whole browser window. Also, I have not extensively tested so the specific page elements with problems may not be exhaustive.
Blocks: 715768
Component: Untriaged → Graphics
Product: Firefox → Core
Top left of grey Buzilla div background is shifted right/not drawn after scrolling
Attached image about:config page showing issue (deleted) —
about:config hbox background is shifted downwards equivalent to the height of the browser chrome.
Confirming - Setting to NEW
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Some webpage and about: element backgrounds are affected by browser chrome → [AZURE] Some webpage and about: element backgrounds are affected by browser chrome
Browsed the top 100 sites on alexa.com to find other cases of this bug, which hopefully should help. www.youtube.com - div.feed-item.upload - on subscription page www.reddit.com - div.linkinfo - on a comments page www.imgur.com - div.panel.Left etsy.com - div.section newegg.com - div.grpSearch verizonwireless.com - DIV#oo_tab.oo_tab_right
Attached file Border Radius Test (obsolete) (deleted) —
The problem seem to point to border-radius. (If it wasn't obvious to the devs before) I made a quick testcase.
Attached file Border Radius Test (deleted) —
Auto-detect fail.
Attachment #588304 - Attachment is obsolete: true
Summary: [AZURE] Some webpage and about: element backgrounds are affected by browser chrome → [AZURE] -border-radius is drawn with an additional offset from browser chrome
Summary: [AZURE] -border-radius is drawn with an additional offset from browser chrome → [AZURE] backgrounds of elements usings-border-radius are drawn with an additional offset from browser chrome
Summary: [AZURE] backgrounds of elements usings-border-radius are drawn with an additional offset from browser chrome → [AZURE] backgrounds of elements using -border-radius are drawn with an additional offset from browser chrome
Attachment #588305 - Attachment mime type: text/plain → text/html
Assignee: nobody → bas.schouten
Status: NEW → ASSIGNED
Attached patch Mark transform dirty properly (deleted) — Splinter Review
Attachment #606328 - Flags: review?(jmuizelaar)
Attachment #606328 - Flags: review?(jmuizelaar) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
QA Contact: untriaged → thebes
No longer blocks: 715768
Blocks: 715768
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: