Closed Bug 68185 Opened 24 years ago Closed 23 years ago

Link element's HREF is not supported in XHTML

Categories

(Core :: XML, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: chrispetersen, Assigned: hjtoi-bugzilla)

References

()

Details

(Keywords: xhtml, Whiteboard: [fixinhand, see bug 67887])

Attachments

(2 files)

Build: 2001020804
Platform: All
Expected result: HREF attribute should work in the Link element. This is a away
a user would specify a external css file.
What I got: The css which is referenced by the HREF attribute is not applied.

Steps to reproduce:

1) Save the xml test case and css file to local drive.

2) Open xml test file.

3) The H3 and P element are rendered with assigned css properties/values.
Added xhtml keyword
Keywords: xhtml
Hardware: Macintosh → All
Summary: Link element's HREF is not supported in XHTML → Link element's HREF is not supported in XHTML
Attached file a external css file
Duplicates bug 36790.
The only difference I see is that the STYLE element is present in 36790. This 
report talks about the external css not being applied.
Nominating for beta 1. External stylesheets must be supported in XHTML.
Keywords: nsbeta1
You can use external stylesheets with the xml-stylesheet processing instruction,
see http://www.w3.org/TR/xml-stylesheet/
Keywords: mozilla1.0
Have you resolved how style sheets from LINK and <?xml-stylesheet ...?> 
PI's should be combined?

I don't believe this behavior is defined in any specifications,
although I would _expect_ that they would be combined simply
according to the order in which they appear in the document --
PI's first, followed by the LINKs, otherwise weighted equally.

Does that make sense to everyone?
Ian: Sounds reasonable. The stylesheet PI's are only allowed in the document
prolog, so they will always precede the link elements. Otherwise it shouldn't
matter if you use PIs or link elements or both.
Ian: FYI, there are at least 6 non-dynamic ways of linking stylesheets:

   Link: HTTP headers
   <?xml-stylesheet?> PIs
   <meta http-equiv="Link"> elements
   <link rel="stylesheet"> elements
   <style> @import "" </style> blocks
   <style src=""> elements (non-standard)

Fun, huh. They can all appear in the same document, too. And all of them can
be alternate stylesheets, for extra fun...
Probably common usage.  Will schedule fix.
Keywords: nsbeta1nsbeta1+
Priority: -- → P3
Target Milestone: --- → mozilla0.9.1
For fix, see bug 67887.
Status: NEW → ASSIGNED
Whiteboard: [fixinhand, see bug 67887]
Nisheeth says r=nisheeth
Really.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Marking verified in the May 03 build (2001050308).
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: