(group, options, baseOptions)
| 6497 | */ |
| 6498 | |
| 6499 | var buildHTML_buildGroup = function buildGroup(group, options, baseOptions) { |
| 6500 | if (!group) { |
| 6501 | return buildHTML_makeSpan(); |
| 6502 | } |
| 6503 | |
| 6504 | if (_htmlGroupBuilders[group.type]) { |
| 6505 | // Call the groupBuilders function |
| 6506 | var groupNode = _htmlGroupBuilders[group.type](group, options); // If the size changed between the parent and the current group, account |
| 6507 | // for that size difference. |
| 6508 | |
| 6509 | if (baseOptions && options.size !== baseOptions.size) { |
| 6510 | groupNode = buildHTML_makeSpan(options.sizingClasses(baseOptions), [groupNode], options); |
| 6511 | var multiplier = options.sizeMultiplier / baseOptions.sizeMultiplier; |
| 6512 | groupNode.height *= multiplier; |
| 6513 | groupNode.depth *= multiplier; |
| 6514 | } |
| 6515 | |
| 6516 | return groupNode; |
| 6517 | } else { |
| 6518 | throw new src_ParseError("Got group of unknown type: '" + group.type + "'"); |
| 6519 | } |
| 6520 | }; |
| 6521 | /** |
| 6522 | * Combine an array of HTML DOM nodes (e.g., the output of `buildExpression`) |
| 6523 | * into an unbreakable HTML node of class .base, with proper struts to |
no test coverage detected