Closed Bug 408834 Opened 12 years ago Closed 8 years ago

Page Info violates XUL box model

Categories

(SeaMonkey :: Page Info, defect)

defect
Not set

Tracking

(Not tracked)

VERIFIED FIXED
seamonkey2.12

People

(Reporter: neil, Assigned: ewong)

References

()

Details

Attachments

(1 file, 1 obsolete file)

Seen in the Error Console:

Warning: XUL box for hbox element contained an inline img child, forcing all its children to be wrapped in a block.
Source File: chrome://navigator/content/pageinfo/pageInfo.xul
Cool. How do I start seeing this type of error? Also, do you have a line number?
There's no line number for the error, because it's generated during frame construction - search nsCSSFrameConstructor for NeededToWrapXUL. The only tabs I looked at at the time were the general and media tabs (for bug 402286).
Seems to be fixed Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.9.1b4pre) Gecko/20090413 SeaMonkey/2.0b1pre
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Steps to reproduce from Bug 437864 Comment 0

1. Load URL page.
2. Page Info > Media.
3. Select the SWF line.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Assignee: db48x → nobody
Status: REOPENED → NEW
QA Contact: page-info
Attached patch Changed img display to block. (obsolete) — Splinter Review
Assignee: nobody → ewong
Status: NEW → ASSIGNED
Attachment #623054 - Flags: review?(neil)
Does this stop the error message from happening in the test case in Comment 4?
Comment on attachment 623054 [details] [diff] [review]
Changed img display to block.

Bug 522850 doesn't look like being fixed soon but just in case it might help to reorder the lines:
#thepreviewimage {
  display: block;
  /* This following entry can be removed when Bug 522850 is fixed. */
  min-width: 1px;
}
Attachment #623054 - Flags: review?(neil) → review+
Attachment #623054 - Attachment is obsolete: true
Attachment #623380 - Flags: review+
Keywords: checkin-needed
Pushed to comm-central:
http://hg.mozilla.org/comm-central/rev/6296536b1671
Status: ASSIGNED → RESOLVED
Closed: 11 years ago8 years ago
Resolution: --- → FIXED
Keywords: checkin-needed
Target Milestone: --- → seamonkey2.12
(In reply to Philip Chee from comment #6)
> Does this stop the error message from happening in the test case in Comment
> 4?

[Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/15.0 Firefox/15.0a1 SeaMonkey/2.12a1] (2012-05-21-00-30-14-comm-central-trunk)

Bug still there, as expected.

[Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/15.0 Firefox/15.0a1 SeaMonkey/2.12a1] (2012-05-23-00-30-03-comm-central-trunk)

V.Fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.