c-smile / sciter-sdk

Sciter is an embeddable HTML/CSS/scripting engine
http://sciter.com
Other
2.11k stars 224 forks source link

css float crashing sciter #12

Closed UnnoTed closed 8 years ago

UnnoTed commented 8 years ago

when i add the float (at the file: gui/styles/header/navbar.css line: 19 or 23) and click the "hud" button, it makes sciter crash.

it is a really simple code:

https://dl.dropboxusercontent.com/u/15029339/sciter_float_bug.zip

c-smile commented 8 years ago

I do not see any crash with latest version (3.3.1.2). Any details? OS, version, etc.

UnnoTed commented 8 years ago

win10 x64 + sciter32 3.3.1.2 it's being caused by load()

i tried to make a small "mvc without model" by using load() to insert the html into an element, but element selectors in tiscript would give error saying the element wasn't found (on each controller) then i used load() to read the controller from a file when the view was called, it worked fine until i added the float property on the css file.

i'll find another way to do so.