Closed
Bug 87103
Opened 25 years ago
Closed 24 years ago
BodyFixupRule not applied if background data specified higher in cascade
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla0.9.8
People
(Reporter: fantasai.bugs, Assigned: hyatt)
References
Details
(Keywords: css2, regression, testcase, Whiteboard: [ruletree])
Attachments
(1 file)
|
1.27 KB,
text/html
|
Details |
Overview:
If background information is specified on the <body> in a backstop or
doc level rule, it gets applied to the canvas. If all the information
is specified in a rule higher in the cascade (e.g. override or doc
!important), the background information gets applied to the <body> frame
and not the canvas.
Steps to Reproduce:
Open up testcase in Mozilla. I've run numerous tests, but I'm only
attaching one file. If you want to try the others, save it to your
disk and experiment.
Expected Results:
Background on <body> should be applied to the canvas.
Actual Results:
Background on <body> only gets applied to the canvas if it uses rules
from doc or backstop levels
Tested on:
Mozilla nightly (id: 2001060308) on Windows 2000
Additional Information:
This is a regression, because it works fine on the 2001053104 build.
Hyatt, I'm CCing you because I believe your patch to bug 78695 is
responsible -- as I understand it, nsRuleNode::WalkRuleTree goes up the
rule tree until it fills the rule data. Then it stops. If it fills its
data before reaching the doc level, where BodyFixupRule is, the rule
data doesn't pick up the BodyFixupRule::PostResolveCallback function to
fix the background.
| Assignee | ||
Comment 3•25 years ago
|
||
Getting attinasi on the cc list.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.3
Comment 4•25 years ago
|
||
Can the internal, C++ rules be given 'special' priority, so they are always
used, instead of applying at the doc level?
I was thinking that this could be specified at the backstop !important level and
this bug marked dependent on bug 45852.
Updated•25 years ago
|
Whiteboard: [ruletree]
Updated•25 years ago
|
Target Milestone: mozilla0.9.3 → mozilla0.9.4
| Assignee | ||
Updated•25 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
| Assignee | ||
Updated•25 years ago
|
Target Milestone: mozilla0.9.5 → mozilla0.9.6
| Assignee | ||
Updated•25 years ago
|
Target Milestone: mozilla0.9.6 → mozilla1.0
Depends on: 116161
Fixed by checkin of bug 116161 at 2002-01-07 15:45/46 PST.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•