gecko-dev/dom/html
Emilio Cobos Álvarez d94923f235 Bug 1664685 - Simplify HTML{Image,Input}Element.{width,height} getters. r=edgar
By moving it to nsImageLoadingContent we don't need to pass a reference
to the current request and can just use the member.

The weird reference-passing was introduced in bug 987140 and broke in
bug 1534608.

Also make it return a CSSIntSize rather than an nsSize, since it's what
it returns, nsSize is supposed to be in app units, not in CSS pixels :-)

Differential Revision: https://phabricator.services.mozilla.com/D90036
2020-09-15 09:04:59 +00:00
..
crashtests Bug 1660048 - Remove dom.forms.color and dom.forms.datetime. r=smaug,marionette-reviewers,whimboo 2020-08-19 18:24:06 +00:00
input Bug 1660048 - Remove dom.forms.color and dom.forms.datetime. r=smaug,marionette-reviewers,whimboo 2020-08-19 18:24:06 +00:00
reftests Bug 1660048 - Remove dom.forms.color and dom.forms.datetime. r=smaug,marionette-reviewers,whimboo 2020-08-19 18:24:06 +00:00
test Bug 1589102 - Part 10: Fix tests failing due to not waiting for the window load events, r=mattwoodrow 2020-08-28 17:21:09 +00:00
ElementInternals.cpp
ElementInternals.h
HTMLAllCollection.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLAllCollection.h
HTMLAnchorElement.cpp
HTMLAnchorElement.h
HTMLAreaElement.cpp
HTMLAreaElement.h
HTMLAudioElement.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLAudioElement.h
HTMLBRElement.cpp
HTMLBRElement.h
HTMLBodyElement.cpp
HTMLBodyElement.h
HTMLButtonElement.cpp Bug 1657163 - Enable <dialog> in chrome UI for beta/release r=smaug 2020-08-05 14:26:29 +00:00
HTMLButtonElement.h
HTMLCanvasElement.cpp Bug 1663140 - Don't block on window.print() if there are print callbacks. r=smaug 2020-09-06 10:57:48 +00:00
HTMLCanvasElement.h Bug 1662456 - Remove HTMLCanvasElement::CountContexts and related code. r=nical 2020-09-02 14:20:50 +00:00
HTMLDataElement.cpp
HTMLDataElement.h
HTMLDataListElement.cpp
HTMLDataListElement.h
HTMLDetailsElement.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLDetailsElement.h
HTMLDialogElement.cpp Bug 1200896 - Make the document blocked by the topmost element in the top layer r=emilio 2020-08-17 15:41:19 +00:00
HTMLDialogElement.h Bug 1200896 - Make the document blocked by the topmost element in the top layer r=emilio 2020-08-17 15:41:19 +00:00
HTMLDivElement.cpp
HTMLDivElement.h
HTMLElement.cpp
HTMLEmbedElement.cpp Bug 1613431 - Part 3: Handle synced setters return value. r=nika 2020-07-31 13:37:13 +00:00
HTMLEmbedElement.h
HTMLFieldSetElement.cpp
HTMLFieldSetElement.h
HTMLFontElement.cpp
HTMLFontElement.h
HTMLFormControlsCollection.cpp
HTMLFormControlsCollection.h
HTMLFormElement.cpp Bug 1661423 - dont apply upgrade-insecure-requests to localhost form submissions r=ckerschb 2020-08-31 10:11:37 +00:00
HTMLFormElement.h Bug 1663365 - Move DOM proxy-related details (including expand support) to separate headers out of jsfriendapi.h. r=jandem 2020-09-08 22:57:14 +00:00
HTMLFormSubmission.cpp Bug 1652699 - Fix a null pointer crash while doing dialog form submission r=smaug 2020-07-14 21:19:10 +00:00
HTMLFormSubmission.h Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLFormSubmissionConstants.h
HTMLFrameElement.cpp
HTMLFrameElement.h
HTMLFrameSetElement.cpp
HTMLFrameSetElement.h
HTMLHRElement.cpp
HTMLHRElement.h
HTMLHeadingElement.cpp
HTMLHeadingElement.h
HTMLIFrameElement.cpp Bug 1658471 - Remove dom.security.featurePolicy.enabled. r=baku 2020-08-12 10:57:04 +00:00
HTMLIFrameElement.h Bug 1658471 - Remove dom.security.featurePolicy.enabled. r=baku 2020-08-12 10:57:04 +00:00
HTMLImageElement.cpp Bug 1664685 - Simplify HTML{Image,Input}Element.{width,height} getters. r=edgar 2020-09-15 09:04:59 +00:00
HTMLImageElement.h
HTMLInputElement.cpp Bug 1664685 - Simplify HTML{Image,Input}Element.{width,height} getters. r=edgar 2020-09-15 09:04:59 +00:00
HTMLInputElement.h Bug 1660048 - Remove dom.forms.color and dom.forms.datetime. r=smaug,marionette-reviewers,whimboo 2020-08-19 18:24:06 +00:00
HTMLLIElement.cpp
HTMLLIElement.h
HTMLLabelElement.cpp Bug 1540995 - Ignore disabled labeled controls r=smaug 2020-08-17 19:42:14 +00:00
HTMLLabelElement.h
HTMLLegendElement.cpp Bug 1652942 - Remove unnecessary includes from Element.h. r=smaug 2020-07-15 14:09:01 +00:00
HTMLLegendElement.h
HTMLLinkElement.cpp Bug 1655716 - Introduce TYPE_INTERNAL_FETCH_PRELOAD and use in HTMLLinkElement::AsValueToContentPolicy() - r=emilio,mayhemer,ckerschb 2020-08-11 12:33:14 +00:00
HTMLLinkElement.h
HTMLMapElement.cpp
HTMLMapElement.h
HTMLMarqueeElement.cpp Bug 1652618 - Ensure UA widgets are attached and detached synchronously. r=smaug 2020-07-24 15:43:20 +00:00
HTMLMarqueeElement.h
HTMLMediaElement.cpp Bug 1662212 - Add telemetry to track play time of encrypted HTMLMediaElements. r=drno 2020-09-10 22:04:39 +00:00
HTMLMediaElement.h Bug 1592539 - Use a MediaStreamRenderer to render video tracks into a secondary container. r=jib,mconley 2020-08-26 14:25:40 +00:00
HTMLMenuBuilder.jsm Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski 2020-07-10 23:58:28 +00:00
HTMLMenuElement.cpp
HTMLMenuElement.h
HTMLMenuItemElement.cpp
HTMLMenuItemElement.h
HTMLMetaElement.cpp Bug 1653474 - Process META elements when it's inserted r=smaug 2020-08-05 16:32:57 +00:00
HTMLMetaElement.h
HTMLMeterElement.cpp
HTMLMeterElement.h
HTMLModElement.cpp
HTMLModElement.h
HTMLObjectElement.cpp Bug 1608501 - Part 2: Rename nsObjectLoadingContent::DestroyContent to ::Destroy; r=smaug 2020-07-21 16:11:29 +00:00
HTMLObjectElement.h
HTMLOptGroupElement.cpp
HTMLOptGroupElement.h
HTMLOptionElement.cpp
HTMLOptionElement.h
HTMLOptionsCollection.cpp
HTMLOptionsCollection.h
HTMLOutputElement.cpp
HTMLOutputElement.h
HTMLParagraphElement.cpp
HTMLParagraphElement.h
HTMLPictureElement.cpp
HTMLPictureElement.h
HTMLPreElement.cpp
HTMLPreElement.h
HTMLProgressElement.cpp
HTMLProgressElement.h
HTMLScriptElement.cpp Bug 1259861 - Move everything else into the mozilla namespace in layout/svg r=dholbert 2020-07-11 02:20:20 +00:00
HTMLScriptElement.h
HTMLSelectElement.cpp
HTMLSelectElement.h
HTMLSharedElement.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLSharedElement.h
HTMLSharedListElement.cpp
HTMLSharedListElement.h
HTMLSlotElement.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLSlotElement.h
HTMLSourceElement.cpp
HTMLSourceElement.h
HTMLSpanElement.cpp
HTMLSpanElement.h
HTMLStyleElement.cpp Bug 1228985 Part 1: Extend HTMLStyleElement to allow devtools to become the triggering principal. r=ckerschb,emilio 2020-07-28 15:45:35 +00:00
HTMLStyleElement.h Bug 1228985 Part 1: Extend HTMLStyleElement to allow devtools to become the triggering principal. r=ckerschb,emilio 2020-07-28 15:45:35 +00:00
HTMLSummaryElement.cpp
HTMLSummaryElement.h
HTMLTableCaptionElement.cpp
HTMLTableCaptionElement.h
HTMLTableCellElement.cpp
HTMLTableCellElement.h
HTMLTableColElement.cpp
HTMLTableColElement.h
HTMLTableElement.cpp
HTMLTableElement.h
HTMLTableRowElement.cpp
HTMLTableRowElement.h
HTMLTableSectionElement.cpp
HTMLTableSectionElement.h
HTMLTemplateElement.cpp
HTMLTemplateElement.h
HTMLTextAreaElement.cpp Bug 1658302 - Don't reframe for changes to the placeholder attribute value. r=masayuki 2020-09-01 23:03:36 +00:00
HTMLTextAreaElement.h
HTMLTimeElement.cpp
HTMLTimeElement.h
HTMLTitleElement.cpp
HTMLTitleElement.h
HTMLTrackElement.cpp Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp 2020-07-15 11:20:45 +00:00
HTMLTrackElement.h
HTMLUnknownElement.cpp
HTMLUnknownElement.h
HTMLVideoElement.cpp Bug 1592539 - Use a MediaStreamRenderer to render video tracks into a secondary container. r=jib,mconley 2020-08-26 14:25:40 +00:00
HTMLVideoElement.h Bug 1592539 - Use a MediaStreamRenderer to render video tracks into a secondary container. r=jib,mconley 2020-08-26 14:25:40 +00:00
ImageDocument.cpp Bug 1613431 - Part 2: Ignore synced setters return value. r=nika 2020-07-31 13:37:00 +00:00
ImageDocument.h
MediaDocument.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
MediaDocument.h
MediaError.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
MediaError.h
PlayPromise.cpp
PlayPromise.h
PluginDocument.cpp Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj 2020-07-01 08:42:31 +00:00
RadioNodeList.cpp
RadioNodeList.h
TextControlElement.h
TextControlState.cpp Bug 1640040 - Only handle updating the DOM state from TextControlState::SetValue on the outer caller. r=masayuki 2020-08-04 11:22:42 +00:00
TextControlState.h Bug 1653011 - Simplify and make WeakPtr<Derived> usable and compact. r=froydnj,sg,geckoview-reviewers,jgilbert,kvark,snorp 2020-07-23 14:51:46 +00:00
TextInputListener.h
TextTrackManager.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
TextTrackManager.h
TimeRanges.cpp
TimeRanges.h
ValidityState.cpp
ValidityState.h
VideoDocument.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
components.conf
moz.build
nsBrowserElement.cpp
nsBrowserElement.h
nsDOMStringMap.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsDOMStringMap.h Bug 1663365 - Move DOM proxy-related details (including expand support) to separate headers out of jsfriendapi.h. r=jandem 2020-09-08 22:57:14 +00:00
nsGenericHTMLElement.cpp Bug 1664685 - Simplify HTML{Image,Input}Element.{width,height} getters. r=edgar 2020-09-15 09:04:59 +00:00
nsGenericHTMLElement.h Bug 1664685 - Simplify HTML{Image,Input}Element.{width,height} getters. r=edgar 2020-09-15 09:04:59 +00:00
nsGenericHTMLFrameElement.cpp Bug 1613431 - Part 3: Handle synced setters return value. r=nika 2020-07-31 13:37:13 +00:00
nsGenericHTMLFrameElement.h
nsHTMLContentSink.cpp
nsHTMLDNSPrefetch.cpp Bug 1657582 - Add nsIDNSResolverInfo interface r=necko-reviewers,geckoview-reviewers,snorp,mixedpuppy,extension-reviewers,dragana 2020-08-12 08:25:14 +00:00
nsHTMLDNSPrefetch.h
nsHTMLDocument.cpp Bug 1647301 - Remove forceCharset from nsIContentViewer. r=m_kato 2020-07-02 06:23:24 +00:00
nsHTMLDocument.h
nsIConstraintValidation.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsIConstraintValidation.h
nsIForm.h
nsIFormControl.h
nsIFormSubmitObserver.idl
nsIHTMLCollection.h
nsIMenuBuilder.idl
nsIRadioGroupContainer.h
nsIRadioVisitor.h
nsRadioVisitor.cpp
nsRadioVisitor.h