silexlabs / Cocktail

An HTML/CSS rendering engine for the Haxe language
http://www.silexlabs.org/haxe/cocktail/
Other
192 stars 34 forks source link

relative URL in css, has wrong root path #376

Closed lexoyo closed 11 years ago

lexoyo commented 11 years ago

When I have a css style like background-image: url("./image.png");

And my css file is in [root_folder]/css/

In javascript it loads [root_folder]/css/image.png

In flash it loads [root_folder]/image.png

yanhick commented 11 years ago

It's been implemented for v 1, what version do you use ? Le 21 juin 2013 15:59, "Alex Hoyau" notifications@github.com a écrit :

When I have a css style like background-image: url("./image.png");

And my css file is in [root_folder]/css/

In javascript it loads [root_folder]/css/image.png

In flash it loads [root_folder]/image.png

— Reply to this email directly or view it on GitHubhttps://github.com/silexlabs/Cocktail/issues/376 .

lexoyo commented 11 years ago

It is an outdated version, I'll update Thank you

profound7 commented 10 years ago

I'm using the git master version. Apparently I'm having the same issue.