gecko-dev/layout/mathml
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
tests Bug 1667719: Add preferences, warnings and telemetry for the scriptminsize and scriptsizemultiplier attributes. r=emilio 2020-09-28 14:12:27 +00:00
jar.mn
mathfont.properties
mathfontSTIXGeneral.properties
mathfontUnicode.properties
mathml.css Bug 1690225 - Unify focus-visible rules in ua.css. r=edgar 2021-02-03 10:25:21 +00:00
moz.build Bug 1674594 - Remove the obsolete nsMathMLmfencedFrame and associated pref and tests. r=emilio 2020-11-05 22:36:43 +00:00
nsIMathMLFrame.h
nsMathMLAtoms.h
nsMathMLChar.cpp Bug 1702676 - Change public LookAndFeel API to accept a color scheme. r=mstange 2021-04-02 12:22:14 +00:00
nsMathMLChar.h
nsMathMLContainerFrame.cpp Bug 1677635 Part 4 - Rename nsOverflowAreas to OverflowAreas, and move it into mozilla namespace. r=layout-reviewers,emilio 2020-11-18 00:08:12 +00:00
nsMathMLContainerFrame.h Bug 1677635 Part 4 - Rename nsOverflowAreas to OverflowAreas, and move it into mozilla namespace. r=layout-reviewers,emilio 2020-11-18 00:08:12 +00:00
nsMathMLFrame.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsMathMLFrame.h Bug 1667594 - Avoid including nsLayoutUtils.h from various headers. r=kats 2020-09-26 17:55:00 +00:00
nsMathMLOperators.cpp Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
nsMathMLOperators.h
nsMathMLParts.h Bug 1674594 - Remove the obsolete nsMathMLmfencedFrame and associated pref and tests. r=emilio 2020-11-05 22:36:43 +00:00
nsMathMLSelectedFrame.cpp Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsMathMLSelectedFrame.h Bug 1686603 Part 2 - Add StyleSizeOverrides parameter to ReflowInput's constructor & co. to override data from style system data. r=dholbert 2021-01-26 02:47:40 +00:00
nsMathMLTokenFrame.cpp
nsMathMLTokenFrame.h
nsMathMLmactionFrame.cpp
nsMathMLmactionFrame.h
nsMathMLmencloseFrame.cpp Bug 1673931 - Remove dependency of BindingUtils.h on Document.h. 2020-11-23 16:08:03 +00:00
nsMathMLmencloseFrame.h
nsMathMLmfracFrame.cpp Bug 1673931 - Remove dependency of BindingUtils.h on Document.h. 2020-11-23 16:08:03 +00:00
nsMathMLmfracFrame.h
nsMathMLmmultiscriptsFrame.cpp Bug 1673931 - Remove dependency of BindingUtils.h on Document.h. 2020-11-23 16:08:03 +00:00
nsMathMLmmultiscriptsFrame.h
nsMathMLmoFrame.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsMathMLmoFrame.h
nsMathMLmpaddedFrame.cpp
nsMathMLmpaddedFrame.h
nsMathMLmrootFrame.cpp Bug 1673056 - Remove nsLayoutUtils::MIN_ISIZE and nsLayoutUtils::PREF_ISIZE. r=mats 2020-10-23 22:52:02 +00:00
nsMathMLmrootFrame.h
nsMathMLmrowFrame.cpp
nsMathMLmrowFrame.h
nsMathMLmspaceFrame.cpp
nsMathMLmspaceFrame.h
nsMathMLmsqrtFrame.cpp
nsMathMLmsqrtFrame.h
nsMathMLmtableFrame.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsMathMLmtableFrame.h
nsMathMLmunderoverFrame.cpp Bug 1673931 - Remove dependency of BindingUtils.h on Document.h. 2020-11-23 16:08:03 +00:00
nsMathMLmunderoverFrame.h
nsMathMLsemanticsFrame.cpp
nsMathMLsemanticsFrame.h
operatorDictionary.xsl
updateOperatorDictionary.pl