Type safety first !
yes-browser's Introduction
yes-browser's People
Forkers
tristancacquerayyes-browser's Issues
Add position and floats
How to replace `postRedisplay` ?
In the Display.hs
, I use postRedisplay to refresh after scrolling. But it calls the DisplayCallback each time.
I think it's inefficient and that there is a way to "move the camera" (or rather change the matrix without redisplaying.
What could be a way ?
Elementwise margin padding width height min-width min-height
What are the edge cases ? How are they specified ?
Add CSS units
Add flex and grid
Add attributes
Add attributes and specifically deal with id
, class
and style
.
Last semi-colon of CSS rule can be absent
Add all CSS properties
Don't go too fast until basic JS is implemented !
How to replace global variables with a better pattern ?
There are 2 global variables in the project, one for scroll and one for current style. How to improve it ?
Make the page responsive
How to make the page update its width with the window ? And avoid doing too much recalculation ?
Let's make it fast !
Improve FTGL and FTGL-Haskell
How to implement forgiveness ?
The HTML and CSS parser of browsers tolerate error in the code to a certain extent. What is that extent and implement it ?
Add relative units
Improve parsing
What are the modern methods of parsing ?
The current method wastes a lot of parsing in that there are elements that are parsed for a specific pattern but then it fails but what has already been done can be used by another pattern.
Also add error messages
Implement dependent parsing
Constraint : do it from scratch !
Add all selectors
What algorithm to properly perform the selections demanded ?
How to implement Javascript ?
How to implement basic JS ? With an event loop and async programming ?
No need to implement all the features for now.
Push to this branch
Create a default CSS
Encompassing all the possible tags and so forth.
Add all HTML tags
Don't add to much too fast. JS have to be implemented first.
Implement priority of selectors
Have less namespacing
How to have less namespacing ? There is too much points !
Add the ability to specify own font
I only use Roboto
and I have installed it in this repo.
How to use other fonts ? How to set default fonts ? How to use fonts that are installed in the machine of the user ?
Also about how to implement CSS properties of sans-serif
, monospace
and so on ?
Create a map (CSS property -> value types) and build parsers from that
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.