embedding-mark patterns rendered incorrectly

Confirmed Issue #6831905 • Assigned to Eugene V.

Details

Created
Mar 10, 2016
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps

URL demonstrating the problem: http://phetsims.github.io/scenery/tests/browsers/edge-embedding-marks.html
HTML to reproduce:


<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8"/>
  <meta http-equiv="X-UA-Compatible" content="IE=edge"/>

  <title>Edge Embedding Marks</title>

  <style>
    canvas {
    }
  </style>
</head>
<body>

<script type="text/javascript">

(function() {
  var string = '\u202a\u202a\u2126\u202c\u202acm\u202c\u202c';

  // DOM
  var div = document.createElement( 'div' );
  div.style.fontSize = '20px';
  div.innerHTML = 'DOM: ' + string;
  document.body.appendChild( div );

  // SVG
  var svg = document.createElementNS( 'http://www.w3.org/2000/svg', 'svg' );
  svg.style.display = 'block';
  svg.setAttribute( 'height', 25 );
  var svgText = document.createElementNS( 'http://www.w3.org/2000/svg', 'text' );
  svgText.setAttribute( 'y', 20 );
  svgText.setAttribute( 'font-size', 20 );
  svgText.appendChild( document.createTextNode( 'SVG: ' + string ) );
  svg.appendChild( svgText );
  document.body.appendChild( svg );

  // Canvas
  var canvas = document.createElement( 'canvas' );
  var context = canvas.getContext( '2d' );
  document.body.appendChild( canvas );
  context.font = '20px serif';
  context.fillText( 'Canvas: ' + string, 0, 20 );
})();

</script>

</body>
</html>

Expected Results:

The expected behaviour from other browsers is this screenshot: embedding_OK.png

What actually happens in Edge is: embedding_BROKEN.png

Actual Results:

Dev Channel specific:

No

Attachments

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Mara P.”

    Changed Assigned To to “Travis L.”

    Changed Assigned To from “Travis L.” to “Eugene V.”

    Changed Status to “Confirmed”

    Changed Steps to Reproduce

  • we see this bug in our implementation of the client-side l10n library that aims to handle BiDi correctly using FSI/PDI Unicode marks - http://www.l20n.org and http://www.projectfluent.io

  • Microsoft Edge Team

    Changed Assigned To from “Eugene V.” to “Steven K.”

    Changed Assigned To from “Steven K.” to “Eugene V.”

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

Sign in