forked from mirrors/gecko-dev
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 |
||
|---|---|---|
| .. | ||
| crashtests | ||
| test | ||
| HTMLSelectEventListener.cpp | ||
| HTMLSelectEventListener.h | ||
| ListMutationObserver.cpp | ||
| ListMutationObserver.h | ||
| moz.build | ||
| nsButtonFrameRenderer.cpp | ||
| nsButtonFrameRenderer.h | ||
| nsCheckboxRadioFrame.cpp | ||
| nsCheckboxRadioFrame.h | ||
| nsColorControlFrame.cpp | ||
| nsColorControlFrame.h | ||
| nsComboboxControlFrame.cpp | ||
| nsComboboxControlFrame.h | ||
| nsDateTimeControlFrame.cpp | ||
| nsDateTimeControlFrame.h | ||
| nsFieldSetFrame.cpp | ||
| nsFieldSetFrame.h | ||
| nsFileControlFrame.cpp | ||
| nsFileControlFrame.h | ||
| nsGfxButtonControlFrame.cpp | ||
| nsGfxButtonControlFrame.h | ||
| nsHTMLButtonControlFrame.cpp | ||
| nsHTMLButtonControlFrame.h | ||
| nsIFormControlFrame.h | ||
| nsImageControlFrame.cpp | ||
| nsISelectControlFrame.h | ||
| nsITextControlFrame.h | ||
| nsListControlFrame.cpp | ||
| nsListControlFrame.h | ||
| nsMeterFrame.cpp | ||
| nsMeterFrame.h | ||
| nsNumberControlFrame.cpp | ||
| nsNumberControlFrame.h | ||
| nsProgressFrame.cpp | ||
| nsProgressFrame.h | ||
| nsRangeFrame.cpp | ||
| nsRangeFrame.h | ||
| nsSearchControlFrame.cpp | ||
| nsSearchControlFrame.h | ||
| nsSelectsAreaFrame.cpp | ||
| nsSelectsAreaFrame.h | ||
| nsTextControlFrame.cpp | ||
| nsTextControlFrame.h | ||