Closed
Bug 139942
Opened 23 years ago
Closed 13 years ago
CSS errors in chrome
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla1.2alpha
People
(Reporter: dbaron, Unassigned)
References
Details
(Whiteboard: [whitebox] [Check Boffo on MozillaTest][patch])
Attachments
(2 files, 1 obsolete file)
60.27 KB,
patch
|
Details | Diff | Splinter Review | |
6.04 KB,
text/plain
|
Details |
This is a bug for the CSS errors in the chrome that have crept in since bug
71637 was fixed. The patch I'm about to attach includes all the errors on the
1.0 branch except for those in messageBody.css, which is covered by bug .
I haven't tested this at all, and I don't think it should be checked in as-is.
But I certainly think it's an interesting demonstration of how little some of
the CSS in the tree has been tested.
Reporter | ||
Comment 1•23 years ago
|
||
This is a patch against the 1.0 branch.
The bug on messageBody.css is bug 130728.
I found this using the command-line tool I just wrote (see bug 139943).
Reporter | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla1.1beta
Comment 2•23 years ago
|
||
Arguably, the incorrect lines should be removed, not fixed...
Comment 3•23 years ago
|
||
@@ -201,8 +201,8 @@
font-family: arial, helvetica, sans-serif;
font-size: 12px;
line-height: 1;
- margin-top: 0;
- margin-bottom: 4;
+ margin-top: 0px;
+ margin-bottom: 4px;
}
"line-height: 1;" is a no-op, right? Remove it?
Reporter | ||
Comment 4•23 years ago
|
||
No, since 'line-height' is inherited. And there's a .7 in the previous rule,
which I expect it's overriding.
Reporter | ||
Comment 5•23 years ago
|
||
There's also a bad 'background-color' declaration in pref-viewing_messages.xul
that I should fix.
Comment 6•23 years ago
|
||
(Good point about the inheritance, which I hadn't considered. Although, looking
at the usage, it seems like the 'inthissection' and 'inthissections' are used
independently. But it's obviously not your job to fix every bit of redundant
css in the tree :-).
Comment 7•23 years ago
|
||
cc'ing myself
Reporter | ||
Comment 8•22 years ago
|
||
For reference, bug 65469 is the bug on CSS error reporting an bug 155855 is the
bug on turning on CSS error reporting in DEBUG builds only. (I intend to do the
localization sometime before trying to turn it on for release builds.)
Reporter | ||
Comment 9•22 years ago
|
||
Attachment #80900 -
Attachment is obsolete: true
Reporter | ||
Updated•22 years ago
|
Target Milestone: mozilla1.1beta → mozilla1.2alpha
Comment 10•22 years ago
|
||
*** Bug 158069 has been marked as a duplicate of this bug. ***
Comment 11•22 years ago
|
||
David: what do you want to do with this patch? Could we get simple stuff in at
least? Adding the correct @namespace rules for example would already fix some
errors and I think it's mostly clear that that was just an oversight.
Reporter | ||
Comment 12•22 years ago
|
||
Which ones? Adding some of those rules might break other things.
Updated•22 years ago
|
Whiteboard: [dev notes]
Updated•22 years ago
|
Whiteboard: [dev notes] → [whitebox]
Comment 13•22 years ago
|
||
People need to look at the CSSERR parts of the patch. Let's try and get this
resolved.
Updated•21 years ago
|
Comment 14•21 years ago
|
||
I filed bugs on the appropriate components and attached patches. Hopefully the
owners will be able to determine if the patches are appropriate. I did not
include anything for layout/html/tests and was not able to fix all errors. The
remaining errors are mainly due to # pre-processor statements or vendor
specific properties I am not familiar with.
Reporter | ||
Updated•19 years ago
|
Whiteboard: [whitebox] [Check Boffo on MozillaTest] → [whitebox] [Check Boffo on MozillaTest][patch]
Reporter | ||
Updated•18 years ago
|
Assignee: dbaron → nobody
Status: ASSIGNED → NEW
QA Contact: ian → style-system
Reporter | ||
Comment 15•13 years ago
|
||
I think this has been fixed for a while; these don't creep in much anymore now that they show up on the console.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•