The changes that make the item's element match the item, worked out from what was last written to the element rather
than from the element itself: no style or attribute is read back from the DOM, and a value the browser stores in
another form ('#333' as 'rgb(51, 51, 51)', border as longhands) is not mistaken for a change. Undefined when there is
no snapshot to compare with (the element was never written by treeloom, or was captured from existing HTML), so the
caller compares against the element instead.
The name to set a plain attribute by: the element's own property name when it has one
(innerHTML), otherwise the attribute's name (aria-label). Same rule as the element comparison.
The changes that make the item's element match the item, worked out from what was last written to the element rather than from the element itself: no style or attribute is read back from the DOM, and a value the browser stores in another form ('#333' as 'rgb(51, 51, 51)',
borderas longhands) is not mistaken for a change. Undefined when there is no snapshot to compare with (the element was never written by treeloom, or was captured from existing HTML), so the caller compares against the element instead.