Closed
Bug 290752
Opened 21 years ago
Closed 20 years ago
Style context parentage warnings with scrollframes
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bzbarsky, Assigned: roc)
Details
Attachments
(1 file)
7.75 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
asa
:
approval1.8b2+
|
Details | Diff | Splinter Review |
STEPS TO REPRODUCE:
1) Start currrent debug build
2) Hover the URL bar a few times
ACTUAL RESULTS:
frame: Area(div)(-1) (0x860520c) style: 0x8605178 :-moz-scrolled-content {}
Wrong parent style context: style: 0x86050e4 :-moz-scrolled-content {}
should be using: style: 0x85f4de4 {}
EXPECTED RESULTS:
No warnings.
![]() |
Reporter | |
Comment 1•21 years ago
|
||
I'm guessing that the problem is that GetStyleContextParent() isn't returning
the thing we use as the parent in the frame constructor somewhere, but I don't
know where...
Assignee | ||
Comment 2•21 years ago
|
||
I thought I saw this before, but I can't reproduce it right now.
![]() |
Reporter | |
Comment 3•21 years ago
|
||
Hmm... Hovering over the url bar (classic theme) reproduces quite reliably...
Assignee | ||
Comment 4•20 years ago
|
||
We were creating an extra, unnecessary level of style contexts there.
The only issue is that we want the root scrolled frame to have both
-moz-scrolled-content and -moz-canvas (or -moz-page-sequence) pseudos. I've
solved this by introducing -moz-scrolled-canvas and -moz-scrolled-page-sequence
and arranging for ua.css to give them the union of the style rules. Maybe
there's a better way...
Attachment #181932 -
Flags: superreview?(bzbarsky)
Attachment #181932 -
Flags: review?(bzbarsky)
![]() |
Reporter | |
Comment 5•20 years ago
|
||
Comment on attachment 181932 [details] [diff] [review]
fix
No, this looks reasonable...
Attachment #181932 -
Flags: superreview?(bzbarsky)
Attachment #181932 -
Flags: superreview+
Attachment #181932 -
Flags: review?(bzbarsky)
Attachment #181932 -
Flags: review+
Assignee | ||
Comment 6•20 years ago
|
||
Comment on attachment 181932 [details] [diff] [review]
fix
Fixes annoying warning spam on the console (regression) which people have been
complaining about
Attachment #181932 -
Flags: approval1.8b2?
Updated•20 years ago
|
OS: Linux → All
Comment 7•20 years ago
|
||
Comment on attachment 181932 [details] [diff] [review]
fix
a=asa
Attachment #181932 -
Flags: approval1.8b2? → approval1.8b2+
Assignee | ||
Comment 8•20 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•