[dokuwiki] Re: Data-URI support, worth having?

  • From: Michael Haschke <michael.haschke@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 17 Jun 2011 09:07:41 +0200

Hi Andi,

> I just pushed a patch to a feature branch:
> https://github.com/splitbrain/dokuwiki/commit/809d3ba53bea8b34155c

+1

Maybe turn off cssdatauri in default configuration, and some
additional config options could improve the behaviour, like max size
for images what will transformed to datauris, and maybe a user regex
to check for additional name patterns. just two quick ideas.

>  * does not work for IE < 8

options:
* add auto creation of patch css, included via conditional comments
* add <IE8 hacks after the datauri definitions

I guess that both option are heavy stuff b/c the the dokuwiki css
parser do not really understand css, cannot distinguishing between the
css rules. can it? so last option:

* document explicitly that feature and note that <IE8 need an extra patch :)

cheers,
Haschek

-- 
Portfolio: http://eye48.com/
FOAF/WebID: http://michael.haschke.biz/
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: