Closed Bug 220986 Opened 21 years ago Closed 21 years ago

font display for WebCT 4 and Mac Mozilla renders as a serif instead of sans-serif from the CSS sheet

Categories

(Core :: CSS Parsing and Computation, defect)

PowerPC
macOS
defect
Not set
major

Tracking

()

VERIFIED INVALID

People

(Reporter: adamf, Assigned: dbaron)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030917 Camino/0.7+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5) Gecko/20030916

The fonts on this page should render as sans-serif fonts (they show up as
sans-serif with IE 5.2, Netscape 7.1 and Safari on the Mac). The fonts are
displayed as serif instead of sans-serif throughout the WebCT 4.0 environment.

This may be to a lack of compliance with regards to WebCT. I cannot confirm
that. Older versions of Mozilla display the fonts correctly (verified looking ok
with 1.2.1 and 1.3). 

Stylesheet can be seen here as an example:
http://webct.mcgill.ca/web-ct/en8/style/styles_all4x.css

This is not a install specific issue as it can be verified by looking at another
WebCT version 4.0 installation here:

http://webct4.trentu.ca:8900/webct/ticket/ticketLogin?action=print_login&request_uri=/webct/homearea/homearea
or 
https://online.csus.edu/webct/ticket/ticketLogin?action=print_login&request_uri=/webct/homearea/homearea
etc...


Reproducible: Always

Steps to Reproduce:
1.go to site above
2.
3.

Actual Results:  
rendered the fonts as serif fonts (times)

Expected Results:  
rendered them as sans-serif (verdana)
What does this have to do with the DOM?
Assignee: dom_bugs → dbaron
Component: DOM Style → Style System
The stylesheet has numerous errors in it, including an invalid selector in the
following rule:

TD,TH,BODY,P,A,UL,LI,UL:UL,DIV {font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:11px;}

which causes the rule to be ignored.  (What's "UL:UL"?)


The full error list is:

Error: Unknown pseudo-class or pseudo-element 'UL'.  Selector expected.  Ruleset
ignored due to bad selector.
Source File: http://webct4.trentu.ca:8900/web-ct/en8/style/styles_all4x.css
Line: 13

Error: Selector expected.  Ruleset ignored due to bad selector.
Source File: http://webct4.trentu.ca:8900/web-ct/en8/style/styles_all4x.css
Line: 627

Error: Unknown property 'shading'.  Declaration dropped.
Source File: http://webct4.trentu.ca:8900/web-ct/en8/style/styles_all4x.css
Line: 744

Error: Expected end of value for property but found 'px'.  Error in parsing
value for property 'line-height'.  Declaration dropped.
Source File: http://webct4.trentu.ca:8900/web-ct/en8/style/styles_all4x.css
Line: 796

Error: Unknown pseudo-class or pseudo-element 'UL'.  Selector expected.  Ruleset
ignored due to bad selector.
Source File: http://webct4.trentu.ca:8900/web-ct/en8/style/styles_nonn4.css
Line: 6

Error: Expected color but found '#'.  Error in parsing value for property
'color'.  Declaration dropped.
Source File: http://webct4.trentu.ca:8900/web-ct/en8/style/styles_nonn4.css
Line: 21


This is the result of fixing bug 145968.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Verified.  The only reason it rendered in older versions of Mozilla is that
Mozilla's CSS parsing was buggy (bug 145968).
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.