Linus Groh
5e7945e26f
LibWeb: Add a simple StyleInvalidator class
...
This patch adds a simple, naive & inefficient class for document-wide
style invalidation, e.g. after element attribute updates. During
construction it collects a HashMap of a document's elements and their
matching rules, during destruction it does the same and then compares
the results; dirtying all elements that have a different number or order
of matching rules afterwards.
Much room for improvement, but it solves the problem of stale element
styling after attribute updates for now :^)
Fixes #4404 .
2020-12-14 23:38:08 +01:00
..
2020-07-26 20:05:15 +02:00
2020-08-03 20:50:45 +02:00
2020-12-10 11:02:46 +01:00
2020-11-22 15:56:27 +01:00
2020-08-17 22:57:05 +02:00
2020-12-10 11:02:46 +01:00
2020-12-14 13:47:07 +01:00
2020-12-14 10:39:57 +01:00
2020-12-10 11:02:46 +01:00
2020-08-17 22:57:05 +02:00
2020-11-22 18:20:56 +01:00
2020-12-10 11:02:46 +01:00
2020-07-26 20:05:15 +02:00
2020-07-26 20:05:15 +02:00
2020-12-10 11:02:46 +01:00
2020-11-22 18:20:56 +01:00
2020-11-13 09:51:07 +01:00
2020-12-10 11:02:46 +01:00
2020-12-14 23:38:08 +01:00
2020-12-13 17:54:40 +01:00
2020-12-10 11:02:46 +01:00
2020-11-12 10:38:26 +01:00
2020-10-22 15:24:42 +02:00
2020-11-22 18:20:56 +01:00
2020-11-22 18:20:56 +01:00
2020-12-10 11:02:46 +01:00
2020-11-22 18:20:56 +01:00
2020-11-22 18:20:56 +01:00
2020-07-26 20:05:15 +02:00
2020-11-22 18:20:56 +01:00
2020-11-22 18:20:56 +01:00
2020-11-22 18:20:56 +01:00
2020-12-10 11:02:46 +01:00
2020-12-14 12:04:30 +01:00
2020-12-14 13:45:57 +01:00
2020-12-10 11:02:46 +01:00
2020-08-15 00:05:45 +02:00
2020-10-07 12:47:17 +02:00
2020-11-22 18:20:56 +01:00
2020-11-22 18:20:56 +01:00
2020-12-09 21:05:06 +01:00
2020-12-09 21:05:06 +01:00
2020-12-09 21:05:06 +01:00
2020-12-09 21:05:06 +01:00
2020-11-22 18:20:56 +01:00
2020-11-22 18:20:56 +01:00
2020-12-10 11:02:46 +01:00
2020-11-22 15:56:27 +01:00
2020-11-22 15:56:27 +01:00
2020-12-10 11:02:46 +01:00
2020-11-30 11:40:35 +01:00
2020-07-26 20:05:15 +02:00
2020-12-02 10:08:29 +01:00
2020-12-02 10:08:29 +01:00
2020-11-22 18:20:56 +01:00
2020-11-22 18:20:56 +01:00