ladybird/Userland
Andreas Kling e399b472e9 LibWeb: Make CSS::StyleProperties copy-on-write internally
This makes the way we've implemented the CSS `revert` keyword a lot less
expensive.

Until now, we were making a deep copy of all property values at the
start of each cascade origin. (Those are the values that `revert` would
bring us back to if encountered.)

With this patch, the revert property set becomes a shallow copy, and we
only clone the property set if the cascade ends up writing something.

This knocks a 5% profile item down to 1.3% on https://tailwindcss.com
2024-09-10 13:51:28 +02:00
..
Libraries LibWeb: Make CSS::StyleProperties copy-on-write internally 2024-09-10 13:51:28 +02:00
Services WebDriver: Add boilerplate for endpoint 15.7 Perform Actions 2024-09-09 14:11:23 +01:00
Utilities LibWebView+UI: Move the database and cookie jar to WebView::Application 2024-09-05 19:45:47 -04:00