3 ms·
That was long before they switched to canvas rendering, too: they were still just using contenteditable, though potentially with mild layout augmentation with t
by chrismorgan 3y ago
That was long before they switched to canvas rendering, too: they were still just using contenteditable, though potentially with mild layout augmentation with things like absolute positioning and sizing of things (I don’t know).
Flowing text around an image: the web has been able to do this for donkey’s years, it’s the float property. More recently, there’s the CSS shape-outside property that even lets you use non-rectangular crop: https://developer.mozilla.org/docs/Web/CSS/shape-outside https://developer.mozilla.org/docs/Web/CSS/shape-outside.
- dekhn 3y agoIIRC float is just left or right, you can't embed an image "in the middle" of text. I'm no web expert and the conversation was a decade ago, so I'm sure something got warped in translation.
- chrismorgan 3y agoAh, in the middle. Yeah, you still can’t do that. There was https://www.w3.org/TR/css3-exclusions/ https://www.w3.org/TR/css3-exclusions/ which let you do it, but it was only ever implemented in IE 10–Edge 18 (prefixed), and seems dead now.