| Index: third_party/WebKit/Source/modules/csspaint/README.md
|
| diff --git a/third_party/WebKit/Source/modules/csspaint/README.md b/third_party/WebKit/Source/modules/csspaint/README.md
|
| index 926274472e6b4981aadbef3fbbcebc131f799f92..860623bbe5e8c18aa3aaef7e77be6eb1658951b1 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/README.md
|
| +++ b/third_party/WebKit/Source/modules/csspaint/README.md
|
| @@ -49,6 +49,15 @@ This method returns the `PaintGeneratedImage`.
|
|
|
| The `SkPicture` is produced from a `RecordingImageBufferSurface`.
|
|
|
| +### Style Invalidation
|
| +
|
| +The `CSSPaintDefinition` keeps a list of both native and custom properties it will invalidate on.
|
| +During style invalidation `ComputedStyle` checks if it has any `CSSPaintValue`s, and if any of their
|
| +properties have changed; if so it will invalidate paint for that `ComputedStyle`.
|
| +
|
| +If the `CSSPaintValue` doesn't have a corresponding `CSSPaintDefinition` yet, it doesn't invalidate
|
| +paint.
|
| +
|
| ## Testing
|
|
|
| Tests live [here](../../../LayoutTests/csspaint/).
|
|
|