+1
We need to be carefull with headings.. This might break many skins
Ludovic
Sergiu Dumitriu a écrit :
Hi all,
I'd like to change the generated HTML markup in order to eliminate redundancy.
Currently, we're using too many class attributes for the generated
markup from the wiki syntax, and we're doing this in a bad manner. For
example:
- p class="paragraph"
- h2 class="heading-1"
- strong class="strong"
- del class="strike"
The class attribute should only be used with semantics in mind, and
saying that all p-s are paragraphs, and all strong-s are strong, this
adds no semantics whatsoever, but does increase the size of the
transfered files (and the page loading time), the rendering time, the
cache size and the size and complexity of the CSS files.
We might have to rewrite some CSS rules, as a downside, but I think it
is for the good. And it will also break some badly designed skins.
Sergiu
--
Ludovic Dubost
Blog:
http://www.ludovic.org/blog/
XWiki:
http://www.xwiki.com
Skype: ldubost GTalk: ldubost
AIM: nvludo Yahoo: ludovic