-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a screenshot of a basic website #23
Comments
Having a few real world example demos built up to show what you can build with Blitz and screenshots of them in the readme would be a great addition! It could also be interested to have a "goal app" implemented in Dioxus web or desktop (hacker news?) for Blitz to work towards |
Unfortunately Blitz currently (or soon) implements what are considered "advanced" layout modes from the perspective of the web (Flexbox and CSS Grid) but not the "basic" ones (block/inline and table layout). And I'm also not sure what state Blitz' text rendering is in. So it might be difficult to find websites that it can render well. I looked at Hacker News as Taffy demo. But unfortunately it uses table layout, which might make it tricky. The tables spec is... not small https://www.w3.org/TR/css-tables-3/. It would definitely be possible to recreate though. And perhaps that might be a worthwhile excercise? |
I would suggest the following as the minimum viable feature set for rendering a website:
Then as part of the demo itself we'd ideally want:
Extension tasks:
Normalize.css (https://necolas.github.io/normalize.css/8.0.1/normalize.css) would also be a sensible target to track. |
Sciter's CSS support might also be a useful point of comparison:
|
I've started working on Block layout in Taffy here: DioxusLabs/taffy#474. |
https://alistapart.com/ could be a possible target to aim for. It would require the ability to resolve CSS selectors / stylesheets and will exercise quite a few layout/styling paths, but it works well without JS. |
https://alistapart.com/ definitely has some issues, but it is also very much recognisable... |
It would be nice to see the progress of blitz by showing it render a basic website (perhaps one of the websites on nocss.club?)
The text was updated successfully, but these errors were encountered: