Bug 107275 - [testcase] HREF property of inline stylesheets should be null
Summary: [testcase] HREF property of inline stylesheets should be null
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml ecma (show other bugs)
Version: 3.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-12 14:34 UTC by kirun
Modified: 2010-03-17 16:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Minimal testcase (524 bytes, text/html)
2005-06-12 14:35 UTC, kirun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kirun 2005-06-12 14:34:00 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    SuSE RPMs

From http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/stylesheets.html#StyleSheets-StyleSheet

"href of type DOMString, readonly ...

... For inline style sheets, the value of this attribute is null."

Where the returned value is supposed to be null, testing for this using the null keyword does not work.
Comment 1 kirun 2005-06-12 14:35:34 UTC
Created attachment 11411 [details]
Minimal testcase
Comment 2 Harri Porten 2005-06-12 19:01:26 UTC
Firefox and IE print "false" as well. Is there any real world browser returning null?
Comment 3 kirun 2005-06-12 20:56:37 UTC
Firefox gets it wrong in a different way (https://bugzilla.mozilla.org/show_bug.cgi?id=74281)

Jesse's description in that bug says IE returns an empty string. This is also what Konqueror currently does.
Comment 4 Zac Slade 2007-01-07 18:15:42 UTC
Konqueror 3.5.5 still returns false for the testcase.
FireFox 2.0.0.1 returns false.
Opera 9.10 returns true.

So to answer Harri, yes there is at least one browser that does return null properly.
Comment 5 Philip Rodrigues 2007-01-07 18:35:32 UTC
Will mark as confirmed since there is a real world browser returning null, but I guess the developers might want to WONTFIX this
Comment 6 FiNeX 2008-04-07 00:04:33 UTC
Konqueror 4.0.3 display nothing.
Comment 7 FiNeX 2008-04-07 00:06:18 UTC
What should be the correct behaviour?
Comment 8 FiNeX 2008-05-06 10:18:48 UTC
Konqueror 3.5.9 display "false".
Comment 9 Raphael Kubo da Costa 2010-03-17 16:29:09 UTC
Konqueror trunk (svn r1104051), Arora using QtWebKit (Qt git > 4.6.2) and Firefox 3.6 show true in the testcase, which, apparently, is the expected and correct value.

Maybe this bug should be closed?
Comment 10 Raphael Kubo da Costa 2010-03-17 16:33:53 UTC
Apparently this was fixed by commit 874250. Gecko, WebKit and KHTML return true now. Closing.