Bug 122667 - span tag ignores font-size atrribute.
Summary: span tag ignores font-size atrribute.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 3.5.5
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-25 00:39 UTC by Mars Liu
Modified: 2012-06-18 17:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mars Liu 2006-02-25 00:39:01 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Debian testing/unstable Packages
OS:                Linux

please c & p the following test code to a blank html file. 

<html>
  <head>
    <title>Test</title>
    <meta content="">
    <style></style>
  </head>
  <body>
<span style="font-size: 0pt;color:'#F3F6FA'" > Not supposed to show.</span>
</body>
</html>

In Konqueror, the "font-size: 0pt" would be ignored, but IE and Mozilla will accept this attribute, they wouldn't display anything.
Comment 1 Albert Liu 2006-08-21 01:08:47 UTC
this problem doesn't exist in konqueror 3.5.4
Comment 2 lexual 2006-10-19 11:12:56 UTC
Not sure what the correct behaviour is, but on 3.5.5 there is a difference between firefox and konqueror.
Firefox renders nothing, konqueror renders small text.
Comment 3 Frederik Schwarzer 2007-01-06 13:24:20 UTC
Same here, the text is shown in tiny size. Furthermore it is not resizeable.
Comment 4 Simon Oosthoek 2007-01-06 13:30:54 UTC
there's a setting "minimum font size", on my konqueror, it's set to 7pt, perhaps that is the cause?
I haven't tried the example html, but it seems reasonable that 0pt would be mapped to 7pt...
Comment 5 Mike Williams 2007-01-08 05:15:28 UTC
I can confirm this on KDE 3.5.5, slackware 11. 

With regards to simon's comment about a minimum font size in konqueror: this doesn't seem to be affecting this bug. Try changing the font size specified in the css to 7pt, and you will see that the text is much bigger than the tiny line displayed when the font size is 0pt.
Comment 6 Jaime Torres 2008-05-16 18:24:46 UTC
Must the fonts with 0p not be rendered (as is done in other browsers) or must they have at least 1p? This is a valid way to intepret an ambiguity in the HTML spectification. As you know, W3C is working on HTML 5. I think it is the right time to ask for a clarification in this aspect and others ambiguities that you have seen in HTML over the years
Comment 7 Jaime Torres 2009-08-03 13:05:52 UTC
Just For your Info, I bugged html about this.
http://lists.w3.org/Archives/Public/public-html-comments/2008Aug/0000.html
Comment 8 Janek Bevendorff 2012-06-18 17:29:21 UTC
Message from the Bugsquad and Konqueror teams: This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore. If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report. Thank you for your understanding.