diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-23 12:37:47 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-23 12:38:00 +0200 |
commit | fa7ee92a7824cfd185b9da50dff9581230ca64d1 (patch) | |
tree | baecfb244ba3a3c2ea09b3dc2c62b80b2af770c2 /3rdparty/htmlpurifier/docs/proposal-css-extraction.txt | |
parent | f7098f402e323ac676cd74f0acc902dc2e2bcfab (diff) |
update htmlpurifier
Diffstat (limited to '3rdparty/htmlpurifier/docs/proposal-css-extraction.txt')
-rw-r--r-- | 3rdparty/htmlpurifier/docs/proposal-css-extraction.txt | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/3rdparty/htmlpurifier/docs/proposal-css-extraction.txt b/3rdparty/htmlpurifier/docs/proposal-css-extraction.txt deleted file mode 100644 index 0cda7db86..000000000 --- a/3rdparty/htmlpurifier/docs/proposal-css-extraction.txt +++ /dev/null @@ -1,34 +0,0 @@ -
-Extracting inline CSS from HTML Purifier
- voodoofied: Assigning semantics to elements
-
-Sander Tekelenburg brought to my attention the poor programming style of
-inline CSS in HTML documents. In an ideal world, we wouldn't be using inline
-CSS at all: everything would be assigned using semantic class attributes
-from an external stylesheet.
-
-With ExtractStyleBlocks and CSSTidy, this is now possible (when allowed, users
-can specify a style element which gets extracted from the user-submitted HTML, which
-the application can place in the head of the HTML document). But there still
-is the issue of inline CSS that refuses to go away.
-
-The basic idea behind this feature is assign every element a unique identifier,
-and then move all of the CSS data to a style-sheet. This HTML:
-
-<div style="text-align:center">Big <span style="color:red;">things</span>!</div>
-
-into
-
-<div id="hp-12345">Big <span id="hp-12346">things</span>!</div>
-
-and a stylesheet that is:
-
-#hp-12345 {text-align:center;}
-#hp-12346 {color:red;}
-
-Beyond that, HTML Purifier can magically merge common CSS values together,
-and a whole manner of other heuristic things. HTML Purifier should also
-make it easy for an admin to re-style the HTML semantically. Speed is not
-an issue. Also, better WYSIWYG editors are needed.
-
- vim: et sw=4 sts=4
|