4 ms·
Oh, yeah. Been there, seen that. At some point, when Sciter (https://sciter.com https://sciter.com) was young it was named HTMLayout - pure HTML/CSS engine wit
by c-smile 6y ago
Oh, yeah. Been there, seen that.
At some point, when Sciter (https://sciter.com https://sciter.com) was young it was named HTMLayout - pure HTML/CSS engine without script. At some point I've decided to add a bit of scriptability/formulas directly into CSS so you might say (in CSS) for example this:
button#show {
click!: $(someotherelement):visited = true;
}
C++ developers (initial users) were excited of such level of configurability that allowed to add logic without writing "real" code. And I've started getting requests for conditionals like if-then-else, functions and other stuff like that.
So CSSS! (css script) was born: https://sciter.com/docs/core/csss!.htm https://sciter.com/docs/core/csss!.htm - it was even more powerful than Microsoft Power Fx - you can even define functions in it and operate with all data types of CSS.
The excitement ended when I've got a bug report with HTML/CSS document where one of focus!: ... handlers in that CSSS! spanned more than a page of printed and ugly text. So I've said to myself: it is time for scripting - anything, even JS, but with regular code flows and organization.