@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.
@@ -1715,11 +1715,17 @@ function serializeElementNode(n2, options) {
1715
1715
  }
1716
1716
  }
1717
1717
  if (needBlock) {
1718
- const { width, height } = n2.getBoundingClientRect();
1718
+ const { width, height, bottom, left, right, top, x: x2, y } = n2.getBoundingClientRect();
1719
1719
  attributes = {
1720
1720
  class: attributes.class,
1721
1721
  rr_width: `${width}px`,
1722
- rr_height: `${height}px`
1722
+ rr_height: `${height}px`,
1723
+ c_rr_top: `${top}px`,
1724
+ c_rr_left: `${left}px`,
1725
+ c_rr_bottom: `${bottom}px`,
1726
+ c_rr_right: `${right}px`,
1727
+ c_rr_x: `${x2}px`,
1728
+ c_rr_y: `${y}px`
1723
1729
  };
1724
1730
  }
1725
1731
  if (tagName === "iframe" && !keepIframeSrcFn(attributes.src)) {