Closed
Bug 297937
Opened 20 years ago
Closed 18 years ago
-moz-border-radius rendered incorrectly when line-height specified
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: smolens, Unassigned)
Details
(Keywords: regression, testcase)
Attachments
(3 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Galeon/1.3.21 (Debian package 1.3.21-1+gnome28+1) Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050616 Firefox/1.0+ Attaching testcase. When a line-height is specified, the borders of elements with -moz-border-radius specified are rendered incorrectly. When a line-height is not specified, the borders are rendered correctly. In the testcase, the span's bottom border is not wide enough. Here, line-height is specified for the body, but the problem also occurs when line-height is specified for the span. Here, line-height is specified as a number, but similar problems occur when it is specified in ems or as a percentage. For some font sizes (when changing with Ctrl +/-), the problem is not evident. Reproducible: Always Steps to Reproduce: 1. Open testcase.html. 2. Adjust font size using Ctrl +/- until border rendering problem is evident. Actual Results: Border rendering problem is evident. Expected Results: Rounded border should be rendered correctly. Same rendering problem occurs with Mozilla 1.8b2, build 2005061502. Rendering appears normal in Firefox 1.0.4 and Mozilla 1.7.8.
Comment 3•20 years ago
|
||
confirmed with linux trunk 2005061505 this regressed between linux trunk builds 2005032805 and 2005032905 http://bonsai.mozilla.org/cvsquery.cgi?branch=HEAD&branchtype=match&date=explicit&mindate=2005-03-28+05%3A00%3A00&maxdate=2005-03-29+05%3A00%3A00&cvsroot=%2Fcvsroot
Comment 4•20 years ago
|
||
Confirmed also in OS/2 DP nightly. In w32 DP nightly, misrendering occurs whether or not line-height is specified.
OS: Linux → All
Comment 5•19 years ago
|
||
Andrew, do you still see this? This worksforme as far as I can tell...
Comment 6•19 years ago
|
||
This is what I get with trunk builds 2005100503 (gtk2) and 2005100405 (gtk1) (differences due to font size, I guess). With gtk2, the bottom border is flat (no rounded corner). With gtk1, the top and bottom are the same, but the left and right differ slightly.
Comment 7•18 years ago
|
||
Current Cairo builds do show the attachment correctly (as far as I can see), so marking this one as FIXED by bug 368247
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•