The HTMLElement node class
The Text node class
The Document class
Protected
_The cached number of linebreaks
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
Offset due to border/padding
The factory used to create more wrappers
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)
The relative scaling from the root to this node
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
Protected
utextbuffered 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
Protected
addCreate 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
Protected
addThe element in which to add the children
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
Protected
addThe 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 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
charThe name of the variant being used
The hex string for the character code
The data from the character
The
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
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
Protected
createFor 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
The dimension to display
The number of digits to display
The dimension with the given number of digits (minus trailing zeros)
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
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 XML tree to check
The first xmlHDW value to check
Optional
force: stringThe second (optional) xmlHDW value to check
The data-mjx-hdw value, if the options are met
The HTML for the node
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
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.
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
The height and depth without linebreaks
The height and depth
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 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.
Protected
handleCreate the borders, if any are requested.
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
handleFirefox 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
Protected
handleSet the (relative) scaling factor for the node
Protected
handleSet the CSS styles for the svg element
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
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
The text from which to create a TextNode object
The TextNode with the given text
Protected
pathThe hex string for the character code
The data from the character
The
Protected
percentA 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
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
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 data-mjx-hdw string to split
The h, d, w values (in em units) as an object
Protected
standardThe 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
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
Protected
useThe name of the variant being used
The hex string for the character code
The data from the character
The
Optional
data: anyThe node to the wrapped
The wrapped parent node
The newly wrapped node
The SvgXmlNode interface for the SVG XmlNode wrapper