0

I get different results in different browsers for

line {
  stroke: white;
  stroke-width: 10;
  mix-blend-mode: exclusion;
}

div {
  display: inline-block;
  background: rgb(231, 229, 218);
}
<div>
  <svg width="100" height="100">
        <line x1="0" y1="0" x2="100" y2="100"/>
      </svg>
</div>

Firefox renders a white, Chrome a dark line. Which is correct?

Temani Afif
  • 245,468
  • 26
  • 309
  • 415
Daniel
  • 3,383
  • 4
  • 30
  • 61

0 Answers0