Open Bug 401580 Opened 17 years ago Updated 2 years ago

Native theming of form controls doesn't respond properly to style attribute removal

Categories

(Core :: Layout, defect)

defect

Tracking

()

People

(Reporter: jruderman, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: testcase)

Attachments

(1 file)

Attached file testcase
The textbox's appearance changes 1s after it the testcase is loaded, even though all the testcase is doing at that point is removing the textbox from the document and putting it back in.

Similar things happen with buttons and listboxes.
This looks like a cross-platform layout bug to me.  The issue is that the style attribute removal changes whether the widget is themed (because there is no longer author style), but doesn't change its computed style (so there is no style change hint).  As a result we don't invalidate the widget.

On Linux, you can see the appearance update even without the remove/insert thing if you just mouse out of the Firefox window.

See also bug 393325 comment 4.  This is much the same issue.
Assignee: joshmoz → nobody
Component: Widget: Cocoa → Layout
Depends on: 393325
OS: Mac OS X → All
QA Contact: cocoa → layout
Hardware: PC → All
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: