Closed Bug 438537 Opened 16 years ago Closed 15 years ago

Rendering of div with rounded corners and overflow = hidden goes wrong

Categories

(Core :: Web Painting, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9.3a1
Tracking Status
status1.9.2 --- final-fixed

People

(Reporter: vincent, Assigned: dbaron)

References

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9) Gecko/2008060309 Firefox/3.0
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9) Gecko/2008053008 Firefox/3.0

When rendering a div with rounded corners and overflow hidden will go wrong when the dimensions of the box are changed with javascript. See attached sample HTML to reproduce the problem.

Reproducible: Always




This problem does not happen in Firefox 2. It problem also happens on Linux with Forefox 3RC1
Click on the div to make it expand
OS: Mac OS X → All
Hardware: Macintosh → All
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Causing a redraw (e.g. by resizing the window) fixes this.
Status: UNCONFIRMED → NEW
Component: Layout → Layout: View Rendering
Ever confirmed: true
Keywords: testcase
QA Contact: layout → layout.view-rendering
Version: unspecified → Trunk
The code in nsIFrame::CheckInvalidateSizeChange is supposed to handle cases like this (but clearly isn't handling this one).
Assignee: nobody → dbaron
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla1.9.3a1
http://hg.mozilla.org/mozilla-central/rev/894a8e2bddb2
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment on attachment 417305 [details] [diff] [review]
patch

a192=beltzner, dbaron thinks this will fix bug 537434
Attachment #417305 - Flags: approval1.9.2+
Whiteboard: [needs 192 landing]
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: