Closed
Bug 457913
Opened 16 years ago
Closed 16 years ago
HTML with "position:fixed" "jiggles" when content scrolls under it if certain form inputs are present
Categories
(Core :: Web Painting, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: duncan.loveday, Unassigned)
References
Details
(Keywords: regression, testcase)
Attachments
(3 files, 7 obsolete files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080929032103 Minefield/3.1b1pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080929032103 Minefield/3.1b1pre
In the attached test case, a simple SVG rectangle covers most of the screen and there is a div with style="position:fixed" containing a button. The button in the div partially overlaps with the SVG. When the SVG is scrolled, the portion of the button that overlaps the SVG "jiggles". It always ends up in the right place but it does move about during scrolling.
Reproducible: Always
Steps to Reproduce:
1. Load the attached HTML.
2. Scroll up and down and watch the button move
3.
Actual Results:
The button moves
Expected Results:
The button should be a rock of stability
A regression as this does not happen on 3.0.2.
Reporter | ||
Comment 1•16 years ago
|
||
Reporter | ||
Comment 2•16 years ago
|
||
Reporter | ||
Updated•16 years ago
|
Keywords: regression,
testcase
Comment 3•16 years ago
|
||
Build nr 20080906021517 works and 20080906040037 fails. There seems to be a bunch of GFX Thebes and Layout bugs around that time.
Reporter | ||
Comment 4•16 years ago
|
||
This shows a several things that the previous test case didn't show - (1) that the problem is not just to do with buttons it is also to do with any input control except checkbox and radio; (2) that the input causing the trouble does not have to overlay the SVG; (3) that when it goes wrong it affects any HTML with fixed positioning that overlays the SVG.
When this new test case is loaded it has all different types of input but none of them are overlaying the SVG. You can scroll the SVG up until it meets some text in a position:fixed div to see the bug. Then scroll down again and press all the buttons at the top to hide the text and button based inputs. Scroll down again and it's rock steady.
Attachment #341146 -
Attachment is obsolete: true
Reporter | ||
Updated•16 years ago
|
Summary: DIV with "position:fixed" containing button "jiggles" when SVG scrolls under it → HTML with "position:fixed" "jiggles" when SVG scrolls under it if certain form inputs are present
Reporter | ||
Comment 5•16 years ago
|
||
So to summarise, the conditions required to reproduce this are all of
(1) At least one <input> element present with style "position:fixed" and type="text|button|submit|reset|password|file" and NOT style "display:none"
(2) SVG present
(3) Some HTML with style "position:fixed" and overlaying the SVG
Phew
Comment 6•16 years ago
|
||
Comment 7•16 years ago
|
||
Comment 8•16 years ago
|
||
Attachment #346427 -
Attachment is obsolete: true
Comment 9•16 years ago
|
||
As you can see this has nothing to do with SVG. Trying Core->Layout.
Component: SVG → Layout
QA Contact: general → layout
Updated•16 years ago
|
Summary: HTML with "position:fixed" "jiggles" when SVG scrolls under it if certain form inputs are present → HTML with "position:fixed" "jiggles" when object scrolls under it if certain form inputs are present
Reporter | ||
Comment 10•16 years ago
|
||
Attachment #341144 -
Attachment is obsolete: true
Reporter | ||
Comment 11•16 years ago
|
||
Yes, this bug affects any object. I was wondering whether the use of XML was significant but it is not - this has a plain text object and still shows the bug.
Attachment #346335 -
Attachment is obsolete: true
Reporter | ||
Comment 12•16 years ago
|
||
No takers from generic layout, trying Layout: form controls. Also suggesting this should block 3.1 as it is a regression affecting any site using form controls with fixed positioning and objects. How many sites is that....don't know but this bug makes them look terrible.
Component: Layout → Layout: Form Controls
Flags: blocking1.9.1?
Updated•16 years ago
|
I don't see a problem on Mac. Maybe this is platform dependent. Do you still see the bug if the <object> is replaced by an overflow:auto DIV with the content?
It looks pretty bad for me on Linux, but it was equally bad in 3.0. Given that fixing this type of thing is one of the goals of compositor, I'm not sure how much energy we should spend on it now. Then again, I thought we would just do a repaint in situations like this rather than trying to blit...
Flags: blocking1.9.1? → wanted1.9.1+
Reporter | ||
Comment 15•16 years ago
|
||
(In reply to comment #13)
> ... Do you still
> see the bug if the <object> is replaced by an overflow:auto DIV with the
> content?
Robert, yes the same effect, see last attachment
(In reply to comment #14)
> It looks pretty bad for me on Linux, but it was equally bad in 3.0....
Strange as for me it is fine in 3.0.x on Windows but broken in trunk. If it was a platform dependent efect why would you see it on Linux ?
Attachment #346433 -
Attachment is obsolete: true
Attachment #346434 -
Attachment is obsolete: true
Reporter | ||
Comment 16•16 years ago
|
||
This is the right file
Attachment #348531 -
Attachment is obsolete: true
Reporter | ||
Updated•16 years ago
|
Summary: HTML with "position:fixed" "jiggles" when object scrolls under it if certain form inputs are present → HTML with "position:fixed" "jiggles" when content scrolls under it if certain form inputs are present
Component: Layout: Form Controls → Layout: View Rendering
QA Contact: layout → layout.view-rendering
Reporter | ||
Comment 17•16 years ago
|
||
Does anyone out there understand what changed to make this bug appear on windows in 3.1 when on 3.0 it was not there ? Or why in 3.0 the bug was there in Linux only. Or why in 3.0 and 3.1 the problem is not there on the MAC ? There must be a reason for these things. It's a very noticeable regression on windows.
Comment 18•16 years ago
|
||
This was fixed by bug 352093.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•