Closed Bug 116594 Opened 23 years ago Closed 23 years ago

apple personal websharing doesn't map CSS files to text/css

Categories

(Tech Evangelism Graveyard :: English US, defect)

PowerPC
Mac System 9.x
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: davelentz, Assigned: bc)

References

()

Details

The referenced url (216.254.35.15) (mostly) validates under the W3C XHTML, HTML,
and CSS validators.  No specified text formatting occurs under Moz 0.9.7,
although it works under Mozilla 0.9.6, Netscape 6.2, Mac IE 5.0, Mac IE 5.1,
Netscape Communicator 4.78, Windows IE 5.5.  I've played around enough with the
text of the pages to believe that something is broken with 0.9.7, either in the
XHTML area or in the CSS handling.  Neither XHTML or CSS is used in a very
sophisticated manner in these pages, so whatever it is should be readily
apparent.  Even pages that validate perfectly will not display correctly under
0.9.7, which always uses the default fonts and ignores the XHTML attribute tags
specifying color and font style.

The host system is Mac OS 9.1
Resonse from GET /site.css

HTTP/1.0 200 OK
Server: MACOS_Personal_Websharing
Date: Sat, 22 DEC 2001 23:39:47 GMT
Last-Modified: Sat, 22 DEC 2001 16:16:00 GMT
Content-type: text/plain; charset=X-MAC-ROMAN
Content-length: 968

the problem here is mime type "text/plain"; mozilla rejects text/plain style
sheets if in strict mode. Reconfigure your (?) server to send "text/css" and it
will work (hope so)

See bug 46225 .
Thanks, that did the trick.  Apparently text/css is not one of the MIME type/
subtypes that Apple includes with their default personal websharing prefs (I 
know, it's only a toy webserver, but until I get hardware that OS X will run on 
and can use apache, it's what I have to work with).  I shall proceed to nag Apple 
to fix their product.  Interestingly enough, merely adding an entry to map file 
suffixes of .css to text/css MIME codings was inadequate.  I had to replace the 
final default of * 'TEXT' * text/plain with * 'TEXT' * text/css — I suppose I 
could has also deleted that entry and see if the .css row then was selected.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
.
Status: RESOLVED → UNCONFIRMED
Component: Browser-General → English: US
Product: Browser → Tech Evangelism
Resolution: INVALID → ---
Summary: XHTML or CSS not working correctly → apple personal websharing doesn't map CSS files to text/css
Version: other → unspecified
we should get apple to fix this :)
Assignee: asa → bclary
QA Contact: doronr → zach
Blocks: 110296
No longer blocks: 110296
Sending to authors because it is similar to authors issues. Confirming.
Status: UNCONFIRMED → NEW
Component: US General → Authors
Ever confirmed: true
QA Contact: zach → mgalli
there comes text/css now
Status: NEW → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → WORKSFORME
Moving to new component
Component: Authors → English US
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.