gecko-dev/layout/mathml
Frederic Wang 3f8a2878fa Bug 1548524 - Remove attributes deprecated from MathML3. r=emilio
See https://github.com/mathml-refresh/mathml/issues/5#issuecomment-475506856
and https://groups.google.com/forum/#!topic/mozilla.dev.platform/kl5c87mBlO0

This patch introduces a new preference
mathml.deprecated_style_attributes.disabled in order to disable legacy support
for attributes background, color, fontfamily, fontsize, fontstyle and
fontweight. Note that xlink:href will be handled separately in bug 1575870.

* A new counter and deprecation message is introduced for these attributes.
  In nsMathMLElement, the old WarnDeprecated calls are replaced with a single
  call to WarnOnceAbout for the deprecate attributes. Notice that for some
  reason, the color attribute used to send warning in both ParseAttribute and
  MapMathMLAttributesInto.
* sMtableStyles is removed and replaced with a simple comparison.
* sMathML3Attributes is split into two tables: one for script attributes which
  will be handled in bug 1548471 and one for style attributes, handled here.
  The attributes in this second table is now ignored when the feature flag is
  disabled.
* test_bug553917.html is updated so that it no longer checks the old warning
  messages for these attributes. New warning messages have been verified
  manually.
* Reftests checking support for these attributes are run with the support
  enabled.
* Finally, WPT tests are run with the support disabled and a new test
  is added to verify that these attributes are no longer mapped to CSS.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 14:59:55 +00:00
..
crashtests
tests Bug 1548524 - Remove attributes deprecated from MathML3. r=emilio 2019-08-28 14:59:55 +00:00
jar.mn
mathfont.properties
mathfontSTIXGeneral.properties
mathfontUnicode.properties
mathml.css Bug 1574087. Make MathML length, dir, display, displaystyle and mathvariant case insensitive. r=emilio 2019-08-15 18:44:36 +00:00
moz.build Bug 1572211 - Remove MathML imported mochitests. r=emilio 2019-08-13 19:28:01 +00:00
nsIMathMLFrame.h
nsMathMLAtoms.h
nsMathMLChar.cpp Bug 1573249 - patch 2 - Don't apply skip-ink to runs of CJK text, because it looks bad with many fonts. r=dholbert 2019-08-21 15:07:20 +00:00
nsMathMLChar.h
nsMathMLContainerFrame.cpp Bug 1571250 - Convert flags passed to ReflowChild, FinishReflowChild, SyncFrameViewAfterReflow and from GetXULLayoutFlags / GetLayoutFlags into an enum class. r=TYLin 2019-08-08 19:48:19 +00:00
nsMathMLContainerFrame.h Bug 1566945 - Add a parameter to nsContainerFrame::InsertFrames for aPrevFrame's line box. r=dholbert 2019-07-17 23:34:45 +00:00
nsMathMLFrame.cpp Backed out 2 changesets (bug 1554499) for mochitest failures at test_restyles.html. 2019-07-18 21:36:22 +03:00
nsMathMLFrame.h
nsMathMLmactionFrame.cpp Bug 1545342 - part 2: Make some public enum of nsIPresShell move to mozilla namespace and defined as enum class in PresShellForwards.h r=smaug 2019-04-25 05:04:15 +00:00
nsMathMLmactionFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLmencloseFrame.cpp Backed out 2 changesets (bug 1554499) for mochitest failures at test_restyles.html. 2019-07-18 21:36:22 +03:00
nsMathMLmencloseFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLmfencedFrame.cpp Bug 1571250 - Convert flags passed to ReflowChild, FinishReflowChild, SyncFrameViewAfterReflow and from GetXULLayoutFlags / GetLayoutFlags into an enum class. r=TYLin 2019-08-08 19:48:19 +00:00
nsMathMLmfencedFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLmfracFrame.cpp Bug 1575542 - Add counter and warnings for deprecated MathML lengths. r=emilio 2019-08-22 06:29:26 +00:00
nsMathMLmfracFrame.h Bug 1575542 - Add counter and warnings for deprecated MathML lengths. r=emilio 2019-08-22 06:29:26 +00:00
nsMathMLmmultiscriptsFrame.cpp Bug 1571250 - Convert flags passed to ReflowChild, FinishReflowChild, SyncFrameViewAfterReflow and from GetXULLayoutFlags / GetLayoutFlags into an enum class. r=TYLin 2019-08-08 19:48:19 +00:00
nsMathMLmmultiscriptsFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLmoFrame.cpp Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLmoFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLmpaddedFrame.cpp Bug 1575542 - Add counter and warnings for deprecated MathML lengths. r=emilio 2019-08-22 06:29:26 +00:00
nsMathMLmpaddedFrame.h Bug 1575542 - Add counter and warnings for deprecated MathML lengths. r=emilio 2019-08-22 06:29:26 +00:00
nsMathMLmrootFrame.cpp Bug 1571250 - Convert flags passed to ReflowChild, FinishReflowChild, SyncFrameViewAfterReflow and from GetXULLayoutFlags / GetLayoutFlags into an enum class. r=TYLin 2019-08-08 19:48:19 +00:00
nsMathMLmrootFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLmrowFrame.cpp Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLmrowFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLmspaceFrame.cpp Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLmspaceFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLmsqrtFrame.cpp Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLmsqrtFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLmtableFrame.cpp Bug 1571249 - Remove the IsTableCell() function. r=TYLin 2019-08-08 19:48:12 +00:00
nsMathMLmtableFrame.h Bug 1566945 - Add a parameter to nsContainerFrame::InsertFrames for aPrevFrame's line box. r=dholbert 2019-07-17 23:34:45 +00:00
nsMathMLmunderoverFrame.cpp Bug 1571250 - Convert flags passed to ReflowChild, FinishReflowChild, SyncFrameViewAfterReflow and from GetXULLayoutFlags / GetLayoutFlags into an enum class. r=TYLin 2019-08-08 19:48:19 +00:00
nsMathMLmunderoverFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLOperators.cpp
nsMathMLOperators.h
nsMathMLParts.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLSelectedFrame.cpp Bug 1571250 - Convert flags passed to ReflowChild, FinishReflowChild, SyncFrameViewAfterReflow and from GetXULLayoutFlags / GetLayoutFlags into an enum class. r=TYLin 2019-08-08 19:48:19 +00:00
nsMathMLSelectedFrame.h
nsMathMLsemanticsFrame.cpp Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLsemanticsFrame.h Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio 2019-04-16 07:24:49 +00:00
nsMathMLTokenFrame.cpp Bug 1571250 - Convert flags passed to ReflowChild, FinishReflowChild, SyncFrameViewAfterReflow and from GetXULLayoutFlags / GetLayoutFlags into an enum class. r=TYLin 2019-08-08 19:48:19 +00:00
nsMathMLTokenFrame.h Bug 1566945 - Add a parameter to nsContainerFrame::InsertFrames for aPrevFrame's line box. r=dholbert 2019-07-17 23:34:45 +00:00
operatorDictionary.xsl
updateOperatorDictionary.pl