[csswg-drafts] [css-fonts-3] Typo in onload eventHandler (#3553)

pyoor has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts-3] Typo in onload eventHandler ==
The following pages include an encoded '<' character in the onload eventHandler.

```
window.onload = function () {
  if (!("devicePixelRatio" in window && window.devicePixelRatio > 1)) return;
  var i, hiresElements = document.getElementsByClassName("hires");
  for (i = 0; i &lt; hiresElements.length; i++) {
    var h = hiresElements[i];
    if (h.tagName != "IMG") continue;
    var src = h.getAttribute("src");
    var src2x = src.replace(/\.\w+$/, function(m) { return "@2x" + m; });
    h.src = src2x;
  }
}
```
https://github.com/w3c/csswg-drafts/blob/40eeef57df9ac1c6908588332d3bd6a10eb17bb8/css-fonts-3/Overview.html#L6417
https://github.com/w3c/csswg-drafts/blob/40eeef57df9ac1c6908588332d3bd6a10eb17bb8/css-fonts-3/Fonts.html#L6423

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3553 using your GitHub account

Received on Friday, 25 January 2019 16:21:12 UTC