fune/layout
Ting-Yu Lin 859f9b27db Bug 1899891 - Give nsFileControlFrame its own frame type. r=emilio,layout-reviewers
We've tried to give `nsFileControlFrame` its own frame type "FileControl", but
it caused a crash and we revert its frame type back to "Block" in Bug 1825623.
That prevents the crash, but the frame tree is not correct since
`nsFileControlFrame` will have `nsBlockFrame` as its next-in-flow.

The proper way to fix the crash is disallowing the form control frame to split,
similar to what we did for `nsTextControlFrame` in
https://searchfox.org/mozilla-central/rev/fc76676f61ee37b4c5420649cad6677164a29405/layout/forms/nsTextControlFrame.cpp#670

This patch doesn't mean to promote frame type usage, but it might help the
broader frame type audit in the future once we switch frame type to QueryFrame
in bug 1555477.

Note this patch might have potential behavior changes since calling
`IsBlockFrame()` on `nsFileControlFrame` now returns `false` instead of `true`.
However, we have other concrete frames such as `nsMathMLmathBlockFrame`,
`nsSelectsAreaFrame`, etc. which have frame type "Block", and callers who need
to check `nsBlockFrame` and its subclasses are probably already using
`IsBlockFrameOrSubclass()`.

Differential Revision: https://phabricator.services.mozilla.com/D212188
2024-05-30 23:03:49 +00:00
..
base Bug 1899891 - Give nsFileControlFrame its own frame type. r=emilio,layout-reviewers 2024-05-30 23:03:49 +00:00
build Bug 1895232 - Convert do_GetService to using components::*::service in netwerk/ r=valentin,cookie-reviewers,places-reviewers 2024-05-30 21:18:43 +00:00
docs Bug 1896210 Part 4 - Address late review comments for Part 2. r=dholbert DONTBUILD 2024-05-20 18:01:16 +00:00
forms Bug 1899891 - Give nsFileControlFrame its own frame type. r=emilio,layout-reviewers 2024-05-30 23:03:49 +00:00
generic Bug 1899891 - Give nsFileControlFrame its own frame type. r=emilio,layout-reviewers 2024-05-30 23:03:49 +00:00
inspector Bug 1896516 Part 9 - Remove nsIScrollableFrame usages under dom/. r=layout-reviewers,emilio 2024-05-30 06:32:21 +00:00
ipc
mathml Bug 1896711 part 1: Use MakeRefPtr to reduce boilerplate, in layout/{build,inspector,mathml}. r=TYLin 2024-05-15 07:29:19 +00:00
painting Bug 1896516: apply code formatting via Lando 2024-05-30 06:36:30 +00:00
printing Bug 1896762 - Make animation timing match the spec. r=smaug,firefox-animation-reviewers,boris 2024-05-17 16:33:06 +00:00
reftests Bug 1899401 - Remove dom.forms.number.hide_spin_buttons_when_no_hover_or_focus pref r=dholbert 2024-05-30 04:35:28 +00:00
style Bug 1898887. Implement parsing of CSS 'inset-area' property. r=emilio,firefox-style-system-reviewers 2024-05-30 19:39:07 +00:00
svg Bug 1899525 - Stop lengthAdjust="spacingAndGlyphs" clipping the last character r=jfkthame 2024-05-30 14:26:29 +00:00
tables Bug 1899345 Part 1 - Convert PhysicalAxes to an EnumSet<PhysicalAxis>. r=layout-reviewers,emilio 2024-05-30 17:58:25 +00:00
tools Bug 1896684 - Update iteritems to items in reftestcommandline.py. r=jmaher 2024-05-16 04:36:34 +00:00
xul Bug 1896516 Part 11 - Remove nsIScrollableFrame usages under layout/, widget/, and toolkit/. r=layout-reviewers,emilio 2024-05-30 06:32:22 +00:00
moz.build Bug 1898601 - Remove fake webrtc/gkmedias libs. r=glandium,media-playback-reviewers,webrtc-reviewers,cubeb-reviewers,pehrsons,padenot 2024-05-28 16:14:47 +00:00