Bug 170088

Summary: Linking to style sheets with HTTP headers not implemented
Product: [Applications] konqueror Reporter: Gérard Talbot (no longer involved) <browserbugs2>
Component: khtml parsingAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: david.heijkamp
Priority: NOR Keywords: testcase
Version First Reported In: 4.1.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
URL: http://simon.html5.org/test/ie7b2-bugs/029.php
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gérard Talbot (no longer involved) 2008-08-30 18:04:07 UTC
"
Web server managers may find it convenient to configure a server so that a
style sheet will be applied to a group of pages. The HTTP Link header has the
same effect as a LINK element with the same attributes and values.
"
HTML 4.01, section 14.6 Linking to style sheets with HTTP headers
http://www.w3.org/TR/html4/present/styles.html#h-14.6

Steps to reproduce
------------------
Load testcase:
http://simon.html5.org/test/ie7b2-bugs/029.php

Actual results in Konqueror 4.1 Windows
-------------------------------------------
The webpage has a red background.

Expected results
----------------
The webpage should have a green background.

Notes

- Link http-equiv
<meta http-equiv=Link content="&lt;support/limepage.css>; rel=stylesheet">
http://simon.html5.org/test/ie7b2-bugs/030.html 
also fails

- meta-testcase for various methods of linking and/or importing CSS stylesheets
http://www.hixie.ch/tests/adhoc/css/cascade/import/002.html
fails, in particular for (a) to (f) when the HTTP response headers
{
Link:   <002d.css>; rel="stylesheet"    
Link:   <002f.css>; rel="stylesheet"
}
are listed.

- see also 
Bug 20018: Linking to style sheets with HTTP headers is not implemented in WebKit
https://bugs.webkit.org/show_bug.cgi?id=20018

View HTTP Response Header for that meta-testcase:
http://web-sniffer.net/?url=http%3A%2F%2Fwww.hixie.ch%2Ftests%2Fadhoc%2Fcss%2Fcascade%2Fimport%2F002.html&submit=Submit&http=1.1&gzip=yes&type=GET&uak=0

Regards, Gérard
Comment 1 David Heijkamp 2011-01-05 23:08:21 UTC
The problem still exists (red in stead of green background) using KDE SC 4.5.4 / Qt 4.7.1 / Fedora 14, both with KHTML and Webkit.
Comment 2 Gérard Talbot (no longer involved) 2011-05-16 21:39:51 UTC
There is now a RFC 5988 (Web Linking) covering link headers

http://tools.ietf.org/html/rfc5988#page-6

and there is a simili test suite on this:

Test Cases for HTTP Link header field (RFC 5988) from Julian Reschke
http://greenbytes.de/tech/tc/httplink/

which list tests and browser results.

regards, Gérard
Comment 3 Andrew Crouthamel 2018-11-05 03:20:14 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-11-17 05:05:10 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Justin Zobel 2022-12-19 00:13:37 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 6 Bug Janitor Service 2023-01-03 05:26:29 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2023-01-18 05:11:40 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!