Closed
Bug 354745
Opened 18 years ago
Closed 18 years ago
Show/hide events not fired for layout changes in a changelist
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: aaronlev, Assigned: aaronlev)
References
Details
(Keywords: access, crash)
Attachments
(2 files)
3.91 KB,
text/html
|
Details | |
7.54 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
When frames change visibility or display indirectly, e.g. via an ancestor class/attribute change which causes computed style to change, the accessibility show/hide/reorder events are not getting fired.
Assignee | ||
Comment 1•18 years ago
|
||
Assignee | ||
Comment 2•18 years ago
|
||
Attachment #240527 -
Flags: superreview?(bzbarsky)
Attachment #240527 -
Flags: review?(bzbarsky)
Comment 3•18 years ago
|
||
I won't be able to get to this for about a week.
Comment 4•18 years ago
|
||
Doesn't that bring us back to the situation where the change type can lie? That is, we could have an EVENT_HIDE on a node when what we're actually doing is showing stuff we didn't show before: <div style="visibility: visible"> <div style="visibility: hidden"> Content </div> </div> and changing the visibility values will fire HIDE while showing the content. Is that actually correct? If so, there should be some major comments in the code explaining why. I know this has come up before, and I don't recall seeing a sateisfactory answer...
Comment 5•18 years ago
|
||
Comment on attachment 240527 [details] [diff] [review] Change where we check for significant changes to frames With those detailed comments added, looks ok. Watch the perf numbers very carefully.
Attachment #240527 -
Flags: superreview?(bzbarsky)
Attachment #240527 -
Flags: superreview+
Attachment #240527 -
Flags: review?(bzbarsky)
Attachment #240527 -
Flags: review+
Assignee | ||
Comment 6•18 years ago
|
||
Boris, it looks like what we're doing for display:none is correct, but for visibility:visible is not correct. Now that I look at it, I see that visibility is reversed when a visibility:hidden element has a visibility:visible child. This is not like display:none -- if it has a display:block child the child is still not visible. The entire subtree is now gone. I'd like to file a follow up bug for dealing with those issues. This fixes a topcrash do I'd like to get it in now.
Assignee | ||
Comment 7•18 years ago
|
||
Checked in. Spun off bug 355521 for the visibility issues. Boris, you're correct, we need to handle visibility differently. Thank you for explaining that.
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
•