Throttle timers that change the style of elements outside the viewport
[WebKit-https.git] / Source / WebCore / dom / Element.h
index 8ef3566..951f466 100644 (file)
@@ -200,6 +200,8 @@ public:
     double offsetWidth();
     double offsetHeight();
 
+    bool isInsideViewport(const IntRect* visibleRect = nullptr) const;
+
     // FIXME: Replace uses of offsetParent in the platform with calls
     // to the render layer and merge bindingsOffsetParent and offsetParent.
     Element* bindingsOffsetParent();