css3120 font-face errors

Not reproducible Issue #8252012

Details

Created
Jul 22, 2016
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

I am controlling the font weight on different platforms with local fonts. On edge this is giving me errors in the console which I’d like to avoid.

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.”

    • Thank you for your feedback. We are having difficulties reproducing this issue on OS build 10586.494 which is the current public stable version (winver.exe). The code given in the repro steps is rendered with no errors. Could you please confirm you are on the latest build? If yes and you are still able to repro, could you please provide us your URL or sample page that reproduces this issue. This will help us investigate the issue. It is always possible we may missing a step in the repro, please keep us posted about the progress resolving your issue, we will be happy to assist you.

      All the best,
      The MS Edge Team 

    • Microsoft Edge Team

      Changed Assigned To from “Ibrahim O.” to “James M.”

      Changed Status to “Not reproducible”

    • Hello,

      Thank you for providing this information about the issue. After thorough testing, we are unable to reproduce this problem in Edge current public stable release. Please reopen this case when you can provide more details, such as screenshots or run dxdiag (Windows key + r and type dxdiag, enter, then click Save all Information and paste the results).

      Best Wishes,
      The MS Edge Team

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

    Sign in