@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.js
CHANGED
|
@@ -1680,11 +1680,17 @@ function serializeElementNode(n2, options) {
|
|
|
1680
1680
|
}
|
|
1681
1681
|
}
|
|
1682
1682
|
if (needBlock) {
|
|
1683
|
-
const { width, height } = n2.getBoundingClientRect();
|
|
1683
|
+
const { width, height, bottom, left, right, top, x: x2, y } = n2.getBoundingClientRect();
|
|
1684
1684
|
attributes = {
|
|
1685
1685
|
class: attributes.class,
|
|
1686
1686
|
rr_width: `${width}px`,
|
|
1687
|
-
rr_height: `${height}px
|
|
1687
|
+
rr_height: `${height}px`,
|
|
1688
|
+
c_rr_top: `${top}px`,
|
|
1689
|
+
c_rr_left: `${left}px`,
|
|
1690
|
+
c_rr_bottom: `${bottom}px`,
|
|
1691
|
+
c_rr_right: `${right}px`,
|
|
1692
|
+
c_rr_x: `${x2}px`,
|
|
1693
|
+
c_rr_y: `${y}px`
|
|
1688
1694
|
};
|
|
1689
1695
|
}
|
|
1690
1696
|
if (tagName === "iframe" && !keepIframeSrcFn(attributes.src)) {
|