jdunno / crunchy

Automatically exported from code.google.com/p/crunchy
0 stars 0 forks source link

Problem with style sheet for "external" tutorials #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a test html file with an external style sheet (either main one,
or alternative).
2. Load the file through the browse/load local tutorial option in Crunchy.
(From the menu Tutorial -> Python tutorials)
3. Try selecting the style file in Firefox (menu: View -> Page Style)

What is the expected output? What do you see instead?

The style file does not appear as a valid choice in Firefox.  If we look at
the source, it lists the path as absolute.  For example:
===
<link href="file:///src/css/b-w.css" rel="stylesheet" title="Black and
white" type="text/css" />
<link href="file:///E|/pycon.css" rel="alternative stylesheet" title="Pycon
slides" type="text/css" />
===

Also related:

User-defined *alternative* stylesheet should probably appear last (after
Crunchy default) following processing by Crunchy.  User-defined *main*
style sheets should continue appearing first.

Original issue reported on code.google.com by andre.ro...@gmail.com on 17 Dec 2006 at 10:55

GoogleCodeExporter commented 8 years ago
Fixed in André's branch.

Original comment by andre.ro...@gmail.com on 2 Jan 2007 at 3:02