Closed Bug 7835 Opened 27 years ago Closed 27 years ago

What should html:linked stylesheets do in XML

Categories

(Core :: CSS Parsing and Computation, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 7516

People

(Reporter: dbaron, Assigned: peterl-retired)

References

()

Details

What should a stylesheet linked through the {html namespace}link element do in an XML document? I think it should definitely do something in a document that is simply HTML converted to XML, i.e., where the root element is the {html namespace}html element, such as the one above, with the stylesheet-linking PI removed. (But maybe not - Maybe you want to encourage the PI.) However, one solution would be to apply the stylesheet from the link element only to elements within the HTML namespace - that is, it would be a stylesheet linked only to the html namespace. Some CSS3 concept of interaction between namespaces and stylesheets would probably be useful here, so WG opinion, which you know and I don't, is probably the way to go.
To the best of my knowledge, the XML folks (and the XHTML folks) are really wanting PIs to be used instead of application specific link tags. Doing this may not be expressly forbidden (yet), but it would likely piss them off. In all likelyhood, <html:link> tags will be forbidden from XHTML so this is moot. Rick, any word from the XHTML front on this? If we do support <html:link>, I like the idea of constraining the linked sheet to HTML namespaced markup.
Status: RESOLVED → REOPENED
PIs map directly to <html:link>, as do HTTP 'Link' headers (whether real or implied by META tags). I suggest the lot be implemented generically, and further suggest that they all work for everything. Why ban things when it is as easy to implement it the complete way?
Status: REOPENED → RESOLVED
Closed: 27 years ago
Resolution: LATER → DUPLICATE
*** This bug has been marked as a duplicate of 7516 ***
Status: RESOLVED → VERIFIED
Verifying this bug a dup of #7516
You need to log in before you can comment on or make changes to this bug.