From 670d298a8752b0ee39805464ad0860b91dd0b38e Mon Sep 17 00:00:00 2001
From: "Edward Z. Yang"
Date: Tue, 29 Aug 2006 02:01:58 +0000
Subject: [PATCH] Implement list-style shorthand. Also, updated devnetwork.html
with more recent threads.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@337 48356398-32a2-884e-a903-53898d9a118a
---
NEWS | 3 +-
TODO | 1 -
docs/devnetwork.html | 4 +-
docs/progress.html | 168 +++++++++++++--------------
library/HTMLPurifier/AttrDef/ListStyle.php | 78 +++++++++++++
library/HTMLPurifier/CSSDefinition.php | 5 +
tests/HTMLPurifier/AttrDef/CSSTest.php | 1 +
tests/HTMLPurifier/AttrDef/ListStyleTest.php | 26 +++++
tests/index.php | 1 +
9 files changed, 199 insertions(+), 88 deletions(-)
create mode 100644 library/HTMLPurifier/AttrDef/ListStyle.php
create mode 100644 tests/HTMLPurifier/AttrDef/ListStyleTest.php
diff --git a/NEWS b/NEWS
index 3215198a..c889eae2 100644
--- a/NEWS
+++ b/NEWS
@@ -5,8 +5,7 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier
- Fixed broken numeric entity conversion
- Malformed UTF-8 and non-SGML character detection and cleaning implemented
- API documentation completed
-- Shorthand CSS properties implemented: font, border
-- A limited version of CSS background implemented, only color is supported
+- Shorthand CSS properties implemented: font, border, background, list-style
- Basic color keywords translated into hexadecimal values
- Table CSS properties implemented
diff --git a/TODO b/TODO
index 370d089a..9ea3f1ff 100644
--- a/TODO
+++ b/TODO
@@ -6,7 +6,6 @@ Ongoing
- Plugins for major CMSes (very tricky issue)
1.0 release
- - Limited list-style shorthand CSS support
- Lossy alternate character encoding support (characters not in the encoding
will get silently dropped).
- Revise (HTML|CSS)Definition and Config relationship (groundwork for 2.0)
diff --git a/docs/devnetwork.html b/docs/devnetwork.html
index c809f9ce..a2e01538 100644
--- a/docs/devnetwork.html
+++ b/docs/devnetwork.html
@@ -23,7 +23,9 @@ the development of this library in these forum threads:
HTMLPurifier - Take your best shot
Need help optimizing a block of code
Non-SGML characters
+ Wordpress makes me cry
+ Parameter Object vs. Parameter Array vs. Parameter Functions
+ Convert encoding where output cannot represent characters
-