Closed Bug 163023 Opened 22 years ago Closed 19 years ago

Setting "-moz-binding: none" dynamically does not remove binding

Categories

(Core :: XBL, defect, P3)

x86
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 119078
Future

People

(Reporter: bugzilla, Assigned: hyatt)

References

(Blocks 1 open bug)

Details

(Keywords: dataloss, testcase)

Attachments

(2 files)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020813
BuildID:    20020813

Run testcase and go to Print Preview, the content in the Marquee will not be
visible. Its visible in Internet Explorer.

Reproducible: Always
Steps to Reproduce:
1. Run testcase
2. Go to Print Preview
Attached file Testcase
I suppose this would be related to bug 159932.
OS: Windows XP → All
This bug can be fixed by changing these lines in html.css

@media print {
      marquee { -moz-binding: none; }
}

to

@media print {
  marquee{
	-moz-binding:none;
	overflow:auto;
	display:block;
  }
}

This should probably also be merged into the print only rules just below.
Unfortuanly I don't know how to make patches so somebody else will have to do this.
In the meantime, a work around is to add the new lines to UserContent.css
(tested on build 2002081308, win95).
this was done on purpose
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Doron: can you give more details about why you think this is invalid?
Status: RESOLVED → REOPENED
Keywords: dataloss
Resolution: INVALID → ---
Summary: Marquee content not visible in print preview → Marquee content not visible after printing or in print preview
because, as you can see from the css, it was done on purpose
Doron: if by "the css" you mean
http://lxr.mozilla.org/seamonkey/source/layout/html/document/src/html.css#534, I
don't see a comment that says "don't print content inside marquee tags".  By the
way, "this was done on purpose" is never sufficient for marking a bug wontfix or
invalid.
Printing problem, over to rods.
Assignee: jst → rods
Status: REOPENED → NEW
543 @media print {
544   marquee { -moz-binding: none; }
545 }

Is pretty obvious I would say...
cc: hixie
This is a -moz-binding bug, not a marquee bug.	Setting "-moz-binding: none"
dynamically does not remove a binding (testcase).

Is this bug 119078?
marquee { -moz-binding: none; } isn't supposed to hide the content, it's
supposed to make it not scroll. This is valid. The content should print just
like it did before we implemented scrolling marquee.

If it's a -moz-binding bug, please send reassign to XBL.
Is this somehow related to bug 135653?
This will help when we start tackling printing for XBl, but right now we do not
support that that
Status: NEW → ASSIGNED
Priority: -- → P3
Summary: Marquee content not visible after printing or in print preview → (XBL-bindings) Marquee content not visible after printing or in print preview
Target Milestone: --- → Future
-> XBL
Assignee: rods → hyatt
Status: ASSIGNED → NEW
Component: DOM HTML → XBL
QA Contact: stummala → ian
Summary: (XBL-bindings) Marquee content not visible after printing or in print preview → Setting "-moz-binding: none" dynamically does not remove binding
This looks like a dup of bug 119078. Reporter, please verify, and close this one
off if it is.
This might very well be a dupe of bug 119078, but the workaround suggested there
 (replace -moz-binding:none; with -moz-binding: url("");) doesn't work.
Blocks: 57805
By the definitions on <http://bugzilla.mozilla.org/bug_status.html#severity> and
<http://bugzilla.mozilla.org/enter_bug.cgi?format=guided>, crashing and dataloss
bugs are of critical or possibly higher severity.  Only changing open bugs to
minimize unnecessary spam.  Keywords to trigger this would be crash, topcrash,
topcrash+, zt4newcrash, dataloss.
Severity: normal → critical
Keywords: testcase

*** This bug has been marked as a duplicate of 119078 ***
Status: NEW → RESOLVED
Closed: 22 years ago19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: