Closed
Bug 288949
Opened 20 years ago
Closed 20 years ago
List layout broken after #288117 resolving
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: softexpert, Assigned: roc)
References
Details
(Keywords: regression, testcase)
Attachments
(5 files, 1 obsolete file)
1.85 KB,
image/png
|
Details | |
1.79 KB,
image/png
|
Details | |
5.79 KB,
application/zip
|
Details | |
383 bytes,
text/html
|
Details | |
11.85 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
asa
:
approval1.8b2+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050404 Firefox/1.0+
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050404 Firefox/1.0+
After fixing bug #288117, there are some problems with the list layout.
The whole area intended to display the list is misplaced and there are some
painting artifacts.
The attached screenshots explain better than the word what is the matter.
I attached also a test case (HTML file and CSS file).
Reproducible: Always
Steps to Reproduce:
1.Download the testcase files on a folder
2.Open with Firefox - Gecko/20050404 Firefox/1.0+ - Linux ocean Clobber release
finished on 04/04 01:55
3.Look at the list layout
Actual Results:
The two vertical tabs are not on the correct position; they are misplaced to the
top.
Expected Results:
The two vertical tabs should be diplayed aligned to the right container.
Reporter | ||
Comment 1•20 years ago
|
||
Reporter | ||
Comment 2•20 years ago
|
||
Reporter | ||
Comment 3•20 years ago
|
||
Please save this testcase on a folder and uncompress it before use
Comment 4•20 years ago
|
||
Well, I'm not seeing this bug. The testcase looks still correct to me with the
20050404 nightly trunk build on WinXP.
Reporter | ||
Comment 5•20 years ago
|
||
(In reply to comment #4)
> Well, I'm not seeing this bug. The testcase looks still correct to me with the
> 20050404 nightly trunk build on WinXP.
>
I don't know about Windows builds, but I am using a Linux one ...
That's why I put OS=Linux.
Reporter | ||
Comment 6•20 years ago
|
||
(In reply to comment #5)
> (In reply to comment #4)
> > Well, I'm not seeing this bug. The testcase looks still correct to me with the
> > 20050404 nightly trunk build on WinXP.
> >
> I don't know about Windows builds, but I am using a Linux one ...
> That's why I put OS=Linux.
To be more specific, I use:
- Fedora Core 3;
- kernel 2.6.10-1.770_FC3;
- xorg-x11-6.8.2-1.FC3.13;
- kde 3.4.0.
Comment 7•20 years ago
|
||
testcase exhibits the described bug with linux trunk 2005040402
the inner (red) div appears in the top left corner of the browser AND where
it's supposed to be (20px from the top and left edge)
Comment 8•20 years ago
|
||
confirmed with linux trunk 2005040402
Assignee | ||
Comment 9•20 years ago
|
||
This is fixed in my upcoming patch for bug 240276. The problem is that widget
reparenting isn't implemented in GTK2 so when
nsCSSFrameConstructor::FinishBuildingScrollFrame tries to reparent the scrolled
content to the inner anonymous view, it doesn't fully happen.
Depends on: 240276
Reporter | ||
Comment 10•20 years ago
|
||
I guess I forgot to say that the regression occured sometime after 2005/03/31.
Before that, the content on my testcase was rendered correctly.
Assignee | ||
Comment 11•20 years ago
|
||
Fix this regression by avoiding reparenting views in FinishBuildingScrollFrame;
this requires widget reparenting to work, which it doesn't on GTK2. Add an
nsIFrame API so that the correct parent view can be found when it's located.
This patch also fixes another regression I found. Currently listboxes are
getting widgets because NeedsClipWidget is starting the search for
nsIFormControlFrame at the scrollframe's parent, but for listboxes it's the
scrollframe itself that implements nsIFormControlFrame.
Assignee: nobody → roc
Status: NEW → ASSIGNED
Attachment #179692 -
Flags: superreview?(dbaron)
Attachment #179692 -
Flags: review?(dbaron)
Assignee | ||
Comment 12•20 years ago
|
||
Comment on attachment 179692 [details] [diff] [review]
fix
Oops, that was completely the wrong patch. I'll attach the patch I meant to
submit.
Attachment #179692 -
Attachment is obsolete: true
Attachment #179692 -
Flags: superreview?(dbaron)
Attachment #179692 -
Flags: review?(dbaron)
Assignee | ||
Comment 13•20 years ago
|
||
There you go ... much less daunting :-)
Attachment #179979 -
Flags: superreview?(dbaron)
Attachment #179979 -
Flags: review?(dbaron)
Attachment #179979 -
Flags: superreview?(dbaron)
Attachment #179979 -
Flags: superreview+
Attachment #179979 -
Flags: review?(dbaron)
Attachment #179979 -
Flags: review+
Assignee | ||
Comment 14•20 years ago
|
||
Comment on attachment 179979 [details] [diff] [review]
real fix
This fixes visual regressions and probably some crashers too. Pretty low risk
(much less risky than the code it replaces :-) )
Attachment #179979 -
Flags: approval1.8b2?
Comment 15•20 years ago
|
||
Comment on attachment 179979 [details] [diff] [review]
real fix
a=asa
Attachment #179979 -
Flags: approval1.8b2? → approval1.8b2+
Assignee | ||
Comment 16•20 years ago
|
||
checked in
You need to log in
before you can comment on or make changes to this bug.
Description
•