gecko-dev/layout/mathml
Andrew Osmond 91b071ed14 Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel
gfx::Color is currently misused in many places. The DrawTargets expect
the color space to be in device space, e.g. what we are actually going
to draw using. Everything sitting above generally deals with sRGB, as
specified in CSS. Sometimes we missed the conversion from sRGB to device
space when issuing draw calls, and similarly sometimes we converted the
color to device space twice.

This patch splits the type in two. sRGBColor and DeviceColor now
represent sRGB and device color spaces respectively. DrawTarget only
accepts DeviceColor, and one can get a DeviceColor from an sRGBColor via
the ToDeviceColor helper API. The reftests now pass with color
management enabled for everything (e.g. CSS) instead of just tagged
raster images.

There will be a follow up patch to enable color management everywhere by
default on all supported platforms.

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

--HG--
extra : moz-landing-system : lando
2020-03-09 14:16:17 +00:00
..
crashtests Bug 1587142 - Remove XBL tests in layout/ r=bzbarsky 2019-11-05 20:45:28 +00:00
tests Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
jar.mn
mathfont.properties
mathfontSTIXGeneral.properties
mathfontUnicode.properties
mathml.css Bug 1571487 - Implement MathML DOM r=bzbarsky 2019-10-04 19:05:36 +00:00
moz.build
nsIMathMLFrame.h
nsMathMLAtoms.h
nsMathMLChar.cpp Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
nsMathMLChar.h
nsMathMLContainerFrame.cpp Bug 1618345 - Enforce proper color management by splitting gfx::Color into sRGBColor and DeviceColor types. r=jrmuizel 2020-03-09 14:16:17 +00:00
nsMathMLContainerFrame.h Bug 1611181 - Make direction use an enum class. r=boris 2020-01-24 11:46:14 +00:00
nsMathMLFrame.cpp Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj 2020-02-20 11:40:14 +00:00
nsMathMLFrame.h
nsMathMLOperators.cpp
nsMathMLOperators.h
nsMathMLParts.h
nsMathMLSelectedFrame.cpp
nsMathMLSelectedFrame.h
nsMathMLTokenFrame.cpp
nsMathMLTokenFrame.h
nsMathMLmactionFrame.cpp Bug 1614208 - Stop including AccessibleCaretEventHub and PresShell.h from Selection.h. r=TYLin 2020-02-11 01:22:29 +00:00
nsMathMLmactionFrame.h
nsMathMLmencloseFrame.cpp Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj 2020-02-20 11:40:14 +00:00
nsMathMLmencloseFrame.h
nsMathMLmfencedFrame.cpp Bug 1611181 - Make direction use an enum class. r=boris 2020-01-24 11:46:14 +00:00
nsMathMLmfencedFrame.h
nsMathMLmfracFrame.cpp Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj 2020-02-20 11:40:14 +00:00
nsMathMLmfracFrame.h Bug 1611181 - Make direction use an enum class. r=boris 2020-01-24 11:46:14 +00:00
nsMathMLmmultiscriptsFrame.cpp Bug 1587570 - Remove support for the subscriptshift and superscriptshift attributes. r=emilio 2019-10-16 11:57:13 +00:00
nsMathMLmmultiscriptsFrame.h
nsMathMLmoFrame.cpp Bug 1611181 - Make direction use an enum class. r=boris 2020-01-24 11:46:14 +00:00
nsMathMLmoFrame.h
nsMathMLmpaddedFrame.cpp Bug 1611181 - Make direction use an enum class. r=boris 2020-01-24 11:46:14 +00:00
nsMathMLmpaddedFrame.h
nsMathMLmrootFrame.cpp Bug 1611181 - Make direction use an enum class. r=boris 2020-01-24 11:46:14 +00:00
nsMathMLmrootFrame.h
nsMathMLmrowFrame.cpp
nsMathMLmrowFrame.h
nsMathMLmspaceFrame.cpp
nsMathMLmspaceFrame.h
nsMathMLmsqrtFrame.cpp
nsMathMLmsqrtFrame.h Bug 1548522 - Remove support for the menclose's "radical" notation. r=emilio 2019-10-03 21:37:03 +00:00
nsMathMLmtableFrame.cpp Bug 1617472 - Use enums for text-align / text-align-last. r=jfkthame 2020-02-24 13:32:57 +00:00
nsMathMLmtableFrame.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2020-01-09 21:50:11 +00:00
nsMathMLmunderoverFrame.cpp Bug 1571487 - Implement MathML DOM r=bzbarsky 2019-10-04 19:05:36 +00:00
nsMathMLmunderoverFrame.h
nsMathMLsemanticsFrame.cpp
nsMathMLsemanticsFrame.h
operatorDictionary.xsl
updateOperatorDictionary.pl