The HTMLElement node class
The Text node class
The Document class
Protected_The cached number of linebreaks
ReadonlybaseThe base element's wrapper
ReadonlybaseThe core mi or mo of the base (or the base itself if there isn't one)
ReadonlybaseTrue if the base has an accent over
ReadonlybaseTrue if the base has an accent under
ReadonlybaseThe italic correction of the base (if any)
ReadonlybaseTrue if the base is a single character
ReadonlybaseTrue if base italic correction should be removed (msub and msubsup or mathaccents)
ReadonlybaseThe relative scaling of the base compared to the munderover/msubsup
The bounding box for this node
ProtectedbboxWhether the bounding box has been computed yet
The children of this node
The DOM tree generated for this wrapper
Offset due to border/padding
The factory used to create more wrappers
ReadonlyisTrue if this is an overline
ReadonlyisTrue if this is an underline
ReadonlyisTrue if this is an msup with script that is a math accent
Sizes of lines into which the element is broken
The parent of this node
Styles that must be handled directly by the wrappers (mostly having to do with fonts)
ReadonlyscriptThe script element's wrapper (overridden in subclasses)
Delimiter data for stretching this node (NOSTRETCH means not yet determined)
The padding and border information from the style attribute
The explicit styles set by the node
Protectedutextbuffered unknown text
The mathvariant for this node
The number of breakpoints in the node
Easy access to the container width
The container width
True if children with percentage widths should be resolved by this container
Easy access to the linebreak options
The linebreak options
ProtectedaddCreate a dashed or dotted border line with the given width and color
The points for the border segment
The color to use
Either 'dotted' or 'dashed'
The thickness for the border line
The side being drawn
The parent container
The offset of the node
ProtectedaddThe element in which to add the children
ProtectedaddThe bounding box where left borders are to be added
ProtectedaddThe bounding box where top and bottom borders are to be added
ProtectedaddThe bounding box where right borders are to be added
ProtectedaddThe x-position of the text
The y-position of the text
The container for the text
The variant to use for the string
The computed width of the text
The value to use if the base isn't a (non-large-op, unstretched) char
Either n or 0
The first mrow below this node
The child containing the mrow
The linebreak container for the child
The width to use for linebreaking
The direction to stretch this node
Whether the node can stretch in that direction
ProtectedcharThe name of the variant being used
The hex string for the character code
The data from the character
The
Determine if the under- and overscripts are under- or overlines.
ProtectedcomputeThe bounding box to modify (either this.bbox, or an empty one)
True if we are recomputing due to changes in children that have percentage widths
ProtectedcomputeCompute the bounding box for the i-th line (for when it is not in the cache).
The number of the line whose sizes are to be obtained
The bounding box of the specified segment
ProtectedcopyThe wrapper for this node's core node
The wrapper for this node's core
The cumulative relative scaling for an embellised mo's core mo
ProtectedcreateCreate an mo wrapper with the given text, link it in, and give it the right defaults.
The text for the wrapped element
The wrapped MmlMo node
ProtectedcreateFor debugging
ProtectedemA number to be shown in ems
The number with units of ems
ProtectedembellishedGet the bounding box for the i-th line of an embellished mo
The line number
The bounding box for that line
ProtectedexplicitSet the CSS for a token element having an explicit font (rather than regular mathvariant).
The font family to use
The font weight to use
The font style to use
The explicit font marker
The dimension to display
The number of digits to display
The dimension with the given number of digits (minus trailing zeros)
An adjusted italic correction (for slightly better results)
ProtectedgetThe alignment and indentation shift for the expression
ProtectedgetThe total width
The bbox to be aligned
How to align (left, center, right)
The x position of the aligned width
ProtectedgetThe total height
The total depth
The height to be aligned
The depth to be aligned
How to align (top, bottom, center, axis, baseline)
The y position of the aligned baseline
The wrapper for the base core mi or mo (or whatever)
Recursively retrieves an element for a given fencepointer
The potential fence
The fencepointer id
The original fence the scripts belong to
The base's italic correction (properly scaled)
The scaling factor for the base core relative to the munderover/msubsup
The base child's width without the base italic correction (if not needed)
Return the wrapped node's bounding box, either the cached one, if it exists, or computed directly if not.
Whether to cache the bbox or not (used for stretchy elements)
The computed bounding box
Find the (embellished) mo or mspace where a break occurs
The LineBBox for the line whose initial breakpoint is needed
The embellished mo node and its core mo
The index of the child element whose alignment is needed
The alignment child element
ProtectedgetThe child node whose i-th line bbox is to be obtained
The number of the line whose bbox is to be obtained
The bounding box of the specified line
The child that is above or below the base
Optionalnoskew: booleanWhether to ignore the skew amount
The offset for under and over
The bounding boxes whose offsets are to be computed
Optionaldelta: number[]The initial x offsets of the boxes
The actual offsets needed to center the boxes in the stack
Get the bounding box for the i-th line (first and last may be part of a surrounding line). Get the bbox from the lineBBox cache, or compute it, as needed.
The number of the segment whose sizes are to be obtained
The bounding box of the specified segment
ProtectedgetGet the spacing using MathML rules based on the core MO
Get the shift for the script (implemented in subclasses)
The horizontal and vertical offsets for the script
Return the wrapped node's bounding box that includes borders and padding
Whether to cache the bbox or not (used for stretchy elements)
The computed bounding box
The cumulative relative scale from the root to the current node
ProtectedgetDetermine the scaling factor to use for this wrapped node, and set the styles for it.
The base fence item or null
ProtectedgetSets the spacing based on TeX or MathML algorithm
ProtectedgetGather the data about borders and padding from the styles attribute
ProtectedgetAdd the style attribute, but remove any font-related styles (since these are handled separately by the variant)
ProtectedgetGet the spacing using the TeX rules
True when this is a top-level embellished operator
True when there is an explicit or inherited 'form' attribute
For a token node, the combined text content of the node's children
Get the shift for a superscript (TeXBook Appendix G 18acd)
The vertical offset for the script
The height and depth without linebreaks
The height and depth
Get the shift for a subscript (TeXBook Appendix G 18ab)
The vertical offset for the script
ProtectedgetGet the mathvariant (or construct one, if needed).
ProtectedgetThe variant in which to look for the character
The number of the character to look up
The full CharData object, with CharOptions guaranteed to be defined
The index of the child element whose container is needed
The inner width as a container (for percentage widths)
ProtectedhandleCopy RDFa, aria, and other tags from the MathML to the SVG output nodes. Don't copy those in the skipAttributes list, or anything that already exists as a property of the node (e.g., no "onlick", etc.). If a name in the skipAttributes object is set to false, then the attribute WILL be copied. Add the class to any other classes already in use.
ProtectedhandleCreate the borders, if any are requested.
ProtectedhandleAdd the foreground and background colors (Only look at explicit attributes, since inherited ones will be applied to a parent element, and we will inherit from that)
ProtectedhandleProtectedhandleFirefox and Safari don't scroll to the top of the element with an Id, so
we shift the element up and then translate its contents down in order to
correct for their positioning. Also, Safari will go to the baseline of
a
The current offset of the element
The new offset for the element if it has an id
ProtectedhandleSet the (relative) scaling factor for the node
ProtectedhandleSet the CSS styles for the svg element
True if the base has movablelimits (needed by munderover)
The tag name of the HTML node to be created
The properties to set for the created node
The child nodes for the created HTML node
The generated HTML tree
Mark BBox to be computed again (e.g., when an mo has stretched)
True to invalidate parent BBoxes
True if the base is an mi, mn, or mo (not a largeop) consisting of a single unstretched character
The script node to check for being a line
True if the script is U+2015
ProtectedisTrue if this is the top-most container of an embellished operator that is itself an embellished operator (the maximal embellished operator for its core)
Protectedlength2emA dimension (giving number and units) or number to be converted to ems
The default size of the dimension (for percentage values)
The current scaling factor (to handle absolute units)
The dimension converted to ems
The text from which to create a TextNode object
The TextNode with the given text
ProtectedpathThe hex string for the character code
The data from the character
The
ProtectedpercentA number to be shown as a percent
The number m as a percent
The x-offset for the element
The y-offset for the element
The element to be placed
The character number
The x-position of the character
The y-position of the character
The container for the character
The variant to use for the character
True to collect unknown characters into one text element
The width of the character
The indentalign to process
The indentshift to process
The default alignment for 'auto'
The default indentshift for 'auto'
The container width for relative shifts
The alignment and indentation shift (normal and last) for the Mo
ProtectedpxA number of em's to be shown as pixels
The minimum number of pixels to allow
The number with units of px
The array of unicode character numbers to remap
The converted array
The element to check for accents
Recursively resolve any percentage widths in the child nodes using the given container width (or the child width, if none was passed). Overriden for mtables in order to compute the width.
True if we are recomputing due to changes in children
The width of the container (from which percentages are computed)
True if pwidth marker is to be cleared
True if a percentage width was found
ProtectedstandardHandle horizontal stretching of children to match greatest width of all children
The tag name of the svg node to be created
The properties to set for the created node
The child nodes for the created SVG node
The generated SVG tree
The text from which to create an HTML text node
The generated text node with the given text
Create the HTML for an embellished mo, if this is one.
The HTML nodes where the output is to be added
True when embellished output is produced, false if not
Create the HTML for the wrapped node.
The HTML nodes where the output is to be added
ProtectedunicodeThe text to turn into unicode locations
The name of the variant for the characters
Array of numbers represeting the string's unicode character positions
ProtecteduseThe name of the variant being used
The hex string for the character code
The data from the character
The
Optionaldata: anyThe node to the wrapped
The wrapped parent node
The newly wrapped node
The SvgMsub interface for the SVG Msub wrapper