mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 17:58:18 +03:00
e81594d9a1
This element doesn't actually support anything at the moment, but it still massively speeds up painting performance on Wikipedia! :^) How? Because we no longer paint SVG <path> elements found inside <clipPath> elements. SVGClipPathElement::create_layout_node() returns nullptr which stops the layout tree builder from recursing further into the subtree, and so the <path> element never gets a layout or paint box. Mousing over Wikipedia now barely break 50% CPU usage on my machine :^)
8 lines
206 B
Plaintext
8 lines
206 B
Plaintext
[Exposed=Window]
|
|
interface SVGClipPathElement : SVGElement {
|
|
|
|
// FIXME: readonly attribute SVGAnimatedEnumeration clipPathUnits;
|
|
// FIXME: readonly attribute SVGAnimatedTransformList transform;
|
|
|
|
};
|