diff --git a/docs/dev-progress.html b/docs/dev-progress.html index 0cb7da65..3d966dce 100644 --- a/docs/dev-progress.html +++ b/docs/dev-progress.html @@ -264,9 +264,9 @@ Mozilla on inside and needs -moz-outline, no IE support. Transform, target milestone 1.6.1/1.7 alignCAPTIONNear-equiv style 'caption-side', drop left and right - IMGMargin-left and margin-right = auto or parent div + IMGSee specimens/html-align-to-css.html TABLE - HRNear-equivalent style 'text-align' (Works for IE and Opera, but not Firefox). Also try margin-right:auto; margin-left:0; for left or margin-right:0; margin-left:auto; for right (optionally replacing 0 with the original margin for that side) + HR H1, H2, H3, H4, H5, H6, PEquivalent style 'text-align' altIMGRequired, insert image filename if src is present or default invalid image text bgcolorTABLESuperset style 'background-color' diff --git a/docs/specimens/LICENSE b/docs/specimens/LICENSE new file mode 100644 index 00000000..8b94b0d4 --- /dev/null +++ b/docs/specimens/LICENSE @@ -0,0 +1,8 @@ +Licensing of Specimens + +Some files in this directory have different licenses: + +windows-live-mail-desktop-beta.html - donated by laacz, public domain +img.png - LGPL, from + +All other files are by me, and are licensed under LGPL. \ No newline at end of file diff --git a/docs/specimens/html-align-to-css.html b/docs/specimens/html-align-to-css.html new file mode 100644 index 00000000..a301bc58 --- /dev/null +++ b/docs/specimens/html-align-to-css.html @@ -0,0 +1,165 @@ + + + +HTML align attribute to CSS - HTML Purifier Specimen + + + + +

HTML align attribute to CSS

+ +

Inspect source for methodology.

+ +
+
+ HTML +
+
+ CSS +
+
+ +
+ +

table.align

+ +

left

+
+
+ a
O
a +
+
+ a
O
a +
+
+ +

center

+
+
+ a
O
a +
+
+ a
O
a +
+
+ +

right

+
+
+ a
O
a +
+
+ a
O
a +
+
+ +
+ + + +
+

img.align

+

left

+
+
+ aa +
+
+ aa +
+
+ +

right

+
+
+ aa +
+
+ aa +
+
+ +

bottom

+
+
+ aa +
+
+ aa +
+
+ +

middle

+
+
+ aa +
+
+ aa +
+
+ +

top

+
+
+ aa +
+
+ aa +
+
+ +
+ + + +
+ +

hr.align

+ +

left

+
+
+
+
+
+
+
+
+ +

center

+
+
+
+
+
+
+
+
+ +

right

+
+
+
+
+
+
+
+
+ +
+ + + \ No newline at end of file diff --git a/docs/specimens/img.png b/docs/specimens/img.png new file mode 100644 index 00000000..a755bcb5 Binary files /dev/null and b/docs/specimens/img.png differ