Possible rounding error in drawing fieldset borders

RESOLVED FIXED

Status

()

defect
RESOLVED FIXED
14 years ago
9 months ago

People

(Reporter: mconnor, Assigned: roc)

Tracking

({testcase})

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

Reporter

Description

14 years ago
Does not happen on all fonts/sizes, using text zoom will show the issue on
varying sizes.

In certain cases the top border will disappear from the fieldset.  I use Verdana
14 as my default font, which seems to be always trigger this.

testcase coming up.
Reporter

Comment 1

14 years ago
Posted file minimized testcase
Reporter

Comment 2

14 years ago
works in Gecko 1.7.x, broken on current trunk, bz was able to reproduce on IRC
Keywords: regression
Reporter

Comment 3

14 years ago
scratch that, sorry, I can reproduce on 1.7.x now if I zoom right.
Keywords: regression
Is this at all related to bug 287624?
Keywords: testcase

Comment 5

14 years ago
This might be related: Top border is missing on the second fieldset

conditions:
* strict-mode
* fieldset border is styled
* fieldset has -moz-border-radius
* h2 + fieldset + fieldset
* brower is using Georgia or Verdana at 16 points by default

Comment 6

14 years ago
I've hit upon this issue as well: this worked in Firefox 1.0, but is broken in 1.5beta2. This testcase is a rather minimal testcase that demonstrates the problem  with just a single FIELDSET... initially I was seeing this with more complicated page only affecting the second fieldset and subsequent ones.

With the attached test case, removing either of the margins or the font size causes this to render correctly. This is on Windows XP with standard DPI and font settings. Given the sensitivity to margins and sizings, the theory of a rounding error sounds plausible...

Comment 7

14 years ago
WFM :Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060126
Firefox/1.6a1

Bug 317375, comment 132 says that that bug fixed this.
Status: NEW → RESOLVED
Last Resolved: 14 years ago
Depends on: 317375
Resolution: --- → FIXED
Component: Layout: View Rendering → Layout: Web Painting
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.