+
+ +
+

Float Tests 

+
+

Align Left 

+
Left aligned figure + alt="Left figure" />
-

Caption for left-aligned figure

+

Left aligned figure

-
-

Figure align right 

-
+
+

Align Right 

+
Right aligned figure + alt="Right figure" />
-

Caption for right-aligned figure

+

Right aligned figure

-
-

Figure align center 

+
+

Align Center 

Center aligned figure + alt="Center figure" />
-

Caption for center-aligned figure

+

Center aligned figure

-
-

Image align left 

- +

Legacy Figure Class 

+
+ Left aligned image + alt="Legacy float-left figure" /> + + +
+

Should rewrite to float-start

+
+
-
-

Image align right 

+
+

Legacy Figure Right 

+
+ Legacy float-right figure + + +
+

Should rewrite to float-end

+
+
+
+
+

Legacy Image Left 

Right aligned image + alt="Legacy float-left image" class="float-start"/>
-
-

Image align center 

+
+

Legacy Image Right 

Center aligned image + alt="Legacy float-right image" class="float-end"/>
-
-

Figure with float class 

-
+
+

Mixed Legacy With Extra Class 

+
Figure with float-left class + alt="Mixed class figure" />
-

Float class on figure

+

Should rewrite float-left but keep with-shadow

-
-

Figure with float-right class 

-
+
+

Align Plus Legacy Class 

+
Figure with float-right class + alt="Both align and legacy class" />
-

Float-right class on figure

+

Should use align, class gets rewritten to float-start

-
-

Figure with float class and extra classes 

-
+
+

Image Align Left 

+ Image align left +
+
+

Image Align Right 

+ Image align right +
+
+

Modern Float Start (No Warning) 

+
Figure with float and shadow + alt="Modern float-start figure" />
-

Float class combined with other classes

+

Already uses modern class, no rewriting needed

-
-

Image with float class 

+
+

Modern Float End Image (No Warning) 

Image with float-right class + alt="Modern float-end image" class="float-end"/>
-
-

Figure with align and extra class 

-
- +

Substitution Image Left 

+ +

Use the Figure with align and border + alt="Substitution logo" class="float-start"/> inline text here.

- -
-

Align option combined with extra class

-
-
+
+