Files
owl/src/runtime/blockdom
Géry Debongnie c4f0f17b9b [FIX] blockdom: prevent side effects at block compilation
When creating the template node for a block, we create htmlelements and
set their (static) attributes.  But this can have side effects. For
example, setting the src attribute for an img element will trigger a
request to fetch the image.

We avoid that issue by simply setting the html element template node
inside a <template/> element.

Note that I don't really see how to test this fix in jest: we don't have
a real browser, and no real way to check for this side effect.

closes #1257
2022-09-21 13:59:13 +02:00
..
2022-05-31 14:00:01 +02:00
2022-05-31 14:00:01 +02:00
2022-05-31 14:00:01 +02:00
2022-05-31 14:00:01 +02:00
2022-05-31 14:00:01 +02:00
2022-05-31 14:00:01 +02:00
2022-05-31 14:00:01 +02:00