@glimt/record 0.0.83 → 0.0.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/record.cjs +8 -2
- package/dist/record.cjs.map +1 -1
- package/dist/record.js +8 -2
- package/dist/record.js.map +1 -1
- package/dist/record.umd.cjs +8 -2
- package/dist/record.umd.cjs.map +2 -2
- package/dist/record.umd.min.cjs +4 -4
- package/dist/record.umd.min.cjs.map +3 -3
- package/package.json +1 -1
package/dist/record.cjs
CHANGED
|
@@ -1682,11 +1682,17 @@ function serializeElementNode(n2, options) {
|
|
|
1682
1682
|
}
|
|
1683
1683
|
}
|
|
1684
1684
|
if (needBlock) {
|
|
1685
|
-
const { width, height } = n2.getBoundingClientRect();
|
|
1685
|
+
const { width, height, bottom, left, right, top, x: x2, y } = n2.getBoundingClientRect();
|
|
1686
1686
|
attributes = {
|
|
1687
1687
|
class: attributes.class,
|
|
1688
1688
|
rr_width: `${width}px`,
|
|
1689
|
-
rr_height: `${height}px
|
|
1689
|
+
rr_height: `${height}px`,
|
|
1690
|
+
c_rr_top: `${top}px`,
|
|
1691
|
+
c_rr_left: `${left}px`,
|
|
1692
|
+
c_rr_bottom: `${bottom}px`,
|
|
1693
|
+
c_rr_right: `${right}px`,
|
|
1694
|
+
c_rr_x: `${x2}px`,
|
|
1695
|
+
c_rr_y: `${y}px`
|
|
1690
1696
|
};
|
|
1691
1697
|
}
|
|
1692
1698
|
if (tagName === "iframe" && !keepIframeSrcFn(attributes.src)) {
|