The HTMLElement node class
The Text node class
The Document class
Protected
_The cached number of linebreaks
Readonly
baseThe base element's wrapper
Readonly
baseThe core mi or mo of the base (or the base itself if there isn't one)
Readonly
baseTrue if the base has an accent over
Readonly
baseTrue if the base has an accent under
Readonly
baseThe italic correction of the base (if any)
Readonly
baseTrue if the base is a single character
Readonly
baseTrue if base italic correction should be removed (msub and msubsup or mathaccents)
Readonly
baseThe relative scaling of the base compared to the munderover/msubsup
The bounding box for this node
Protected
bboxWhether the bounding box has been computed yet
The children of this node
The DOM tree generated for this wrapper
The factory used to create more wrappers
Easy access to the font parameters
Readonly
isTrue if this is an overline
Readonly
isTrue if this is an underline
Readonly
isTrue 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)
Readonly
scriptThe 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
Readonly
subThe wrapper for the subscript
Readonly
supThe wrapper for the superscript
Cached values for the script offsets and separation (so if they are computed in computeBBox(), they don't have to be recomputed during output)
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
The HTML nodes where the children are to be added
Protected
addThe bounding box where left borders are to be added
Protected
addThe bounding box where top and bottom borders are to be added
Protected
addThe bounding box where right borders are to be added
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
Protected
charA unicode code point to be converted to a character className reference.
The className for the character
Determine if the under- and overscripts are under- or overlines.
Protected
computeThe 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
Protected
computeCompute 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
Protected
copyThe 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
Protected
createProtected
createCreate 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
For debugging
Protected
emA number to be shown in ems
The number with units of ems
Protected
embellishedGet the bounding box for the i-th line of an embellished mo
The line number
The bounding box for that line
Protected
explicitSet 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
An adjusted italic correction (for slightly better results)
Protected
getThe alignment and indentation shift for the expression
Protected
getThe total width
The bbox to be aligned
How to align (left, center, right)
The x position of the aligned width
Protected
getThe 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
Protected
getThe 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
Optional
noskew: booleanWhether to ignore the skew amount
The offset for under and over
The bounding boxes whose offsets are to be computed
Optional
delta: 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
Protected
getGet 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
Protected
getDetermine the scaling factor to use for this wrapped node, and set the styles for it.
The base fence item or null
Protected
getSets the spacing based on TeX or MathML algorithm
Protected
getGather the data about borders and padding from the styles attribute
Protected
getAdd the style attribute, but remove any font-related styles (since these are handled separately by the variant)
Protected
getGet 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
Protected
getGet the mathvariant (or construct one, if needed).
Protected
getThe 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)
Protected
handleCopy RDFa, aria, and other tags from the MathML to the CHTML 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.
Protected
handleRemove sides for multiline rows
Protected
handleAdd 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)
Protected
handleProtected
handleHandle the attributes needed for percentage widths
Protected
handleSet the (relative) scaling factor for the node
Protected
handleAdd the proper spacing
Protected
handleSet the CSS styles for the chtml 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
Protected
isTrue if this is the top-most container of an embellished operator that is itself an embellished operator (the maximal embellished operator for its core)
Protected
length2emA 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
Mark this class as having been typeset (so its styles will be output)
The text from which to create a TextNode object
The TextNode with the given text
Protected
percentA number to be shown as a percent
The number m as a percent
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
Protected
pxA 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
The HTML elements to be centered in a stack
The x offsets needed to center the elements
Protected
setThe HTML node whose indentation is to be adjusted
The alignment for the node
The indent (positive or negative) for the node
Protected
setProtected
standardHandle horizontal stretching of children to match greatest width of all children
The text from which to create an HTML text node
The generated text node with the given text
Create the HTML for the wrapped node.
The HTML nodes where the output is to be added
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
Protected
unicodeThe text to turn into unicode locations
The name of the variant for the characters
Array of numbers represeting the string's unicode character positions
Optional
data: anyThe node to the wrapped
The wrapped parent node
The newly wrapped node
The ChtmlMsubsup interface for the CHTML Msubsup wrapper