css3120 font-face issues

Duplicate Issue #8252252 • See Issue #8252012

Details

Created
Jul 22, 2016
Privacy
This issue is public.
Duplicates
See progress on Bug #8252012
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

I have a simplified page below to try. If you load this you will see an error in the console "CSS3120", the error is because it cannot load the helvetica bold font on windows.

I have 2 questions

  1. Since I have Segoe UI in the font-family list before helvetica I don’t know why edge even tried to load the helvetica as it won’t be used. Possibly it’s fetching the file before parsing for perf reasons?

2)If it’s not possible to avoid fetching unused fonts, can you downgrade this to a warning? There is a font-family list for a reason, if you can’t get the first one it falls back, so it’s not necessarily an error, in my case it’s expected behavior.

<html>
<head>
<style>
html {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/*on windows load segoe bold*/
font-face {
  font-family: "Segoe UI";
  font-weight: 800;
  src: local("Segoe UI Bold"); }

/*on mac load helvetica bold*/
font-face {
  font-family: "Helvetica Neue";
  font-weight: 800;
  src: local("Helvetica-Bold"); }
</style>
</head>
<body>
  <div>hello world</div>
  <div style="font-weight: 800;">hello world font-weight 800</div>
</body>
</html>

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Ibrahim O.”

      Changed Status to “Duplicate”

    • Thank you for the feedback. This issue appears to be a duplicate of 
      https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8252012/

      Best regards,
      The MS Edge Team

    • This bug has marked as duplicate. Please follow the [parent issue]((…/8252012/) to get new updates.

    You need to sign in to your Microsoft account to add a comment.

    Sign in