gecko-dev/layout/tables
Emilio Cobos Álvarez 390c6943fe Bug 1702676 - Change public LookAndFeel API to accept a color scheme. r=mstange
This shouldn't change behavior, but is the biggest cross-platform part
of the change so I'd like to get it landed sooner rather than later.

The two calls like:

  GetColor(ColorID::TextSelectBackground, color);
  if (color == 0x000000) {
    mColorTextSelectForeground = NS_RGB(0xff, 0xff, 0xff);
  } else {
    mColorTextSelectForeground = NS_DONT_CHANGE_COLOR;
  }

that I'm removing are just broken. They were calling the version of
GetColor the function that took a default value when the color wasn't
available, not the version of the color with the outparam.

To prevent such mistakes, add two signatures, GetColor(), returning a
Maybe<nscolor> and Color(), returning a color with a fallback.

Differential Revision: https://phabricator.services.mozilla.com/D110651
2021-04-02 12:22:14 +00:00
..
crashtests Bug 1525737 - Remove/replace usages of XUL grid display values. r=emilio 2020-11-17 01:20:34 +00:00
reftests
test
BasicTableLayoutStrategy.cpp Bug 1695390 - Move extremum lengths to the individual Size / MaxSize types. r=boris 2021-03-02 12:11:35 +00:00
BasicTableLayoutStrategy.h
FixedTableLayoutStrategy.cpp Bug 1695390 - Move extremum lengths to the individual Size / MaxSize types. r=boris 2021-03-02 12:11:35 +00:00
FixedTableLayoutStrategy.h
SpanningCellSorter.cpp Bug 1695162 - Use ConstIter instead of Iter where possible. r=mccr8 2021-03-17 15:49:46 +00:00
SpanningCellSorter.h
TableArea.h
celldata.h
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
nsCellMap.cpp Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
nsCellMap.h
nsITableCellLayout.h
nsITableLayoutStrategy.h
nsTableCellFrame.cpp Bug 1702676 - Change public LookAndFeel API to accept a color scheme. r=mstange 2021-04-02 12:22:14 +00:00
nsTableCellFrame.h Bug 1667501 - Add an nsIFrame::IsFrameOfType bit to say whether frames support aspect-ratio. r=TYLin 2021-02-11 00:19:58 +00:00
nsTableColFrame.cpp Bug 1637130 - Rename visual overflow to ink overflow. r=dbaron 2020-07-20 20:17:36 +00:00
nsTableColFrame.h Bug 1667501 - Add an nsIFrame::IsFrameOfType bit to say whether frames support aspect-ratio. r=TYLin 2021-02-11 00:19:58 +00:00
nsTableColGroupFrame.cpp Bug 1677917 - Change BlockReflowInput's skipsides setup to be sane. r=mats,TYLin 2020-11-30 17:49:04 +00:00
nsTableColGroupFrame.h Bug 1667501 - Add an nsIFrame::IsFrameOfType bit to say whether frames support aspect-ratio. r=TYLin 2021-02-11 00:19:58 +00:00
nsTableFrame.cpp Bug 708901 - Migrate to nsTHashSet in layout. r=emilio 2021-03-24 17:56:46 +00:00
nsTableFrame.h Bug 1689504 Part 3 - Remove the specialized code to set a collapsed table's border & padding in SizeComputationInput. r=emilio 2021-02-08 10:26:41 +00:00
nsTableRowFrame.cpp Bug 1680840: Fire table styling changed event when style changes that may affect data/layout table classification r=emilio,eeejay 2021-02-04 20:50:05 +00:00
nsTableRowFrame.h Bug 1667501 - Add an nsIFrame::IsFrameOfType bit to say whether frames support aspect-ratio. r=TYLin 2021-02-11 00:19:58 +00:00
nsTableRowGroupFrame.cpp Bug 1693001 - Remove redundant nullptr checks of return value of infallible new in layout/. r=emilio 2021-02-16 15:52:09 +00:00
nsTableRowGroupFrame.h Bug 1667501 - Add an nsIFrame::IsFrameOfType bit to say whether frames support aspect-ratio. r=TYLin 2021-02-11 00:19:58 +00:00
nsTableWrapperFrame.cpp Bug 1692116 Part 2 - Fix table flex item's flex base size & hypothetical main size in a column flex container. r=dholbert 2021-02-25 20:06:10 +00:00
nsTableWrapperFrame.h Bug 1692116 Part 1 - Let nsTableWrapperFrame::ComputeAutoSize() return a resolved block-size. r=dholbert 2021-02-25 20:06:10 +00:00