Web browser engine from scratch with c
mrsametburgazoglu / gezginwebengine Goto Github PK
View Code? Open in Web Editor NEWWeb browser engine from scratch with c
License: GNU General Public License v3.0
Web browser engine from scratch with c
License: GNU General Public License v3.0
Inherit values don't need to malloc their struct. If a struct variable like background or animation is completely inherited that means they don't need struct their values come from their parent.
To do that when checking value of property if its not inherited then malloc their struct.
Implement css grid and its sub properties.
Implement css padding and its sub properties.
rewrite accent-color, align, animation, backdrop-filter, backface-visbility properties by new standards
When a variable is set as inherited and then same variable changed something else inherited bool value must be false.
If not, drawer may think this variable is inherited.
To fix that add inherited->false line to all css properties set property functions
Implement css position and its sub properties.
Implemet css color functions: hsl and hex
Implement css overflow and its sub properties.
Implement css border and its sub properties.
Implement css columns and its sub properties.
index_founder.c functions must be used when setting html tag variables
when a color variable changed free old color struct
Implement css mask and its sub properties.
Implement css font and its sub properties.
Implement a custom split function set given char** and get maximum count, char** the list, char* value and return count.
Implement css flex and its sub properties.
Will you add some more explanations, please? I had been trying to look which new web browser engines written in C (and not based on Mozilla or Chromium or any of the other ones) will be good, and I have some ideas how to make a better one (including: allow end user to override everything, assume that you know what you are doing better than the document author does, make possibility of extensions written in C and loaded as dynamic or static libraries, and I have some other ideas too).
When a property set as initial probably we shouldn't create its struct because when we drawing we use elements initial structs for drawing and we set this structs variables from current elements structs. if current elements property is initial (drawing struct always initial) functions is become useless.
Implement widht, height, left, right, top, bottom properties
Add predefined html colors names and their values.
Implement css opacity property.
Implement css margin and its sub properties.
When web engine closing free everything in css tree.
Implement css background and its sub properties.
When a class assign to an element we must update its css properties by class css properties
For this every property must have update function
Implement css resize property.
Implement css outline and its sub properties.
Implement css visibility property.
Implement css text and its sub properties.
Implement width and height and their sub properties
When set font family by using font property there is a bug. "FONT FAMILY " has " " (space) character and this broke split algorithm.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.