H. G. Muller wrote on Sun, Oct 8, 2017 10:16 AM UTC:
I noticed that in some of my articles where text used to wrap around a diagram, this suddenly doesn't happen anymore. Some investigation revealed that this is due to the "float:left" style of the image being rendered ineffective by wrapping all of the article text in <SECTION> tags, which have a defined style "clear: both", forbidding invasion by floating elements. Before, only the section headers were wrapped in <SECTION> tags (so that new sections would not start beside a floating element), but the text itself could accept floating images.
Is this a new layout policy that is going to last? Currently the design wizard for interactive diagrams produces HTML for an image that would float left, but if floating is not possible, it makes little sense to do that. (And floating causes problems on the comments page anyway, because the individual comments are not wrapped in elementst that would restrict the range of floating to within them, so that a large image in a small comment would protrude into the comment under it. So if it is not functional elsewhere, I'd better remove it.)
It also affects the place where I would put the image in the source; if the text wraps it is usually best to define it at the beginning of the section, so that the paragraph actually referring to it gets displayed next to it, or just below it. If it would display without wrapping, it would be better to move the definition to just above the paragraph in the section that refers to it.
I noticed that in some of my articles where text used to wrap around a diagram, this suddenly doesn't happen anymore. Some investigation revealed that this is due to the "float:left" style of the image being rendered ineffective by wrapping all of the article text in <SECTION> tags, which have a defined style "clear: both", forbidding invasion by floating elements. Before, only the section headers were wrapped in <SECTION> tags (so that new sections would not start beside a floating element), but the text itself could accept floating images.
Is this a new layout policy that is going to last? Currently the design wizard for interactive diagrams produces HTML for an image that would float left, but if floating is not possible, it makes little sense to do that. (And floating causes problems on the comments page anyway, because the individual comments are not wrapped in elementst that would restrict the range of floating to within them, so that a large image in a small comment would protrude into the comment under it. So if it is not functional elsewhere, I'd better remove it.)
It also affects the place where I would put the image in the source; if the text wraps it is usually best to define it at the beginning of the section, so that the paragraph actually referring to it gets displayed next to it, or just below it. If it would display without wrapping, it would be better to move the definition to just above the paragraph in the section that refers to it.