Bug 46537 - image in object tag has unnecessary padding and/or scroll bars
Summary: image in object tag has unnecessary padding and/or scroll bars
Status: RESOLVED DUPLICATE of bug 33903
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-16 02:03 UTC by michael
Modified: 2003-12-28 23:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description michael 2002-08-16 01:49:44 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           
Version:           KDE 3.0.0 
Severity:          normal
Installed from:    Compiled From Sources
Compiler:          GCC-2.95
OS:                Linux
OS/Compiler notes: Gentoo Linux 1.2 - KDE 3.0.? built from source

If an image is embedded in an HTML document
using the <object> tag it has unnecessary
padding and/or scroll bars.

For instance my home page
<URL:http://www.endbracket.net/">
uses the following HTML to add the W3C Valid
HTML logo:

      <p> 
        <a href="http://validator.w3.org/check/referer"><object data="http://www.w3.org/Icons/valid-html401" type="image/png" width="88" height="31">Valid HTML 4.01</object></a>
        Created by: <a href="feedback.html">Michael Wardle</a><br>
        Last modified: 2002-08-15
      </p>

The logo appears but with extra whitespace
around it causing it to not fully display.
Similar problems occur at
<URL:http://www.libpng.org/pub/png/pngs-strict.html>
where images that are embedded using object
tags have scroll bars where they should not.

It may be relevant that in each of these
examples:
- the image type is PNG
- the exact image size is specified as the
  object size using width="<width>" and
  height="<height">


(Submitted via bugs.kde.org)
Comment 1 Stephan Binner 2002-10-27 10:14:54 UTC
Can reproduce the libpng.org example. 
Comment 2 John Firebaugh 2003-12-28 23:28:13 UTC

*** This bug has been marked as a duplicate of 33903 ***