ladybird/Tests
Sam Atkins 7daf5cdaff LibWeb: Invalidate layout if pseudo-element style changes
Pseudo-elements' style is only computed while building the layout tree.
This meant that previously, they would not have their style recomputed
in some cases. (Such as when :hover is applied to an ancestor.)

Now, when recomputing an element's style, we also return a full
invalidation if one or more pseudo-elements would exist either before or
after style recomputation.

This heuristic produces some false positives, but no false negatives.
Because pseudo-elements' style is computed during layout building, any
computation done here is then thrown away. So this approach minimises
the amount of wasted style computation. Plus it's simple, until we have
data on what approach would be faster.

This fixes the Acid2 nose becoming blue when the .nose div is hovered.
2024-07-30 09:45:45 +02:00
..
AK AK: Explicitly check for null data in Utf16View 2024-07-21 19:57:07 +02:00
ClangPlugins Tests: Update ClangPlugins tests for current clang version 2024-07-25 18:35:57 -06:00
LibAudio Everywhere: Don't install code generators and test binaries 2024-07-10 10:13:21 -06:00
LibCompress Everywhere: Don't install code generators and test binaries 2024-07-10 10:13:21 -06:00
LibCore Everywhere: Don't install code generators and test binaries 2024-07-10 10:13:21 -06:00
LibCrypto LibCrypto: Move some data around earlier in GHash to make it go faster 2024-05-20 08:03:35 +02:00
LibDiff LibDiff: Fix wrong index used when prepending context lines 2023-09-11 12:10:50 +01:00
LibGfx LibGfx+LibWeb: Remove typeface classes for WOFF fonts 2024-07-22 15:05:04 +02:00
LibJS Everywhere: Warn on function definitions without prototypes 2024-07-17 21:51:29 +02:00
LibMedia Tests: Do not install LibMedia test files 2024-07-25 13:25:09 -06:00
LibRegex LibRegex: Account for extra explicit And/Or in class parser assertion 2024-03-24 08:24:46 +01:00
LibTest Everywhere: Remove LibSQL, SQLServer, and the sql REPL :^) 2024-06-06 11:27:03 -04:00
LibTextCodec LibTextCodec: Use AK facilities to validate and convert UTF-16 to UTF-8 2024-07-18 19:43:57 +02:00
LibThreading Userland: Add ESCAPING annotations to a bunch of places 2024-05-22 21:55:34 -06:00
LibTLS Revert "LibTLS+Everywhere: Switch to using WolfSSL" 2024-07-06 15:15:34 -06:00
LibTTF LibGfx/OpenType: Ensure Cmap subtable offset is within expected range 2023-11-11 22:20:17 +01:00
LibUnicode LibUnicode: Prefix AK::Duration with AK Namespace 2024-07-18 09:43:38 +01:00
LibURL LibURL: Convert ASCII only URLs to lowercase during parsing 2024-06-10 20:34:57 -04:00
LibWasm Tests/LibWasm: Mark two static functions "static" 2024-07-15 18:39:24 +02:00
LibWeb LibWeb: Invalidate layout if pseudo-element style changes 2024-07-30 09:45:45 +02:00
LibWebView LibWebView: Allow data URLs in sanitize_url 2024-06-24 06:31:17 -04:00
LibXML LibXML: Actually append resolved references when parsing content 2023-07-23 16:09:12 +02:00
CMakeLists.txt LibTimeZone: Remove LibTimeZone and TZDB data 2024-06-26 10:14:02 +02:00