fune/layout/forms
Emilio Cobos Álvarez 5730ee0ca5 Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt
Extend the per-frame-class bit we have to devirtualize IsLeaf to also
devirtualize IsFrameOfType. That is, move this data to FrameClasses.py.

This was done by going through all the frame classes, trying to preserve
behavior.

The only quirky thing is that I had to add two more trivial frame
classes, `nsAudioFrame` for audio elements, and
`nsFloatingFirstLetterFrame`. That's because these frame classes were
returning different answers at runtime, but they do this only on
conditions that trigger frame reconstruction (floating, and being an
audio element, respectively).

Differential Revision: https://phabricator.services.mozilla.com/D194703
2023-11-26 22:17:28 +00:00
..
crashtests
test
HTMLSelectEventListener.cpp
HTMLSelectEventListener.h
ListMutationObserver.cpp
ListMutationObserver.h
moz.build
nsButtonFrameRenderer.cpp
nsButtonFrameRenderer.h
nsCheckboxRadioFrame.cpp
nsCheckboxRadioFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsColorControlFrame.cpp
nsColorControlFrame.h
nsComboboxControlFrame.cpp Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsComboboxControlFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsDateTimeControlFrame.cpp
nsDateTimeControlFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsFieldSetFrame.cpp
nsFieldSetFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsFileControlFrame.cpp
nsFileControlFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsGfxButtonControlFrame.cpp
nsGfxButtonControlFrame.h
nsHTMLButtonControlFrame.cpp
nsHTMLButtonControlFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsIFormControlFrame.h
nsImageControlFrame.cpp
nsISelectControlFrame.h
nsITextControlFrame.h
nsListControlFrame.cpp
nsListControlFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsMeterFrame.cpp Bug 1860666 - Add pref-gated ::slider-* pseudo-elements, and some tests. r=layout-reviewers,jfkthame 2023-10-30 15:15:24 +00:00
nsMeterFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsNumberControlFrame.cpp
nsNumberControlFrame.h
nsProgressFrame.cpp Bug 1860666 - Add pref-gated ::slider-* pseudo-elements, and some tests. r=layout-reviewers,jfkthame 2023-10-30 15:15:24 +00:00
nsProgressFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsRangeFrame.cpp Bug 1860666 - Add pref-gated ::slider-* pseudo-elements, and some tests. r=layout-reviewers,jfkthame 2023-10-30 15:15:24 +00:00
nsRangeFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00
nsSearchControlFrame.cpp
nsSearchControlFrame.h
nsSelectsAreaFrame.cpp
nsSelectsAreaFrame.h
nsTextControlFrame.cpp Bug 1861027 - Handle editor readonly mask update based on element state instead of attributes. r=masayuki 2023-10-27 08:31:29 +00:00
nsTextControlFrame.h Bug 1364813 - Remove IsFrameOfType, use non-virtual checks. r=jwatt 2023-11-26 22:17:28 +00:00