tangled
alpha
login
or
join now
ansxor.ca
/
markup2
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
1
pulls
pipelines
image loading
12Me21
3 years ago
2b8230be
80fc2551
+2
1 changed file
expand all
collapse all
unified
split
render.js
+2
render.js
···
111
111
// https://html.spec.whatwg.org/multipage/images.html#img-available
112
112
if (e.naturalHeight)
113
113
this.set_size(e, 'size')
114
114
+
else if (e.complete)
115
115
+
e.dataset.state = 'loaded'
114
116
return e
115
117
}.bind({
116
118
elem: 𐀶`<img data-state=loading data-shrink tabindex=0>`,