Closed Bug 283618 Opened 20 years ago Closed 20 years ago

!important background not printed

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 250885

People

(Reporter: math.parent, Assigned: dbaron)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050225 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050225 Firefox/1.0+

The testcase is blank when printed instead of being red. I know this is wanted
but there should be a workaround.

Reproducible: Always

Steps to Reproduce:
1. Open the test case
2. Go File > Page setup and uncheck "Print Background"
3. Go File > Print Preview

Actual Results:  
White background

Expected Results:  
Red background

There should be a way to enforce background images when printing (not regarding
the "Print Background" pref).

The mozilla team has choosen not to take care of the media (print/screen/...).

If the CSS style rules are as follow:
[html4.css]
  ...
[print.css]
  * {background: none ! important }
[inline css]
  element {background: red ! important }

the computed style should be
  {background: red ;}
Attached file Basic test case
Attach test case
Oups this is the same as #250885.
Sorry.
Per comment 2.

*** This bug has been marked as a duplicate of 250885 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 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: