From d778c7711a4eca55bacb8ac1b7ef64ddd4d09265 Mon Sep 17 00:00:00 2001 From: Eoghan Murray Date: Mon, 8 Jul 2024 17:33:53 +0100 Subject: [PATCH] Tweak color to be explicit about which one we intend to keep --- packages/rrweb/test/events/bad-style.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/rrweb/test/events/bad-style.ts b/packages/rrweb/test/events/bad-style.ts index cf62d4ad0e..67d2a35fb1 100644 --- a/packages/rrweb/test/events/bad-style.ts +++ b/packages/rrweb/test/events/bad-style.ts @@ -58,9 +58,9 @@ const events: eventWithTime[] = [ }, childNodes: [ { - // BAD: duplicated content type: 3, - textContent: '#one { color: rgb(255, 0, 0); }', + // BAD: duplicated content (tweaked to different color) + textContent: '#one { color: rgb(155, 0, 0); }', isStyle: true, id: 7, }, @@ -191,8 +191,8 @@ const events: eventWithTime[] = [ nextId: null, node: { type: 3, - // BAD: duplicated content - textContent: '#two { color: rgb(255, 0, 0); }', + // BAD: duplicated content (tweaked to different color) + textContent: '#two { color: rgb(155, 0, 0); }', isStyle: true, id: 22, },