You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ It's a proof-of-concept event-based CSS element dimension query with valid CSS s
9
9
10
10
Features:
11
11
12
-
- no performance issues since it listens on size changes of each element, not only on window.onresize (like all other element query polifills).
12
+
- no performance issues since it listens only on size changes of elements that have element query rules defined through css. Other element query polifills only listen on `window.onresize` which causes performance issues and allows only to detect changes via window.resize event and not inside layout changes like css3 animation, :hover, DOM changes etc.
13
13
- no interval/timeout detection. Truly event-based through integrated ResizeSensor class.
14
14
- no CSS modifications. Valid CSS Syntax
15
15
- all CSS selectors available. Uses regular attribute selector. No need to write rules in HTML.
0 commit comments