[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

use of slices restricted with <img>-tag

while working on my sources and implementing all those
hints i got recently i run into some new problem. since i
know that i do not know all different things about wml i
let you make the decision if i'm right and besides calling
htmlfix on each html-file again what to do about it:

supposed the files image.gif and image_f.gif are there 
test.wml is:
#!wml -o (ALL-LANG_*)uLANG_DE:%BASE.html \
    -o (ALL-LANG_*)uLANG_FR:%BASE_f.html

#use wml::std::lang
<lang:new id=de short>
<lang:new id=fr short>

<img src="$(ROOTIMG)/t_akt<de: ><fr: _f>_lo.gif">

compile it:
$ wml -E "weblint -s" test.wml
line 2: setting WIDTH and HEIGHT attributes on IMG tag can
improve rendering performance on some browsers.

<img src="image.gif">

<img src="image_f.gif">

so how is that?

Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com