gecko-dev/dom/html
L. David Baron 5afb94be01 Bug 1571249 - Remove BCTableCell as a distinct frame type. r=TYLin
There are two existing callers of IsTableCellFrame that both appear to want to
include BCTableCell frames, but don't.  A patch in bug 1547759 will add a
third that wants the same.

The existing users of frame types all have to work around it being a distinct
type, and none appear to want the distinction.  This removes that complexity.

If any callers want to make the distinction, they could implement QueryFrame
for BCTableCellFrame and use it.  (It's not implemented now, though!)

In a little more detail, prior to this patch (in my debug build, at least):
  * nsQueryFrame::ClassID::nsMathMLmtdFrame_id was 46
  * nsQueryFrame::ClassID::nsTableCellFrame_id was 47
  * nsQueryFrame::ClassID::nsBCTableCellFrame_id was 65
and entries 46 and 47 in sLayoutFrameTypes were
mozilla::LayoutFrameType::TableCell while entry 65 was
mozilla::LayoutFrameType::BCTableCell.

With this patch:
  * nsQueryFrame::ClassID::nsBCTableCellFrame_id is 40
  * nsQueryFrame::ClassID::nsMathMLmtdFrame_id is 41
  * nsQueryFrame::ClassID::nsTableCellFrame_id is 42
and entries 40 through 42 in sLayoutFrameTypes are
mozilla::LayoutFrameType::TableCell.

Differential Revision: https://phabricator.services.mozilla.com/D40560

--HG--
extra : moz-landing-system : lando
2019-08-08 19:48:10 +00:00
..
crashtests Bug 1557371 - Part 2 - Load all XUL crashtests with chrome privilege. r=dbaron 2019-07-09 19:40:42 +00:00
input Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
reftests Bug 1525314 - Update reftest annotations for WebRender on GeckoView. r=gbrown 2019-07-04 21:57:48 +00:00
test Bug 1567191 - Move datetime input widget attribute handling code to HTMLInputElement. r=smaug 2019-08-05 22:11:57 +02:00
components.conf
HTMLAllCollection.cpp Bug 1558571 - Move HTMLDocument.all to Document; r=farre 2019-07-09 18:09:40 +00:00
HTMLAllCollection.h Bug 1558571 - Move HTMLDocument.all to Document; r=farre 2019-07-09 18:09:40 +00:00
HTMLAnchorElement.cpp Bug 1218456 - Allow navigating when there's no pres context. r=smaug 2019-07-09 23:07:29 +02:00
HTMLAnchorElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLAreaElement.cpp Bug 1555216 - Cache owner doc in the BindContext. r=bzbarsky 2019-05-31 23:31:57 +02:00
HTMLAreaElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLAudioElement.cpp
HTMLAudioElement.h
HTMLBodyElement.cpp Bug 1562257 part 2. Fix parsing of margin attributes on <body> match the spec. r=mccr8 2019-06-28 23:32:12 +00:00
HTMLBodyElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLBRElement.cpp
HTMLBRElement.h Bug 1569902 - part 2: Stop using attribute to consider whether a <br> element is a special node for empty last line or not r=m_kato,smaug 2019-08-02 05:45:18 +00:00
HTMLButtonElement.cpp Bug 1553705 - Use a cheaper to compute state key for parser inserted form controls. r=smaug 2019-07-01 10:06:16 +00:00
HTMLButtonElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLCanvasElement.cpp Bug 1493613 - Move MediaStream control from DOMMediaStream to MediaStreamTrack. r=padenot 2019-07-31 07:58:17 +00:00
HTMLCanvasElement.h
HTMLDataElement.cpp
HTMLDataElement.h
HTMLDataListElement.cpp
HTMLDataListElement.h
HTMLDetailsElement.cpp
HTMLDetailsElement.h
HTMLDialogElement.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
HTMLDialogElement.h
HTMLDivElement.cpp
HTMLDivElement.h
HTMLElement.cpp
HTMLEmbedElement.cpp Bug 1562257 part 5. Fix style mapping of border attribues to more closely match the spec. r=mccr8 2019-06-28 23:55:38 +00:00
HTMLEmbedElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLFieldSetElement.cpp
HTMLFieldSetElement.h
HTMLFontElement.cpp
HTMLFontElement.h
HTMLFormControlsCollection.cpp
HTMLFormControlsCollection.h
HTMLFormElement.cpp Backed out 2 changesets (bug 1558915) for causing bustages. CLOSED TREE 2019-08-02 12:17:42 +03:00
HTMLFormElement.h Bug 1553705 - Use a cheaper to compute state key for parser inserted form controls. r=smaug 2019-07-01 10:06:16 +00:00
HTMLFormSubmission.cpp Backed out 2 changesets (bug 1558915) for causing bustages. CLOSED TREE 2019-08-02 12:17:42 +03:00
HTMLFormSubmission.h Bug 1551264 - Move user-initiated flag for form submission from HTMLFormElement to HTMLFormSubmission; r=smaug 2019-05-14 12:41:19 +00:00
HTMLFormSubmissionConstants.h
HTMLFrameElement.cpp Bug 1560055 part 2. Switch frame/iframe marginwidth/height parsing to follow the spec. r=mccr8 2019-06-28 20:54:30 +00:00
HTMLFrameElement.h
HTMLFrameSetElement.cpp
HTMLFrameSetElement.h
HTMLHeadingElement.cpp
HTMLHeadingElement.h
HTMLHRElement.cpp Bug 1560055 part 3. Switch various "width" and "height" attributes on HTML elements to mostly follow the spec for parsing the attribute. r=mccr8 2019-06-28 20:56:55 +00:00
HTMLHRElement.h
HTMLIFrameElement.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
HTMLIFrameElement.h Bug 1514296 - Rename Document.policy to Document.featurePolicy, r=ckerschb 2019-07-08 00:10:56 +00:00
HTMLImageElement.cpp Bug 1522288 - Start using microtask for img loading and img decode r=smaug 2019-07-22 17:35:20 +00:00
HTMLImageElement.h Bug 1562257 part 4. Fix style mapping of hspace and vspace attributes to match the spec. r=mccr8 2019-06-28 23:51:43 +00:00
HTMLInputElement.cpp Bug 1567191 - Move datetime input widget attribute handling code to HTMLInputElement. r=smaug 2019-08-05 22:11:57 +02:00
HTMLInputElement.h Bug 1553603 - Support "capture" attribute in Gecko and expose in GV. r=geckoview-reviewers,smaug,snorp,agi 2019-07-30 18:13:05 +00:00
HTMLLabelElement.cpp Bug 1554122 - Rename nsAutoPopupStatePusher* to AutoPopupStatePusher; r=smaug 2019-05-24 12:42:29 +00:00
HTMLLabelElement.h Bug 1543315 - part 16: Mark PresShell::HandleEventWithTarget() as MOZ_CAN_RUN_SCRIPT r=smaug 2019-05-06 13:15:05 +00:00
HTMLLegendElement.cpp Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLLegendElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLLIElement.cpp Bug 1542594 - Apply counter-set after counter-increment, not before. r=emilio 2019-04-07 13:45:57 +02:00
HTMLLIElement.h
HTMLLinkElement.cpp Bug 1546334 - Use referrerInfo in style system. r=heycam 2019-07-16 11:43:56 +00:00
HTMLLinkElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLMapElement.cpp
HTMLMapElement.h
HTMLMarqueeElement.cpp Bug 1562257 part 4. Fix style mapping of hspace and vspace attributes to match the spec. r=mccr8 2019-06-28 23:51:43 +00:00
HTMLMarqueeElement.h Bug 1562257 part 4. Fix style mapping of hspace and vspace attributes to match the spec. r=mccr8 2019-06-28 23:51:43 +00:00
HTMLMediaElement.cpp Bug 1547784 - Return an error if an EME associated MediaElement becomes inactive as deocder setup finishes. r=alwu 2019-08-06 17:48:41 +00:00
HTMLMediaElement.h Bug 1493613 - Move MediaStream control from DOMMediaStream to MediaStreamTrack. r=padenot 2019-07-31 07:58:17 +00:00
HTMLMenuBuilder.jsm Bug 1561435 - Format dom/, a=automatic-formatting 2019-07-05 10:44:55 +02:00
HTMLMenuElement.cpp Bug 1565767 part 5. Remove some unnecesary refcounting at nsIContent::GetBaseURI callsites. r=peterv 2019-07-15 18:29:05 +00:00
HTMLMenuElement.h
HTMLMenuItemElement.cpp Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLMenuItemElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLMetaElement.cpp Bug 1567877: Apply Meta CSP to about:devtools-toolbox. r=jdescottes,Ehsan 2019-07-30 07:14:09 +00:00
HTMLMetaElement.h Bug 1498729 - Handle the cases where the name of viewport meta tag changes. r=smaug,botond 2019-07-25 04:26:04 +00:00
HTMLMeterElement.cpp
HTMLMeterElement.h
HTMLModElement.cpp
HTMLModElement.h
HTMLObjectElement.cpp Bug 1555216 - Cache owner doc in the BindContext. r=bzbarsky 2019-05-31 23:31:57 +02:00
HTMLObjectElement.h Bug 1562257 part 4. Fix style mapping of hspace and vspace attributes to match the spec. r=mccr8 2019-06-28 23:51:43 +00:00
HTMLOptGroupElement.cpp
HTMLOptGroupElement.h
HTMLOptionElement.cpp Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLOptionElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLOptionsCollection.cpp Bug 1315460 - Removal of keygen element r=keeler,baku,jld,hsivonen 2019-06-13 08:58:07 +00:00
HTMLOptionsCollection.h
HTMLOutputElement.cpp Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLOutputElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLParagraphElement.cpp
HTMLParagraphElement.h
HTMLPictureElement.cpp
HTMLPictureElement.h
HTMLPreElement.cpp
HTMLPreElement.h
HTMLProgressElement.cpp
HTMLProgressElement.h
HTMLScriptElement.cpp Bug 1565767 part 5. Remove some unnecesary refcounting at nsIContent::GetBaseURI callsites. r=peterv 2019-07-15 18:29:05 +00:00
HTMLScriptElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLSelectElement.cpp Bug 1565584: move nsIContentUtils::ContentIsDescendantOf to nsINode::IsInclusiveDescendantOf. r=smaug 2019-07-15 10:02:21 +02:00
HTMLSelectElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLSharedElement.cpp Bug 1555216 - Cache owner doc in the BindContext. r=bzbarsky 2019-05-31 23:31:57 +02:00
HTMLSharedElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLSharedListElement.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-31 15:12:55 +00:00
HTMLSharedListElement.h
HTMLSlotElement.cpp Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLSlotElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLSourceElement.cpp Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLSourceElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLSpanElement.cpp
HTMLSpanElement.h
HTMLStyleElement.cpp Bug 1546334 - Use referrerInfo in style system. r=heycam 2019-07-16 11:43:56 +00:00
HTMLStyleElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLSummaryElement.cpp
HTMLSummaryElement.h
HTMLTableCaptionElement.cpp
HTMLTableCaptionElement.h
HTMLTableCellElement.cpp Bug 1562257 part 1. Remove pointless parsing of "charoff" attributes. r=mccr8 2019-06-28 23:31:57 +00:00
HTMLTableCellElement.h Bug 1560055 part 5. Fix various reflection cases that should be using GetUnsignedIntAttr but are using GetIntAttr. r=mccr8 2019-06-28 20:57:44 +00:00
HTMLTableColElement.cpp Bug 1560055 part 4. Remove remaining uses of ParseSpecialIntValue. r=mccr8 2019-06-28 21:00:15 +00:00
HTMLTableColElement.h Bug 1560055 part 5. Fix various reflection cases that should be using GetUnsignedIntAttr but are using GetIntAttr. r=mccr8 2019-06-28 20:57:44 +00:00
HTMLTableElement.cpp Bug 1562257 part 4. Fix style mapping of hspace and vspace attributes to match the spec. r=mccr8 2019-06-28 23:51:43 +00:00
HTMLTableElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLTableRowElement.cpp Bug 1562257 part 1. Remove pointless parsing of "charoff" attributes. r=mccr8 2019-06-28 23:31:57 +00:00
HTMLTableRowElement.h
HTMLTableSectionElement.cpp Bug 1562257 part 1. Remove pointless parsing of "charoff" attributes. r=mccr8 2019-06-28 23:31:57 +00:00
HTMLTableSectionElement.h
HTMLTemplateElement.cpp
HTMLTemplateElement.h Bug 1503657 - Implement Fluent DOMOverlays in C++. r=smaug,Pike 2019-04-24 05:05:11 +00:00
HTMLTextAreaElement.cpp Bug 1553705 - Use a cheaper to compute state key for parser inserted form controls. r=smaug 2019-07-01 10:06:16 +00:00
HTMLTextAreaElement.h Bug 1560055 part 5. Fix various reflection cases that should be using GetUnsignedIntAttr but are using GetIntAttr. r=mccr8 2019-06-28 20:57:44 +00:00
HTMLTimeElement.cpp
HTMLTimeElement.h
HTMLTitleElement.cpp Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLTitleElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
HTMLTrackElement.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
HTMLTrackElement.h Bug 1562021 - part5 : add test 'test_texttrack_mode_change_during_loading.html'. r=jya 2019-07-03 23:28:31 +00:00
HTMLUnknownElement.cpp
HTMLUnknownElement.h
HTMLVideoElement.cpp Bug 1570212 - Convert media.video_stats.enabled to a static pref. r=jya 2019-08-02 12:35:01 +00:00
HTMLVideoElement.h Bug 1570212 - Convert media.video_stats.enabled to a static pref. r=jya 2019-08-02 12:35:01 +00:00
ImageDocument.cpp Bug 1564449, ensure the right body element is used throughout the method call, r=mccr8 2019-08-06 16:43:01 +03:00
ImageDocument.h
MediaDocument.cpp Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike 2019-06-11 15:51:51 +00:00
MediaDocument.h Bug 1547892 - Load video element in VideoDocument slightly later during load. r=bzbarsky 2019-05-14 04:27:49 +00:00
MediaError.cpp Bug 1542120 - Add js/public/Warnings.h for warning-related JSAPI. r=arai 2019-04-05 22:52:04 +00:00
MediaError.h
moz.build Bug 1315460 - Removal of keygen element r=keeler,baku,jld,hsivonen 2019-06-13 08:58:07 +00:00
nsBrowserElement.cpp
nsBrowserElement.h
nsDOMStringMap.cpp
nsDOMStringMap.h
nsGenericHTMLElement.cpp Bug 1571249 - Remove BCTableCell as a distinct frame type. r=TYLin 2019-08-08 19:48:10 +00:00
nsGenericHTMLElement.h Bug 1553705 - Use a cheaper to compute state key for parser inserted form controls. r=smaug 2019-07-01 10:06:16 +00:00
nsGenericHTMLFrameElement.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
nsGenericHTMLFrameElement.h Bug 1490044 - Move all prefs used in WebIDL to StaticPrefs. r=bzbarsky 2019-06-13 09:00:59 +00:00
nsHTMLContentSink.cpp Bug 836176 - Part 3: Remove nsIHTMLDocument; r=farre 2019-06-04 17:27:43 +00:00
nsHTMLDNSPrefetch.cpp Backed out 2 changesets (bug 1558915) for causing bustages. CLOSED TREE 2019-08-02 12:17:42 +03:00
nsHTMLDNSPrefetch.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
nsHTMLDocument.cpp Backed out 2 changesets (bug 1558915) for causing bustages. CLOSED TREE 2019-08-02 12:17:42 +03:00
nsHTMLDocument.h Bug 1569677 - Part 2: Move HTMLDocument.userInteractionForTesting to Document; r=bzbarsky 2019-07-29 19:32:53 +00:00
nsIConstraintValidation.cpp
nsIConstraintValidation.h
nsIForm.h
nsIFormControl.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-07-06 08:18:28 +00:00
nsIFormSubmitObserver.idl
nsIHTMLCollection.h
nsIImageDocument.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsIMenuBuilder.idl
nsIRadioGroupContainer.h
nsIRadioVisitor.h
nsITextControlElement.h
nsRadioVisitor.cpp
nsRadioVisitor.h
nsTextEditorState.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
nsTextEditorState.h Bug 1549925 - Mark all methods of nsIDocumentStateListener as can_run_script r=m_kato 2019-05-09 07:37:51 +00:00
PlayPromise.cpp
PlayPromise.h
PluginDocument.cpp Bug 1564449, ensure the right body element is used throughout the method call, r=mccr8 2019-08-06 16:43:01 +03:00
RadioNodeList.cpp
RadioNodeList.h
TextInputListener.h Bug 1543315 - part 16: Mark PresShell::HandleEventWithTarget() as MOZ_CAN_RUN_SCRIPT r=smaug 2019-05-06 13:15:05 +00:00
TextTrackManager.cpp Bug 1356046 - Remove expired media telemetry; r=jya,alwu,bryce 2019-08-02 18:17:45 +00:00
TextTrackManager.h Bug 1356046 - Remove expired media telemetry; r=jya,alwu,bryce 2019-08-02 18:17:45 +00:00
TimeRanges.cpp
TimeRanges.h
ValidityState.cpp
ValidityState.h
VideoDocument.cpp Bug 1564449, ensure the right body element is used throughout the method call, r=mccr8 2019-08-06 16:43:01 +03:00