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

RESOLVED INACTIVE

Status

()

Core
Layout
RESOLVED INACTIVE
11 years ago
2 days ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

(Blocks: 1 bug, {testcase})

Trunk
testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

11 years ago
Created attachment 286569 [details]
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

Comment 2

2 days ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Last Resolved: 2 days ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.