Closed adabru closed 5 years ago
Problem indeed.
Thanks for the sample, Adam.
Just in case use of floats for layout purposes in modern CSS is "considered harmful".
In Sciter use
body { flow:horizontal; }
if you want blocks inside body to be replaced in horizontal row.
Yet *::after { box-sizing: border-box; }
(all elements are getting additional not-so-pseudo-element) is murky at best. Anyway box-sizing
is not supported by Sciter - no need for that.
The mentioned downloaded css-template wasn't fun to work with in other areas either (unrelated to sciter) and I rewrote the template. As you mention working with floats is considered bad practice, I wouldn't mind you closing this issue as won't fix.
Hi, I get a 100% CPU hang when I use some specific html-file.
System: linux gtk x64 (ArcoLinuxD rolling release).
Create file
ui/main.htm
with following content:Create file
main.cpp
with content copied from https://sciter.com/hello-cpp-tutorial/Issue visible in usciter:
Open
ui/main.htm
in usciter, hover mouse over the text a little bit, program gets stuck on 100% CPU usage and no responsiveness.Alternatively, issue visible in compiled program:
Hover mouse over the text a little bit, program gets stuck on 100% CPU usage.
The html file is a MWE extracted from a css-design-template I downloaded.