buildSpecElement({ spec, outputType = "dom", validate = false })
│
├─► Chapter 1: Inspection & Standards (chapter1_inspection/)
│ ├─► standards/ ──► W3C tags & allowed attributes reference data
│ └─► validate/ ──► Pre-flight HTML grammar & void tag inspector
│
├─► Chapter 2: Construction Line (chapter2_construction/)
│ ├─► normalizeInput.js ──► Options & flag normalization
│ ├─► dispatchSpec.js ──► Routes single element vs spec array
│ └─► elementBuilder/ ──► ⭐ 100% Preserved Assembly Steps (0 to 5):
│ 0. createElement.js ──► Native document.createElement
│ 1. applyTextContent.js ──► textContent & innerHTML injection
│ 2. applyProperties.js ──► Native DOM properties
│ 3. applyAttributes.js ──► HTML attributes & datasets
│ 4. applyClassList.js ──► CSS class tokens
│ 5. appendChildren.js ──► Recursive child node attachment
│
└─► Chapter 3: Activation & Interactivity (chapter3_activation/)
├─► listeners/ ──► Versioned event delegation suites (v1 & v2)
├─► bindActions.js ──► Action binder for forms & interactive cards
├─► formOperations.js ──► extractFormValues & resetForm helpers
└─► mountToContainer.js ──► Direct container mounting by HTML ID (specToDom)