DescriptionDon't set expression attributes before they're bound.
We were cloning elements with all the attributes that contained
expressions like attrName="{{ foo }}" which meant we'd go through the
reflection process converting that value and also call the
attrNameChanged() callback and the attributeChanged() with the braced
string which the element didn't really want to know about.
After this patch we create a "clone source node" which is a copy of the
original element without the attributes that have the expressions and
use that when cloning, then we assign the properties using data binding
later.
R=abarth@chromium.org, ojan@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/1a1e9bee08f42b600cb42a7e07c84618a837f977
Patch Set 1 #
Messages
Total messages: 5 (1 generated)
|