Tom Marble
9e40a719f2
Bug 1850545 - convert .ini manifests to .toml: batch 3 chrome.ini (bis) r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,places-reviewers,profiler-reviewers,m_kato,mak,mtigley
...
Differential Revision: https://phabricator.services.mozilla.com/D187597
2023-09-13 18:28:32 +00:00
Emilio Cobos Álvarez
76077df107
Bug 1851730 - Pass known value to PrepareEditor() when deferring preparation. r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D187981
2023-09-13 09:05:51 +00:00
Vincent Hilla
dfde72b50b
Bug 1658996 - Part 2: Activation behavior method for non-form submission input elements. r=edgar
...
Differential Revision: https://phabricator.services.mozilla.com/D183988
2023-09-07 09:33:51 +00:00
Gregory Pappas
4ae14d1518
Bug 1851541 - Remove html5.inert.enabled pref r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D187422
2023-09-07 01:01:13 +00:00
Olli Pettay
7b8bd15a92
Bug 1851523 - Don't dispatch DOMHeadElementParsed on data documents, r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D187406
2023-09-05 10:27:32 +00:00
Stanca Serban
91cdc5cbc0
Backed out changeset b5748074bf70 (bug 1851541) for causing eslint failures.
2023-09-05 11:36:37 +03:00
Gregory Pappas
959520513e
Bug 1851541 - Remove html5.inert.enabled pref r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D187422
2023-09-05 07:49:53 +00:00
Emilio Cobos Álvarez
19f8c7c50a
Bug 1850161 - Fix some cases where we can get to empty states to notify.
...
MANUAL PUSH: Trivial orange fix CLOSED TREE
2023-08-31 11:43:13 +02:00
Emilio Cobos Álvarez
0c622556aa
Bug 1850161 - Remove the concept of intrinsic states and related code. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D187109
2023-08-31 09:20:40 +00:00
Emilio Cobos Álvarez
1258d560fb
Bug 1850238 - Make BROKEN state non-intrinsic. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D187108
2023-08-31 09:20:40 +00:00
Cristina Horotan
4487727b74
Backed out 3 changesets (bug 1850238, bug 1850161) for causing multiple failures at Element.cpp CLOSED TREE
...
Backed out changeset 30526c800ca7 (bug 1850161)
Backed out changeset ebc81e5e7750 (bug 1850161)
Backed out changeset e66a62c2f8c5 (bug 1850238)
2023-08-31 12:12:05 +03:00
Emilio Cobos Álvarez
b886d263c1
Bug 1850161 - Remove the concept of intrinsic states and related code. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D187109
2023-08-31 07:46:24 +00:00
Emilio Cobos Álvarez
cbfc2b9552
Bug 1850238 - Make BROKEN state non-intrinsic. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D187108
2023-08-31 07:46:24 +00:00
Emilio Cobos Álvarez
36e6cc72d8
Bug 1850238 - Set in-object-or-embed flag on image documents earlier. r=smaug
...
This fixes some intermittent that my previous patches introduce because
we don't reframe so often object or embed documents, and so the class
(which gets set on resize etc) isn't set.
The class is immutable in the object case so it's safe to just do this.
Differential Revision: https://phabricator.services.mozilla.com/D187132
2023-08-31 06:14:57 +00:00
Olli Pettay
1acff43981
Bug 1834002 - Avoid InvalidateFrameSubtree in HTMLInputElement::SetCheckedInternal, r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D187103
2023-08-30 23:16:51 +00:00
Emilio Cobos Álvarez
6070e00f0a
Bug 1850342 - Remove non-standard, un-tested :-moz-loading pseudo-class. r=layout-reviewers,jfkthame
...
This is technically web-exposed, but if we needed to introduce it for
compat we could always re-introduce it matching false.
Differential Revision: https://phabricator.services.mozilla.com/D186938
2023-08-30 10:38:52 +00:00
Otto Länd
573066d4bb
Bug 1850238, 1850293: apply code formatting via Lando
...
# ignore-this-changeset
2023-08-30 09:26:04 +00:00
Emilio Cobos Álvarez
c27a2129fd
Bug 1850293 - Make validity states non-intrinsic. r=smaug
...
Add a RAII helper to notify of multiple state changes together for
these.
The UpdateState CustomElementInternals calls that are getting removed
are unnecessary (the state should be up-to-date by then, there's nothing
changing there particularly).
Same for the call in nsGenericHTMLFormElement::UnbindFromTree. ClearForm
already does an state update.
Differential Revision: https://phabricator.services.mozilla.com/D187033
2023-08-30 09:18:32 +00:00
Emilio Cobos Álvarez
7855659a73
Bug 1850238 - Make Link states not intrinsic. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D186877
2023-08-30 09:18:32 +00:00
Emilio Cobos Álvarez
37cdd46442
Bug 1850293 - Make indeterminate state non-intrinsic. r=edgar
...
Differential Revision: https://phabricator.services.mozilla.com/D187015
2023-08-30 09:18:32 +00:00
Emilio Cobos Álvarez
9576c0ea12
Bug 1850293 - Make in-range/out-of-range states non-intrinsic. r=smaug
...
These only apply to input, so it's rather trivial-ish.
Differential Revision: https://phabricator.services.mozilla.com/D186960
2023-08-30 09:18:32 +00:00
Emilio Cobos Álvarez
b1ad2fb6f3
Bug 1850293 - Make CHECKED/DEFAULT states not intrinsic. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D186933
2023-08-30 09:18:31 +00:00
Emilio Cobos Álvarez
33968f7c4e
Bug 1850293 - Make editable states not intrinsic. r=smaug,masayuki
...
This one is tricky because form controls, though I think I got it right...
This fixes a pre-existing bug where we're not following the spec for readonly
inside content-editable.
I filed this as bug 1850390 but other browsers match the spec so add a test and
fix it while at it. This allows cheaper checks for readonlyness in a couple
places.
Differential Revision: https://phabricator.services.mozilla.com/D186896
2023-08-30 09:18:31 +00:00
Iulian Moraru
9a9b90c906
Backed out changeset f0edb489e577 (bug 1850342) for causing dt failures on browser_rules_inactive_css_visited.js. CLOSED TREE
2023-08-30 01:24:44 +03:00
Emilio Cobos Álvarez
afdec6f2a3
Bug 1850342 - Remove non-standard, un-tested :-moz-loading pseudo-class. r=layout-reviewers,jfkthame
...
This is technically web-exposed, but if we needed to introduce it for
compat we could always re-introduce it matching false.
Differential Revision: https://phabricator.services.mozilla.com/D186938
2023-08-29 20:57:30 +00:00
Cosmin Sabou
5b129b77c5
Backed out changeset f14569b8319b (bug 1850342) for causing dt failures on browser_rules_inactive_css_visited.js. CLOSED TREE
2023-08-29 21:14:42 +03:00
Emilio Cobos Álvarez
286082f4f1
Bug 1850342 - Remove non-standard, un-tested :-moz-loading pseudo-class. r=layout-reviewers,jfkthame
...
This is technically web-exposed, but if we needed to introduce it for
compat we could always re-introduce it matching false.
Differential Revision: https://phabricator.services.mozilla.com/D186938
2023-08-29 16:56:37 +00:00
Emilio Cobos Álvarez
71d548bcdf
Bug 1850293 - Make PLACEHOLDER_SHOWN not an intrinsic state. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D186932
2023-08-29 00:32:41 +00:00
Emilio Cobos Álvarez
aa63f35805
Bug 1850293 - Make <meter> styles not intrinsic. r=edgar
...
This one needs extra code because we have an UpdateState call after
AfterSetAttr which took care of it.
Differential Revision: https://phabricator.services.mozilla.com/D186895
2023-08-29 00:16:54 +00:00
Emilio Cobos Álvarez
c918409058
Bug 1850293 - Make directionality state not intrinsic. r=smaug
...
Allows us to reclaim some node bits too.
Differential Revision: https://phabricator.services.mozilla.com/D186893
2023-08-28 23:39:11 +00:00
Markus Stange
d89c20090c
Bug 1843484 - Use EventTarget* instead of nsISupports* for the event target parameter of the EventDispatcher::Dispatch methods. r=smaug
...
This saves a few QueryInterface calls on the hot path.
Differential Revision: https://phabricator.services.mozilla.com/D186977
2023-08-28 23:38:43 +00:00
Markus Stange
3d20b7df6c
Bug 1843484 - Use EventTarget* instead of nsISupports* for the event target parameter of the nsContentUtils::Dispatch methods. r=smaug
...
This saves a few queryInterface calls on the hot path.
Differential Revision: https://phabricator.services.mozilla.com/D186976
2023-08-28 23:38:42 +00:00
Mirko Brodesser
2966a909e7
Bug 1839316: part 4) Add RequestPriority
to ScriptFetchOptions
and ScriptLoadRequest
. r=smaug
...
The request priority isn't propagated from `ScriptFetchOptions`, so
setting it has no effect for end-users. That will be implemented in a
following part.
Differential Revision: https://phabricator.services.mozilla.com/D183483
2023-08-28 11:56:34 +00:00
Mirko Brodesser
bfca7dd8a2
Bug 1839316: part 2) Implement getting and setting "fetchpriority" content attribute of <script>
element. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D181752
2023-08-28 11:56:33 +00:00
Mirko Brodesser
8810321bff
Bug 1839316: part 1) Add fetchPriority
idl attribute to HTMLScriptElement
's interface. r=webidl,smaug
...
For context about the `CEReactions` extended attribute see
<https://bugzilla.mozilla.org/show_bug.cgi?id=1839316#c4 >.
Differential Revision: https://phabricator.services.mozilla.com/D181751
2023-08-28 11:56:33 +00:00
Ziran Sun
9dac459535
Bug 1849689 - Initial steps on handling Esc key for popover. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D186643
2023-08-28 07:47:24 +00:00
renevietnam29@gmail.com
2a0eb51c7e
Bug 1842984 Remove dom.image-lazy-loading.enabled r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D184883
2023-08-23 13:26:36 +00:00
serge-sans-paille
4d45ebfda3
Bug 1845441 - get rid of global constructors in dom/html/HTMLInputElement.cpp r=mstange,dom-core,mccr8
...
This requires to make existing Decimal constructor constexpr, which is
incompatible with the weak linkage implied by MFBT_API.
As an alternative, provide a constexpr user-defined-literal that creates
a temporary DecimalLiteral that can be used by a new Decimal constexpr
constructor.
Differential Revision: https://phabricator.services.mozilla.com/D184552
2023-08-23 07:51:44 +00:00
Gregory Pappas
f6f0d40361
Bug 1849674 - Remove dom.shadowdom.slot.assign.enabled pref r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D186675
2023-08-23 02:16:48 +00:00
Masayuki Nakano
72629d2e0c
Bug 1848196 - Make the default tab index of <embed>
which loaded a document to 0
r=NeilDeakin,dom-core,farre
...
Like `<object>`, `<embed>` can load another document. However,
`HTMLEmbedElement` does not override `Element::TabIndexDefault()` and that
causes `HTMLEmbedElement::IsHTMLFocusable()` set the tab index to `-1` so
it's skipped during the tab navigation.
Differential Revision: https://phabricator.services.mozilla.com/D186287
2023-08-22 00:58:33 +00:00
Ziran Sun
e4af459857
Bug 1841270 - refine focus handling in HidePopover. r=emilio
...
Only run focusing steps for previouslyFocusedElement if focus is within the
popover hierarchy.
Differential Revision: https://phabricator.services.mozilla.com/D186439
2023-08-21 07:06:13 +00:00
Olli Pettay
fe6ec03ab9
Bug 1843473 - Don't dispatch DOMActivate if there are no listeners for it, r=masayuki
...
Differential Revision: https://phabricator.services.mozilla.com/D186473
2023-08-18 06:01:16 +00:00
Emilio Cobos Álvarez
e7d269c437
Bug 1848455 - Don't re-enable updates prematurely in HTMLStyleElement::SetTextContentInternal. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D186110
2023-08-14 14:07:40 +00:00
renevietnam29@gmail.com
c0f7841e56
Bug 1842987 Remove dom.forms.enterkeyhint r=emilio,geckoview-reviewers,m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D184620
2023-08-14 13:52:35 +00:00
Emilio Cobos Álvarez
ea11c5c0b4
Bug 1847811 - Remove network.preload pref. r=necko-reviewers,anti-tracking-reviewers,pbz,kershaw
...
Having it disabled is not web compatible, and there's no strong reason
to keep it, IMO.
If we want another pref to determine whether preloads are actually
triggered we can add it in the future.
Differential Revision: https://phabricator.services.mozilla.com/D186014
2023-08-14 10:46:03 +00:00
Logan Rosen
ee75c733c7
Bug 1091187 - remove unused arguments and check from UpdateCommands r=dom-core,webidl,masayuki,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D185385
2023-08-10 04:09:08 +00:00
Cosmin Sabou
c406bcf318
Backed out 5 changesets (bug 1839316) for causing bustages on ScriptLoader.cpp. CLOSED TREE
...
Backed out changeset 85f107e082ee (bug 1839316)
Backed out changeset 8c1e22518c3a (bug 1839316)
Backed out changeset a4c3dec0f34c (bug 1839316)
Backed out changeset 313ff15742dd (bug 1839316)
Backed out changeset fa200e26bbb1 (bug 1839316)
2023-08-09 20:16:06 +03:00
Mirko Brodesser
5cade38f47
Bug 1839316: part 4) Add RequestPriority
to ScriptFetchOptions
and ScriptLoadRequest
. r=smaug
...
The request priority isn't propagated from `ScriptFetchOptions`, so
setting it has no effect for end-users. That will be implemented in a
following part.
Differential Revision: https://phabricator.services.mozilla.com/D183483
2023-08-09 13:50:28 +00:00
Mirko Brodesser
9671332492
Bug 1839316: part 2) Implement getting and setting "fetchpriority" content attribute of <script>
element. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D181752
2023-08-09 13:50:28 +00:00
Mirko Brodesser
9ba14c0f7e
Bug 1839316: part 1) Add fetchPriority
idl attribute to HTMLScriptElement
's interface. r=webidl,smaug
...
For context about the `CEReactions` extended attribute see
<https://bugzilla.mozilla.org/show_bug.cgi?id=1839316#c4 >.
Differential Revision: https://phabricator.services.mozilla.com/D181751
2023-08-09 13:50:27 +00:00