fix(view): forwarded Host metadata overrides Component root metadata

This commit is contained in:
Kinneyzhang 2026-09-05 01:48:57 +08:00
parent b82f09aa79
commit a206cfd725

View File

@ -263,8 +263,8 @@ disposing the old Runtime.")
(defun etaf--merge-host-attrs (props attrs &optional tag component-name) (defun etaf--merge-host-attrs (props attrs &optional tag component-name)
"Merge caller ATTRS into root Host PROPS for TAG. "Merge caller ATTRS into root Host PROPS for TAG.
Visual Ebox attributes override Component defaults. Class tokens merge. Visual Ebox attributes override Component defaults. Class tokens merge.
Conflicting Runtime metadata is rejected so fallthrough cannot silently alter Forwarded Runtime metadata overrides same-key Component root metadata so Host
Component semantics. COMPONENT-NAME labels diagnostics." attrs can reach the retained root. COMPONENT-NAME labels diagnostics."
(let ((result (copy-sequence props)) (let ((result (copy-sequence props))
(tail attrs)) (tail attrs))
(while tail (while tail