Closed
Bug 403297
Opened 17 years ago
Closed 11 years ago
Zooming triggers "WARNING: Unable to test style tree integrity -- no content node"
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: jruderman, Assigned: dholbert)
References
Details
(Keywords: regression)
Attachments
(1 file)
1.18 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
Ctrl++ or Ctrl+- on any page triggers: WARNING: Unable to test style tree integrity -- no content node: file /Users/jruderman/trunk/mozilla/layout/base/nsCSSFrameConstructor.cpp, line 10110 This even happens on the empty page data:text/html,
Comment 1•17 years ago
|
||
We're doing a style change on the viewport. That's rare, but can happen....
Reporter | ||
Comment 2•17 years ago
|
||
It's not rare any more... can we change the assertion so it doesn't fire in this case?
Comment 3•17 years ago
|
||
It's not an assertion... it's a warning. And it _is_ rare compared to style changes in general. ;) We could probably skip the warning if the frame is a viewport... or even altogether. David, sound OK?
Assignee | ||
Comment 4•11 years ago
|
||
We hit this at pageload time, for files with <meta charset="utf-8">, since the charset-change happens asynchronously and triggers a rebuild of all style data starting with the viewport frame. I agree that we should skip the warning if the frame is a viewport. (I was actually just about to file a bug on making that change, and then I ran across this one from bugzilla's new-bug-form dupe-finder.)
Assignee | ||
Updated•11 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Assignee | ||
Comment 5•11 years ago
|
||
Minimal testcase that demonstrates the beginning of comment 4: data:text/html,<meta charset="utf-8">
Assignee | ||
Comment 6•11 years ago
|
||
This patch skips the warning if we have a frame and it's a viewport frame.
Comment 7•11 years ago
|
||
Comment on attachment 763872 [details] [diff] [review] fix v1 r=me
Attachment #763872 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 8•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1e93bc25a700
Assignee | ||
Updated•11 years ago
|
Flags: in-testsuite-
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1e93bc25a700
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in
before you can comment on or make changes to this bug.
Description
•