Skip to content

Commit

Permalink
Tweak color to be explicit about which one we intend to keep
Browse files Browse the repository at this point in the history
  • Loading branch information
eoghanmurray committed Jul 8, 2024
1 parent 5211578 commit d778c77
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/rrweb/test/events/bad-style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down Expand Up @@ -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,
},
Expand Down

0 comments on commit d778c77

Please sign in to comment.