-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add previous and current rect attribution data for CLS (#242)
- Loading branch information
1 parent
adcc82d
commit a9b4bc0
Showing
5 changed files
with
111 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"$id": "rum/_rect-schema.json", | ||
"title": "RumRect", | ||
"type": "object", | ||
"description": "Schema for DOMRect-like rectangles describing an element's bounding client rect", | ||
"required": ["x", "y", "width", "height"], | ||
"properties": { | ||
"x": { | ||
"type": "number", | ||
"description": "The x coordinate of the element's origin", | ||
"readOnly": true | ||
}, | ||
"y": { | ||
"type": "number", | ||
"description": "The y coordinate of the element's origin", | ||
"readOnly": true | ||
}, | ||
"width": { | ||
"type": "number", | ||
"description": "The element's width", | ||
"readOnly": true | ||
}, | ||
"height": { | ||
"type": "number", | ||
"description": "The element's height", | ||
"readOnly": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters