ladybird/Libraries/LibWeb/CSS
Andreas Kling d4ddb0013c LibWeb: Share decoded images at the Resource level :^)
This patch adds ImageResource as a subclass of Resource. This new class
also keeps a Gfx::ImageDecoder so that we can share decoded bitmaps
between all clients of an image resource inside LibWeb.

With this, we now share both encoded and decoded data for images. :^)

I had to change how the purgeable-volatile flag is updated to keep the
volatile-images-outside-the-visible-viewport optimization working.
HTMLImageElement now inherits from ImageResourceClient (a subclass of
ResourceClient with additional image-specific stuff) and informs its
ImageResource about whether it's inside the viewport or outside.

This is pretty awesome! :^)
2020-06-02 20:32:38 +02:00
..
.gitignore LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Default.css LibWeb: Add default UA style for <hgroup> element 2020-05-30 12:39:51 +02:00
Length.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
LengthBox.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Properties.json LibWeb: Naive support for CSS "background" shorthand 2020-05-30 11:58:05 +02:00
Selector.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Selector.h LibWeb: Support the :root pseudo class 2020-05-14 08:49:51 +02:00
SelectorEngine.cpp LibWeb: Add cached global attribute name FlyStrings 2020-05-26 23:45:43 +02:00
SelectorEngine.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Specificity.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StyleDeclaration.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StyleDeclaration.h LibWeb: Fix duplicated public access modifier in StyleDeclaration 2020-05-19 19:25:41 +02:00
StyleProperties.cpp LibWeb: The line-height should not be multiplied by the glyph height 2020-05-26 21:09:32 +02:00
StyleProperties.h LibWeb: Add basic support for CSS percentages 2020-05-11 23:07:30 +02:00
StyleResolver.cpp LibWeb: Use the globals from HTML::AttributeNames in style resolution 2020-05-30 13:06:26 +02:00
StyleResolver.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StyleRule.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StyleRule.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StyleSheet.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StyleSheet.h LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
StyleValue.cpp LibWeb: Share decoded images at the Resource level :^) 2020-06-02 20:32:38 +02:00
StyleValue.h LibWeb: Port ImageStyleValue to the ResourceClient interface 2020-06-02 14:26:10 +02:00