diff --git a/layout/generic/nsTextFrame.cpp b/layout/generic/nsTextFrame.cpp index 087a50108ea..b2038713385 100644 --- a/layout/generic/nsTextFrame.cpp +++ b/layout/generic/nsTextFrame.cpp @@ -243,15 +243,15 @@ NS_DECLARE_FRAME_PROPERTY(TextFrameGlyphObservers, DestroyGlyphObserverList); // Set when this text frame is mentioned in the userdata for mTextRun #define TEXT_IN_TEXTRUN_USER_DATA NS_FRAME_STATE_BIT(29) +// nsTextFrame.h has +// #define TEXT_IS_IN_SINGLE_CHAR_MI NS_FRAME_STATE_BIT(30) + // nsTextFrame.h has // #define TEXT_HAS_NONCOLLAPSED_CHARACTERS NS_FRAME_STATE_BIT(31) // nsTextFrame.h has // #define TEXT_IS_IN_TOKEN_MATHML NS_FRAME_STATE_BIT(32) -// nsTextFrame.h has -// #define TEXT_IS_IN_SINGLE_CHAR_MI NS_FRAME_STATE_BIT(59) - // Set when this text frame is mentioned in the userdata for the // uninflated textrun property #define TEXT_IN_UNINFLATED_TEXTRUN_USER_DATA NS_FRAME_STATE_BIT(60) diff --git a/layout/generic/nsTextFrame.h b/layout/generic/nsTextFrame.h index a7154530a02..f6f24a3abf6 100644 --- a/layout/generic/nsTextFrame.h +++ b/layout/generic/nsTextFrame.h @@ -17,6 +17,11 @@ class nsTextPaintStyle; class PropertyProvider; +// This state bit is set on text frames within token MathML elements if the +// token represents an tag whose inner HTML consists of a single +// non-whitespace character to allow special rendering behaviour. +#define TEXT_IS_IN_SINGLE_CHAR_MI NS_FRAME_STATE_BIT(30) + // This state bit is set on frames that have some non-collapsed characters after // reflow #define TEXT_HAS_NONCOLLAPSED_CHARACTERS NS_FRAME_STATE_BIT(31) @@ -24,11 +29,6 @@ class PropertyProvider; // This state bit is set on children of token MathML elements #define TEXT_IS_IN_TOKEN_MATHML NS_FRAME_STATE_BIT(32) -// This state bit is set on token MathML elements if the token represents an -// tag whose inner HTML consists of a single non-whitespace character -// to allow special rendering behaviour. -#define TEXT_IS_IN_SINGLE_CHAR_MI NS_FRAME_STATE_BIT(59) - #define TEXT_HAS_FONT_INFLATION NS_FRAME_STATE_BIT(61) typedef nsFrame nsTextFrameBase;