Skip to content

Commit 91d04c2

Browse files
committed
svg fixes
1 parent b43b9b6 commit 91d04c2

File tree

3 files changed

+84
-21
lines changed

3 files changed

+84
-21
lines changed

packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-chromium.json

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@
160160
"tagName": "svg",
161161
"attributes": {
162162
"style": "width:200px;height:200px",
163-
"class": "sentry-unblock",
164163
"viewBox": "0 0 80 80",
165164
"data-sentry-unblock": ""
166165
},
@@ -175,6 +174,28 @@
175174
"childNodes": [],
176175
"isSVG": true,
177176
"id": 26
177+
},
178+
{
179+
"type": 2,
180+
"tagName": "area",
181+
"attributes": {
182+
"rr_width": "0px",
183+
"rr_height": "0px"
184+
},
185+
"childNodes": [],
186+
"isSVG": true,
187+
"id": 27
188+
},
189+
{
190+
"type": 2,
191+
"tagName": "rect",
192+
"attributes": {
193+
"rr_width": "0px",
194+
"rr_height": "0px"
195+
},
196+
"childNodes": [],
197+
"isSVG": true,
198+
"id": 28
178199
}
179200
],
180201
"isSVG": true,
@@ -183,7 +204,7 @@
183204
{
184205
"type": 3,
185206
"textContent": "\n ",
186-
"id": 27
207+
"id": 29
187208
},
188209
{
189210
"type": 2,
@@ -193,12 +214,12 @@
193214
"rr_height": "100px"
194215
},
195216
"childNodes": [],
196-
"id": 28
217+
"id": 30
197218
},
198219
{
199220
"type": 3,
200221
"textContent": "\n ",
201-
"id": 29
222+
"id": 31
202223
},
203224
{
204225
"type": 2,
@@ -209,17 +230,17 @@
209230
"src": "file:///none.png"
210231
},
211232
"childNodes": [],
212-
"id": 30
233+
"id": 32
213234
},
214235
{
215236
"type": 3,
216237
"textContent": "\n ",
217-
"id": 31
238+
"id": 33
218239
},
219240
{
220241
"type": 3,
221242
"textContent": "\n\n",
222-
"id": 32
243+
"id": 34
223244
}
224245
],
225246
"id": 7

packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-firefox.json

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@
160160
"tagName": "svg",
161161
"attributes": {
162162
"style": "width:200px;height:200px",
163-
"class": "sentry-unblock",
164163
"viewBox": "0 0 80 80",
165164
"data-sentry-unblock": ""
166165
},
@@ -175,6 +174,28 @@
175174
"childNodes": [],
176175
"isSVG": true,
177176
"id": 26
177+
},
178+
{
179+
"type": 2,
180+
"tagName": "area",
181+
"attributes": {
182+
"rr_width": "0px",
183+
"rr_height": "0px"
184+
},
185+
"childNodes": [],
186+
"isSVG": true,
187+
"id": 27
188+
},
189+
{
190+
"type": 2,
191+
"tagName": "rect",
192+
"attributes": {
193+
"rr_width": "0px",
194+
"rr_height": "0px"
195+
},
196+
"childNodes": [],
197+
"isSVG": true,
198+
"id": 28
178199
}
179200
],
180201
"isSVG": true,
@@ -183,7 +204,7 @@
183204
{
184205
"type": 3,
185206
"textContent": "\n ",
186-
"id": 27
207+
"id": 29
187208
},
188209
{
189210
"type": 2,
@@ -193,12 +214,12 @@
193214
"rr_height": "100px"
194215
},
195216
"childNodes": [],
196-
"id": 28
217+
"id": 30
197218
},
198219
{
199220
"type": 3,
200221
"textContent": "\n ",
201-
"id": 29
222+
"id": 31
202223
},
203224
{
204225
"type": 2,
@@ -209,17 +230,17 @@
209230
"src": "file:///none.png"
210231
},
211232
"childNodes": [],
212-
"id": 30
233+
"id": 32
213234
},
214235
{
215236
"type": 3,
216237
"textContent": "\n ",
217-
"id": 31
238+
"id": 33
218239
},
219240
{
220241
"type": 3,
221242
"textContent": "\n\n",
222-
"id": 32
243+
"id": 34
223244
}
224245
],
225246
"id": 7

packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy-webkit.json

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@
160160
"tagName": "svg",
161161
"attributes": {
162162
"style": "width:200px;height:200px",
163-
"class": "sentry-unblock",
164163
"viewBox": "0 0 80 80",
165164
"data-sentry-unblock": ""
166165
},
@@ -175,6 +174,28 @@
175174
"childNodes": [],
176175
"isSVG": true,
177176
"id": 26
177+
},
178+
{
179+
"type": 2,
180+
"tagName": "area",
181+
"attributes": {
182+
"rr_width": "0px",
183+
"rr_height": "0px"
184+
},
185+
"childNodes": [],
186+
"isSVG": true,
187+
"id": 27
188+
},
189+
{
190+
"type": 2,
191+
"tagName": "rect",
192+
"attributes": {
193+
"rr_width": "0px",
194+
"rr_height": "0px"
195+
},
196+
"childNodes": [],
197+
"isSVG": true,
198+
"id": 28
178199
}
179200
],
180201
"isSVG": true,
@@ -183,7 +204,7 @@
183204
{
184205
"type": 3,
185206
"textContent": "\n ",
186-
"id": 27
207+
"id": 29
187208
},
188209
{
189210
"type": 2,
@@ -193,12 +214,12 @@
193214
"rr_height": "100px"
194215
},
195216
"childNodes": [],
196-
"id": 28
217+
"id": 30
197218
},
198219
{
199220
"type": 3,
200221
"textContent": "\n ",
201-
"id": 29
222+
"id": 31
202223
},
203224
{
204225
"type": 2,
@@ -209,17 +230,17 @@
209230
"src": "file:///none.png"
210231
},
211232
"childNodes": [],
212-
"id": 30
233+
"id": 32
213234
},
214235
{
215236
"type": 3,
216237
"textContent": "\n ",
217-
"id": 31
238+
"id": 33
218239
},
219240
{
220241
"type": 3,
221242
"textContent": "\n\n",
222-
"id": 32
243+
"id": 34
223244
}
224245
],
225246
"id": 7

0 commit comments

Comments
 (0)