gecko-dev/layout/mathml
Emilio Cobos Álvarez d36c96ab4c Bug 1612068 - Move zoom from the content viewer to the browsing context. r=nika
We need it to live in BrowsingContext instead of WindowContext, because
we need to preserve the zoom level across same-origin navigation.

It'd be nice if it only lived in the top BC, but that's not possible at
the moment because a lot of tests rely on zooming only iframes. Some of
them can be adjusted for scaling the top instead, but not sure it's
worth it's worth fixing them and moving the zoom to be top-only, as it'd
be a bunch of effort, and the complexity and overhead of propagating the
zoom is not so big.

The print-preview-specific code in nsContentViewer is from before we did
the document cloning setup, and it seems useless. I've tested print
preview scaling before and after my patch and both behave the same.

The rest is just various test changes to use the SpecialPowers APIs or
BrowsingContext as needed instead of directly poking at the content
viewer.

I named the pres context hook RecomputeBrowsingContextDependentData, as
more stuff should move there like overrideDPPX and other media emulation
shenanigans.

I also have some ideas to simplify or even remove ZoomChild and such,
but that's followup work.

Differential Revision: https://phabricator.services.mozilla.com/D71969
2020-04-22 19:32:52 +00:00
..
crashtests Bug 1612068 - Move zoom from the content viewer to the browsing context. r=nika 2020-04-22 19:32:52 +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
moz.build
nsIMathMLFrame.h
nsMathMLAtoms.h
nsMathMLChar.cpp Bug 1619349 - patch 1 - Record statistics about font-matching behavior in the presContext. r=jwatt 2020-04-02 01:38:18 +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 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +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 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsMathMLSelectedFrame.h
nsMathMLTokenFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
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 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsMathMLmencloseFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsMathMLmencloseFrame.h Bug 1620632 - Ensure nsTArray_Impl only declares a copy-constructor/assignment operator if E is copy-constructible. r=froydnj 2020-03-20 17:13:51 +00:00
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 1629732 - Fix non-unified build errors in layout/mathml. r=tnikkel 2020-04-17 01:43:08 +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 1629732 - Fix non-unified build errors in layout/mathml. r=tnikkel 2020-04-17 01:43:08 +00:00
nsMathMLmmultiscriptsFrame.h
nsMathMLmoFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsMathMLmoFrame.h
nsMathMLmpaddedFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsMathMLmpaddedFrame.h
nsMathMLmrootFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsMathMLmrootFrame.h
nsMathMLmrowFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsMathMLmrowFrame.h
nsMathMLmspaceFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsMathMLmspaceFrame.h
nsMathMLmsqrtFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsMathMLmsqrtFrame.h
nsMathMLmtableFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsMathMLmtableFrame.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsMathMLmunderoverFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsMathMLmunderoverFrame.h
nsMathMLsemanticsFrame.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
nsMathMLsemanticsFrame.h
operatorDictionary.xsl
updateOperatorDictionary.pl