gecko-dev/layout/forms
Emilio Cobos Álvarez d7cb2ff80c Bug 1667510 - Make nsDateTimeControlFrame not do math on nscoord_MAX. r=dholbert
This is not needed to fix the bug, but just makes the code a bit less
prone to this stuff.

Right now we rely on the child being a flex container and having a
concrete BlockStartAscent(). When that breaks, we do math with
nscoord_MAX (ASK_FOR_BASELINE), which causes all sorts of weird stuff to
happen.

Sanity-check the value code. If the child has no concrete baseline,
keeping the ASK_FOR_BASELINE in our own ReflowOutput will end up
synthesizing one as normal from the child, which is ok.

Differential Revision: https://phabricator.services.mozilla.com/D91620
2020-09-28 18:31:20 +00:00
..
crashtests
test Bug 1648149 - Move GeckoViewContent to Actor. r=snorp 2020-08-14 14:48:37 +00:00
moz.build Bug 558594 - Implement layout for <input type='search'>. r=emilio,masayuki 2020-07-27 12:09:40 +00:00
nsButtonFrameRenderer.cpp Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
nsButtonFrameRenderer.h Bug 1630704 - Part 28: Remove nsFrame r=emilio 2020-07-06 22:38:11 +00:00
nsCheckboxRadioFrame.cpp Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00
nsCheckboxRadioFrame.h Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00
nsColorControlFrame.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
nsColorControlFrame.h
nsComboboxControlFrame.cpp Bug 1667594 - Avoid including nsLayoutUtils.h in nsContainerFrame.h. r=emilio 2020-09-26 18:19:14 +00:00
nsComboboxControlFrame.h Bug 1667594 - Avoid including nsLayoutUtils.h in nsContainerFrame.h. r=emilio 2020-09-26 18:19:14 +00:00
nsDateTimeControlFrame.cpp Bug 1667510 - Make nsDateTimeControlFrame not do math on nscoord_MAX. r=dholbert 2020-09-28 18:31:20 +00:00
nsDateTimeControlFrame.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
nsFieldSetFrame.cpp Bug 1667594 - Avoid including nsLayoutUtils.h in nsContainerFrame.h. r=emilio 2020-09-26 18:19:14 +00:00
nsFieldSetFrame.h Bug 1667594 - Avoid including nsLayoutUtils.h in nsContainerFrame.h. r=emilio 2020-09-26 18:19:14 +00:00
nsFileControlFrame.cpp Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
nsFileControlFrame.h Bug 1625809 - Remove nsFileControlFrame::AttributeChanged. r=smaug 2020-03-30 16:49:56 +00:00
nsGfxButtonControlFrame.cpp Bug 1630704 - Part 27: Remove nsFrame from inheritance chain r=emilio 2020-07-06 22:29:42 +00:00
nsGfxButtonControlFrame.h
nsHTMLButtonControlFrame.cpp Bug 1651171 - Convert NS_SUBTREE_DIRTY to an inline method of nsIFrame. r=jfkthame 2020-07-09 18:29:15 +00:00
nsHTMLButtonControlFrame.h Bug 1662813 - Factor out the "should print backgrounds" checks to nsIFrame. r=mats 2020-09-02 21:30:59 +00:00
nsIFormControlFrame.h
nsISelectControlFrame.h
nsITextControlFrame.h Bug 1634153 - Rename and devirtualize nsITextControlFrame::ScrollSelectionIntoView. r=masayuki 2020-04-30 04:04:40 +00:00
nsImageControlFrame.cpp Bug 1630704 - Part 27: Remove nsFrame from inheritance chain r=emilio 2020-07-06 22:29:42 +00:00
nsLegendFrame.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
nsLegendFrame.h Bug 1629732 - Fix non-unified build errors in layout/forms. r=tnikkel 2020-04-15 04:29:46 +00:00
nsListControlFrame.cpp Bug 1649278 - Don't do PreventDefault for escape key if <select> dropdown is not shown r=smaug 2020-07-15 19:00:30 +00:00
nsListControlFrame.h
nsMeterFrame.cpp Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00
nsMeterFrame.h Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00
nsNumberControlFrame.cpp Bug 1655430 - Deduplicate a bit code to create anonymous elements in ns{Number,Search,Text}ControlFrame. r=jfkthame 2020-07-27 13:55:15 +00:00
nsNumberControlFrame.h Bug 1655430 - Deduplicate a bit code to create anonymous elements in ns{Number,Search,Text}ControlFrame. r=jfkthame 2020-07-27 13:55:15 +00:00
nsProgressFrame.cpp Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00
nsProgressFrame.h Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00
nsRangeFrame.cpp Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00
nsRangeFrame.h Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00
nsSearchControlFrame.cpp Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
nsSearchControlFrame.h Bug 1655430 - Deduplicate a bit code to create anonymous elements in ns{Number,Search,Text}ControlFrame. r=jfkthame 2020-07-27 13:55:15 +00:00
nsSelectsAreaFrame.cpp Bug 1637130 - Rename visual overflow to ink overflow. r=dbaron 2020-07-20 20:17:36 +00:00
nsSelectsAreaFrame.h
nsTextControlFrame.cpp Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00
nsTextControlFrame.h Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00