Closed Bug 1514338 Opened 3 years ago Closed 3 years ago

Remove unneeded special-case inside nsHTMLButtonControlFrame display list building.

Categories

(Core :: Layout, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

No description provided.
This is a followup to bug 1089326.

The other kind of elements other than <button> that use this frame are
input[type="reset|submit|button"], via nsGfxButtonControlFrame. And that frame
is a leaf, so it can only contain anonymous content (which is chromeonly
content and thus doesn't show up in event.target and co.).

This changes behavior for event.originalTarget, I suppose, but that's what we
do elsewhere as well, and that's a Gecko-specific thing.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/587615dad57e
Remove unneeded special case in nsHTMLButtonControlFrame. r=bzbarsky
https://hg.mozilla.org/mozilla-central/rev/587615dad57e
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Depends on: 1523285
You need to log in before you can comment on or make changes to this bug.