Bug 32928 - Height of DIV increase one by one when set height to percentage
Summary: Height of DIV increase one by one when set height to percentage
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-25 00:13 PST by Jiuqing Song
Modified: 2023-07-03 06:35 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiuqing Song 2009-12-25 00:13:52 PST
<html>
<head>
<style>
div {border: solid 3px black; width: 50%; height: 30%;}
</style>
</head>
<body>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</body>
</html>

View this page, the height of div grows one by one. The same thing happens for <table>. And when print the page there's the same issue.
Comment 1 Tony Chang 2012-09-06 15:36:40 PDT
They seem to all be 6px tall to me.  Maybe this was fixed in the last few years.

Here's the test page I used:
http://plexode.com/u/#AGstyleI90%25%3B68%3A*24%3C61))))E-%3E%0A2*%20Q)!lass(divr(%3Dtest%3E4%2Fr!-4div*c~http://plexode.com/eval3/#ht=4G-.test*%7Bborder8solid*3px*black%3B*width859*height839%7D%0A4%2FG1111-
Comment 2 Ahmad Saleem 2023-07-02 15:50:54 PDT
It seems to be duplicate of another bug, where it was mentioned that it was due to rounding issue though with sub-pixel layout, it would be fixed etc.

Do we have this issue anymore? @Alan?