Coder Social home page Coder Social logo

gezginwebengine's Introduction

GezginWebEngine

Web browser engine from scratch with c

gezginwebengine's People

Contributors

mrsametburgazoglu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

nasingfaund idezu

gezginwebengine's Issues

Inherit structs

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.

Rewrite old properties

rewrite accent-color, align, animation, backdrop-filter, backface-visbility properties by new standards

Inherited variables

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

Free Color

when a color variable changed free old color struct

Custom Split Function

Implement a custom split function set given char** and get maximum count, char** the list, char* value and return count.

Add more explanation

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).

Initial properties

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.

Free Css Tree

When web engine closing free everything in css tree.

Update Css 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

Font Family

When set font family by using font property there is a bug. "FONT FAMILY " has " " (space) character and this broke split algorithm.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.