Bug 121710 - khtml truncates decimal numbers in CSS dimensions (like width)
Summary: khtml truncates decimal numbers in CSS dimensions (like width)
Status: RESOLVED DUPLICATE of bug 113630
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: NetBSD pkgsrc NetBSD
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-10 15:46 UTC by Geert Hendrickx
Modified: 2006-02-11 17:41 UTC (History)
0 users

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 Geert Hendrickx 2006-02-10 15:46:00 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    NetBSD pkgsrc
Compiler:          gcc version 3.3.3 (NetBSD nb3 20040520) Configured with: /home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf2.0. --host=i386--netbsdelf --target=i386--netbsdelf
OS:                NetBSD

CSS properties like "width" apparently are truncated to integer values in KHTML.  I have a website with three items with widths of 33.333% (relative to a parent div), and Konqueror seems to use 33% instead -> I can clearly see the remaining 1% not being filled.  Opera has the same problem, Mozilla and IE6 do it right (i.e. fill the div completely with 3 times 33.333%).  

Example: http://www.epidauros.be/ .  There are three <li>'s on the top: "De Nacht", "Historiek" and "Gastenboek", each having "width: 33.333%" (in default.css, under "ul#menu li"), but if you hover over "Gastenboek", you can see the remaining 1% not turning grey.
Comment 1 Tommi Tervo 2006-02-11 17:41:15 UTC

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