gecko-dev/layout
Masayuki Nakano 5132e0e2ec Bug 1916141 - Make AutoPointerEventTargetUpdater guarantee that the target is an element if the event target should be so r=smaug
According to test result on tryserver, the constructor may receive text frame,
although I couldn't reproduce it with writing tests.  Then, it'll return
the text node as the mouse event target after dispatching a pointer event.
However, mouse events need to be targeted to element node.  Therefore, it's
wrong to use the frame when `aTargetContent` is specified.

Additionally, for the last resort, it should refer an inclusive ancestor element
of the target frame content if `aTargetContent` is not specified and the event
should be targeted to an element.

Finally, there is another path to set non-element node in
`PresShell::EventHandler::DispatchEventToDOM`.  The path is not the cause of
the reported case, but we should fix it too.

Differential Revision: https://phabricator.services.mozilla.com/D222091
2024-09-15 21:57:51 +00:00
..
base Bug 1916141 - Make AutoPointerEventTargetUpdater guarantee that the target is an element if the event target should be so r=smaug 2024-09-15 21:57:51 +00:00
build Bug 1901851 - Part 3: Make PRemoteWorkerService a toplevel actor which manages PRemoteWorker, r=dom-worker-reviewers,asuth 2024-06-24 23:19:26 +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 1917144 Part 2 - Add IntrinsicSizeInput::mContainingBlockSize. r=dholbert 2024-09-11 18:01:40 +00:00
generic Bug 1917458 - Only send resizes for remote browsers once per frame. r=mstange,extension-reviewers,tabbrowser-reviewers,dao,robwu 2024-09-15 21:57:40 +00:00
inspector Bug 1918463: Fix inset auto-completion. r=firefox-style-system-reviewers,emilio 2024-09-12 19:18:27 +00:00
ipc
mathml Bug 1918308 - Don't always force a reflow in nsMathMLContainerFrame::AttributeChanged. r=emilio 2024-09-13 14:19:45 +00:00
painting Bug 1917669 - Document the purpose of nsDisplayList::mIsRelativeToLayoutViewport. r=hiro DONTBUILD 2024-09-09 21:09:47 +00:00
printing Bug 1917745 - Cleanup sizeToContent r=webidl,reusable-components-reviewers,emilio,migration-reviewers,tgiles,mconley 2024-09-13 07:56:12 +00:00
reftests Bug 1917034 - Remove some related always-on prefs. r=firefox-style-system-reviewers,zrhoffman 2024-09-12 11:25:35 +00:00
style Bug 1900229: Parse position-try shorthand. r=firefox-style-system-reviewers,emilio 2024-09-12 20:08:09 +00:00
svg Bug 1905611 - apply clipping to PictureCompositeMode::SVGFEGraph r=gfx-reviewers,gw 2024-09-12 10:19:43 +00:00
tables Bug 1742042 Part 4 - Apply flex item's stretched cross-size when computing flex container's intrinsic inline size. r=dholbert 2024-09-13 06:52:13 +00:00
tools Bug 1912570. Record/warn in reftests/crashtests if compositor is paused or window is fully occluded. r=jwatt 2024-08-23 09:39:55 +00:00
xul Bug 1834307: Change StaticPrefs::general_smoothScroll() calls with nsLayoutUtils::IsSmoothScrollingEnabled. r=tjr 2024-09-10 14:41:23 +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