Commit Graph
20 Commits
Author SHA1 Message Date
Nico Burns 287227bf48 Fix clippy lints 2023-05-17 13:13:57 +01:00
Nico Burns 67d99b3a16 Add support for parsing grid value of Display property 2023-05-16 20:24:44 +01:00
Nico Burns 8010d9b4e3 Fix unused import 2023-05-16 19:15:29 +01:00
Nico Burns c1f7600085 native-core: add support for CSS Grid properties 2023-05-16 19:10:11 +01:00
Nico Burns 2b0a86701e Upgrade Taffy to v0.3.12] 2023-05-16 10:46:13 +01:00
Evan Almloff daac9f540f document every item in native-core 2023-03-13 17:49:37 -05:00
Evan Almloff 20751327f3 apply medium width when the border style is not none to comply with browser behavior 2023-01-20 17:36:41 -06:00
Evan Almloff 93a95b82a4 bump lightningcss version 2023-01-04 11:18:32 -06:00
Evan Almloff 2da1d8ab27 clean up implementation 2022-12-29 21:34:17 -06:00
Evan Almloff f6fb6e1d1b add aspect ratio parsing 2022-12-29 14:14:29 -06:00
Evan Almloff 579d6ce1f9 use lightning css to parse layout attributes for taffy 2022-12-29 13:31:33 -06:00
Demonthos 67a6fa9eb8 Implement new mutations with native core (#630)
* work on seperating tree struture from realdom

* intial update to new mutations

* handle height

* update to taffy 0.2

* add as_varient functions to OwnedAttributeValue

* make get node parent mut optionally return a parent

* work on upward pass

* add more code for parrellel passes

* make resolve passes public

* more work on parallel passes

* fix deadlock and add more tests

* move height into the tree instead of the realdom

* make passes exicute in parallel instead of executing invidual passes in parellel

* fix some warnings

* add up dependant test

* clean up examples

* work on intigrating state with passes

* update to new mutations

* work on implementing macro

* make the macro compile

* more progress on macro

* mark cloned nodes as dirty

* update persistant_iterator utility

* fix mask generation

* update tui with new mutations

* more progress updating tui

* some basic tui examples working

* don't push template nodes onto the stack

* update hover example

* update benchmark

* update more examples

* fix root node layout

* ignore out of bounds renders

* update color picker example

* update all events example

* update remaining examples

* update tests

* tests passing

* move persistant iterator test

* update examples

* fix gaps in layout

* fix formatting

* fix memory leak
2022-12-06 15:38:04 -08:00
Jonathan Kelley 62b9a0593f chore: use taffy dimension directly 2022-07-15 22:17:00 -04:00
Evan Almloff 44686e217f remove empty match 2022-06-10 17:33:19 -05:00
Evan Almloff dcfe60c164 use taffy instead of stretch2 2022-06-10 17:23:30 -05:00
Evan Almloff 0fb9aed273 add children on initial build and add sorted slice macro 2022-04-13 12:49:53 -05:00
Evan Almloff 3b06059834 fix rendering 2022-04-13 11:39:38 -05:00
Evan Almloff 32b2e3a135 bugfixes, docs, and pass clippy 2022-04-02 16:46:46 -05:00
Evan Almloff 5b25500c0b finishing touches and benchmarks 2022-03-30 20:45:41 -05:00
Evan Almloff 26d92b6e51 rebase master 2022-03-26 20:27:10 -05:00