fune/dom/html
James Teh 51d57d627a Bug 1892529: Skip hidden radio buttons when determining which radio button to focus. r=smaug
This fixes two problems:
1. If no radio button is checked and the first radio button is hidden, tabbing will reach the first visible radio button in the group, rather than just skipping the group.
2. If you press down arrow or up arrow and the next/previous radio button is hidden, focus will move to the next/previous visible radio button in the group, rather than doing nothing.

Differential Revision: https://phabricator.services.mozilla.com/D208092
2024-05-09 00:14:55 +00:00
..
crashtests Bug 1864255. Make sure some crashtests in dom/ cleanup any opened windows after they finish. r=dom-core,peterv 2023-11-17 01:31:21 +00:00
input Bug 1875306 - Localize numbers in the underflow and overflow error messages. r=emilio 2024-01-23 15:02:23 +00:00
reftests Bug 1873474 - Use ImageBlocker directly instead of nsIContentPolicy::ShouldProcess in ImageDocument. r=smaug 2024-01-17 09:49:32 +00:00
test Bug 1848158 - Let keydown preventDefault work on <input type=date> r=reusable-components-reviewers,emilio,ayeddi,tgiles 2024-04-26 20:24:33 +00:00
ConstraintValidation.cpp Bug 1856795 - ride along: use = default; on some recently modified files r=emilio 2023-10-15 15:29:03 +00:00
ConstraintValidation.h
CustomStateSet.cpp Bug 1887338 - guard CustomStateSet from inserting multiple states in internal set r=emilio 2024-03-24 08:54:48 +00:00
CustomStateSet.h Bug 1865589 - Notify PresShell of CustomState changes, so Restyle can invalidate. r=emilio,dshin 2024-03-22 22:18:05 +00:00
ElementInternals.cpp Bug 1883996 - P2: Add ariaActiveDescendantElement to ARIAMixin and implement. r=smaug 2024-03-12 20:32:16 +00:00
ElementInternals.h Bug 1883996 - P2: Add ariaActiveDescendantElement to ARIAMixin and implement. r=smaug 2024-03-12 20:32:16 +00:00
FetchPriority.cpp Bug 1865610: part 1) Add partial support for the "fetchpriority" attribute for loading style sheets from <link> elements or Link header fields. r=smaug,emilio,valentin 2023-11-23 14:36:11 +00:00
FetchPriority.h Bug 1880528 - Introduce preference for fetch priority adjustment of <link rel=preload as=script>. r=valentin,necko-reviewers 2024-02-19 13:35:39 +00:00
HTMLAllCollection.cpp
HTMLAllCollection.h
HTMLAnchorElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLAnchorElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLAreaElement.cpp Bug 1887719 - More consistently use UTF8String/nsCString for URLs. r=necko-reviewers,webidl,anti-tracking-reviewers,places-reviewers,jari,kershaw,janv,smaug,hsivonen 2024-04-04 11:49:57 +00:00
HTMLAreaElement.h Bug 1887719 - More consistently use UTF8String/nsCString for URLs. r=necko-reviewers,webidl,anti-tracking-reviewers,places-reviewers,jari,kershaw,janv,smaug,hsivonen 2024-04-04 11:49:57 +00:00
HTMLAudioElement.cpp
HTMLAudioElement.h
HTMLBodyElement.cpp
HTMLBodyElement.h
HTMLBRElement.cpp
HTMLBRElement.h
HTMLButtonElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLButtonElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLCanvasElement.cpp Bug 1888634 - Disallow captureStream with canvas transferred to DOM worker. r=gfx-reviewers,lsalzman 2024-04-17 12:57:56 +00:00
HTMLCanvasElement.h Bug 1888634 - Disallow captureStream with canvas transferred to DOM worker. r=gfx-reviewers,lsalzman 2024-04-17 12:57:56 +00:00
HTMLDataElement.cpp
HTMLDataElement.h
HTMLDataListElement.cpp
HTMLDataListElement.h
HTMLDetailsElement.cpp Bug 1880988 - Apply spoof English to the default detail summary. r=emilio 2024-03-11 12:29:38 +00:00
HTMLDetailsElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLDialogElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLDialogElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLDivElement.cpp
HTMLDivElement.h
HTMLDNSPrefetch.cpp Bug 1596935 - Separate rel=dns-prefetch behaviour from html anchor dns prefetch r=dom-core,necko-reviewers,sefeng 2024-04-17 13:54:05 +00:00
HTMLDNSPrefetch.h Bug 1596935 - Separate rel=dns-prefetch behaviour from html anchor dns prefetch r=dom-core,necko-reviewers,sefeng 2024-04-17 13:54:05 +00:00
HTMLElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLEmbedElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLEmbedElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLFieldSetElement.cpp
HTMLFieldSetElement.h
HTMLFontElement.cpp
HTMLFontElement.h
HTMLFormControlsCollection.cpp Bug 1879579 - Clean up CompareTreePosition and related code. r=smaug 2024-02-12 20:01:36 +00:00
HTMLFormControlsCollection.h Bug 1879579 - Clean up CompareTreePosition and related code. r=smaug 2024-02-12 20:01:36 +00:00
HTMLFormElement.cpp Bug 1876792 - Report invisible input fields only when invalid. r=jjaschke,dom-core,edgar 2024-03-05 11:51:09 +00:00
HTMLFormElement.h Bug 1876792 - Report invisible input fields only when invalid. r=jjaschke,dom-core,edgar 2024-03-05 11:51:09 +00:00
HTMLFormSubmission.cpp
HTMLFormSubmission.h
HTMLFormSubmissionConstants.h
HTMLFrameElement.cpp
HTMLFrameElement.h
HTMLFrameSetElement.cpp
HTMLFrameSetElement.h
HTMLHeadingElement.cpp
HTMLHeadingElement.h
HTMLHRElement.cpp
HTMLHRElement.h
HTMLIFrameElement.cpp Bug 1860041 - Make sure frameloader is initialized after lazy-loading if there's a frame. r=CanadaHonk 2023-10-24 15:06:17 +00:00
HTMLIFrameElement.h Bug 1770944 - Remove nsIMozBrowserFrame. r=smaug 2024-03-07 13:04:21 +00:00
HTMLImageElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLImageElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLInputElement.cpp Bug 1892529: Skip hidden radio buttons when determining which radio button to focus. r=smaug 2024-05-09 00:14:55 +00:00
HTMLInputElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLLabelElement.cpp Backed out 3 changesets (bug 1851970) for causing mochitests failures in browser_aboutNetError_csp_iframe.js. 2023-11-28 18:43:55 +02:00
HTMLLabelElement.h Backed out 3 changesets (bug 1851970) for causing mochitests failures in browser_aboutNetError_csp_iframe.js. 2023-11-28 18:43:55 +02:00
HTMLLegendElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLLegendElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLLIElement.cpp Bug 1868087 - Make <ol/ul/li type> match the spec. r=zcorpan 2023-12-04 11:43:23 +00:00
HTMLLIElement.h Bug 1868087 - Make <ol/ul/li type> match the spec. r=zcorpan 2023-12-04 11:43:23 +00:00
HTMLLinkElement.cpp Bug 1596935 - Separate rel=dns-prefetch behaviour from html anchor dns prefetch r=dom-core,necko-reviewers,sefeng 2024-04-17 13:54:05 +00:00
HTMLLinkElement.h Bug 1879340 - Add potentially render blocking, r=emilio 2024-02-24 18:12:35 +00:00
HTMLMapElement.cpp
HTMLMapElement.h
HTMLMarqueeElement.cpp Bug 306344 - Use transform animations to implement marquee. r=smaug,firefox-animation-reviewers,boris 2024-04-09 09:41:40 +00:00
HTMLMarqueeElement.h Bug 306344 - Use transform animations to implement marquee. r=smaug,firefox-animation-reviewers,boris 2024-04-09 09:41:40 +00:00
HTMLMediaElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLMediaElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLMenuElement.cpp
HTMLMenuElement.h
HTMLMetaElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLMetaElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLMeterElement.cpp
HTMLMeterElement.h
HTMLModElement.cpp
HTMLModElement.h
HTMLObjectElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLObjectElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLOptGroupElement.cpp
HTMLOptGroupElement.h
HTMLOptionElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLOptionElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLOptionsCollection.cpp
HTMLOptionsCollection.h
HTMLOutputElement.cpp
HTMLOutputElement.h
HTMLParagraphElement.cpp
HTMLParagraphElement.h
HTMLPictureElement.cpp
HTMLPictureElement.h
HTMLPreElement.cpp Bug 1852478 - Convert CSS white-space into a shorthand that expands to white-space-collapse and text-wrap-mode longhands. r=firefox-style-system-reviewers,emilio 2024-01-26 09:40:02 +00:00
HTMLPreElement.h
HTMLProgressElement.cpp
HTMLProgressElement.h Bug 1878045 - Progress element's max property should ignore non-positive values on setting. r=dom-core,edgar 2024-02-13 09:02:20 +00:00
HTMLScriptElement.cpp Bug 1879340 - Add potentially render blocking, r=emilio 2024-02-24 18:12:35 +00:00
HTMLScriptElement.h Bug 1879340 - Add potentially render blocking, r=emilio 2024-02-24 18:12:35 +00:00
HTMLSelectElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLSelectElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLSharedElement.cpp Bug 1850967 - Forbid data: and javascript: URLs in <base>. r=emilio 2024-05-06 14:55:22 +00:00
HTMLSharedElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLSharedListElement.cpp Bug 1868087 - Make <ol/ul/li type> match the spec. r=zcorpan 2023-12-04 11:43:23 +00:00
HTMLSharedListElement.h
HTMLSlotElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLSlotElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLSourceElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLSourceElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLSpanElement.cpp
HTMLSpanElement.h
HTMLStyleElement.cpp Bug 1879340 - Add potentially render blocking, r=emilio 2024-02-24 18:12:35 +00:00
HTMLStyleElement.h Bug 1879340 - Add potentially render blocking, r=emilio 2024-02-24 18:12:35 +00:00
HTMLSummaryElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLSummaryElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLTableCaptionElement.cpp
HTMLTableCaptionElement.h
HTMLTableCellElement.cpp Bug 1852478 - Convert CSS white-space into a shorthand that expands to white-space-collapse and text-wrap-mode longhands. r=firefox-style-system-reviewers,emilio 2024-01-26 09:40:02 +00:00
HTMLTableCellElement.h
HTMLTableColElement.cpp
HTMLTableColElement.h
HTMLTableElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLTableElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLTableRowElement.cpp
HTMLTableRowElement.h
HTMLTableSectionElement.cpp
HTMLTableSectionElement.h
HTMLTemplateElement.cpp Bug 1712140 - Part 4: Add parseHTMLUnsafe and setHTMLUnsafe methods. r=dom-core,webidl,hsivonen 2023-12-07 21:27:10 +00:00
HTMLTemplateElement.h Bug 1880188 - Add shadowrootclonable attribute support. r=webidl,emilio 2024-02-28 19:00:34 +00:00
HTMLTextAreaElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLTextAreaElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
HTMLTimeElement.cpp
HTMLTimeElement.h
HTMLTitleElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLTitleElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLTrackElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLTrackElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
HTMLUnknownElement.cpp
HTMLUnknownElement.h
HTMLVideoElement.cpp Bug 1883435 - Don't include GleanMetrics.h from Document.h. r=chutten,necko-reviewers,valentin 2024-03-05 17:54:14 +00:00
HTMLVideoElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
ImageDocument.cpp Bug 1873474 - Use ImageBlocker directly instead of nsIContentPolicy::ShouldProcess in ImageDocument. r=smaug 2024-01-17 09:49:32 +00:00
ImageDocument.h
MediaDocument.cpp Bug 1851992 - implement nsIThreadRetargetableStreamListener::OnDataFinished to multiple listeners. r=necko-reviewers,extension-reviewers,jesup,rpl 2023-10-27 13:30:11 +00:00
MediaDocument.h Bug 1851992 - implement nsIThreadRetargetableStreamListener::OnDataFinished to multiple listeners. r=necko-reviewers,extension-reviewers,jesup,rpl 2023-10-27 13:30:11 +00:00
MediaError.cpp
MediaError.h
moz.build Bug 1770944 - Remove dom/browser-element. r=smaug 2024-03-07 13:04:21 +00:00
nsDOMStringMap.cpp
nsDOMStringMap.h
nsGenericHTMLElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
nsGenericHTMLElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
nsGenericHTMLFrameElement.cpp Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
nsGenericHTMLFrameElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
nsHTMLContentSink.cpp Bug 1881188 - Remove nsLayoutCID.h r=emilio 2024-02-21 13:04:30 +00:00
nsHTMLDocument.cpp Bug 1866011 p2. Rename nsIDocShell.contentViewer. r=emilio,credential-management-reviewers,devtools-reviewers,sgalich 2023-11-24 09:10:52 +00:00
nsHTMLDocument.h Bug 1865480. Rename nsIContentViewer to nsIDocumentViewer. r=layout-reviewers,emilio 2023-11-21 12:45:59 +00:00
nsIConstraintValidation.cpp Bug 1850295 - Update :user-{valid,invalid} to follow the spec. r=smaug 2024-01-16 11:09:01 +00:00
nsIConstraintValidation.h
nsIFormControl.h
nsIHTMLCollection.h
nsIRadioVisitor.h
nsRadioVisitor.cpp
nsRadioVisitor.h
PlayPromise.cpp
PlayPromise.h
RadioNodeList.cpp
RadioNodeList.h
TextControlElement.h Bug 1863759 - Make IMEStateManager recreate IMEContentObserver if the active one is not observing editable content of focused element r=smaug,m_kato 2023-12-05 02:33:18 +00:00
TextControlState.cpp Bug 1880783 - Remove skip_cursor_move_for_same_value_set pref r=dom-core,masayuki 2024-04-10 14:44:42 +00:00
TextControlState.h Bug 1863759 - Make IMEStateManager recreate IMEContentObserver if the active one is not observing editable content of focused element r=smaug,m_kato 2023-12-05 02:33:18 +00:00
TextInputListener.h
TextTrackManager.cpp
TextTrackManager.h
TimeRanges.cpp
TimeRanges.h
ValidityState.cpp
ValidityState.h
VideoDocument.cpp