SVG paths not displayed correctly in Night mode

Description of the issue:
Night mode doesn’t display paths (or <text> elements on paths) correctly:

  • If their fill/color is black, they’re shown as white;
  • If their fill/color is white, they’re also shown as white;
  • If their fill/color is green, they’re shown as green;
  • If their fill/color is blue, they’re shown as pink;

How can this issue be reproduced?

  1. Turn on Night mode on mobile (Settings > Appearance > Night mode > Restart Brave)
  2. Go to the <path> docs page on MDN.
  3. Scroll down to the first example

Expected result:

Actual result:
CleanShot 2023-07-29 at 09.54.42

Brave Version( check About Brave): 1.56.16, Chromium 115.0.5790.138

Mobile Device details: Android 13

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.