From fbe2c25f8a74459ac1ea3c9695a7244e7571f31a Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sat, 20 Jan 2007 03:48:39 +0000 Subject: [PATCH] Update progress doc with more info. Fix some comments. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@665 48356398-32a2-884e-a903-53898d9a118a --- docs/dev-progress.html | 8 ++++---- tests/HTMLPurifier/Strategy/ValidateAttributesTest.php | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/dev-progress.html b/docs/dev-progress.html index 87ac704a..be35a9b6 100644 --- a/docs/dev-progress.html +++ b/docs/dev-progress.html @@ -266,13 +266,13 @@ Mozilla on inside and needs -moz-outline, no IE support. alignCAPTIONNear-equiv style 'caption-side', drop left and right IMGMargin-left and margin-right = auto or parent div TABLE - HREquivalent style 'text-align' (IE tested) + 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) H1, H2, H3, H4, H5, H6, PEquivalent style 'text-align' altIMGRequired, insert image filename if src is present or default invalid image text -bgcolorTABLEEquivalent style 'background-color' (IE tested) - TREquivalent style 'background-color' (IE tested) +bgcolorTABLEEquivalent style 'background-color' + TREquivalent style 'background-color' TD, THEquivalent style 'background-color' -borderIMGEquivalent style 'border-width', only applies when link present +borderIMGNear equivalent style 'border-width', as it only applies when link present clearBRNear-equiv style 'clear', transform 'all' into 'both' compactDL, OL, ULBoolean, needs custom CSS class; rarely used anyway dirBDORequired, insert ltr (or configuration value) if none diff --git a/tests/HTMLPurifier/Strategy/ValidateAttributesTest.php b/tests/HTMLPurifier/Strategy/ValidateAttributesTest.php index 902d0edb..750d972c 100644 --- a/tests/HTMLPurifier/Strategy/ValidateAttributesTest.php +++ b/tests/HTMLPurifier/Strategy/ValidateAttributesTest.php @@ -154,7 +154,7 @@ class HTMLPurifier_Strategy_ValidateAttributesTest extends 'Invalid value!' ); - // comparison check for test 20 + // see above, behavior is subtly different $this->assertResult( 'Invalid value!', 'Invalid value!' @@ -176,4 +176,4 @@ class HTMLPurifier_Strategy_ValidateAttributesTest extends } -?> \ No newline at end of file +?> -- 2.11.4.GIT