This page contains some tests for the MathML ms element. These are rendered via the 'ms.js' polyfill. The polyfill adds the quote marks to the content because the lquote and rquote attributes are not part of core. It also escapes the quoting chars.

Values for lquote/rquote

String with default values

Simple string should have '"' around it.

A string

String with quotes (which should be escaped)

A string has "s around it.

Open/close quotes given for the values for lquote/rquote

Simple string should have '"' around it.

A string

String with quotes (which should be escaped)

A string has “ ”s around it.

String with Guillemets, which are used in French and some other languages (should be escaped). Used in computer languages??? It provides a different test case nonetheless.

A string has «...»s around it.

Values for dir/direction

Nothing should change when doing rtl because the renderer should reverse the entire string. Hence the lquote remains the first character in the string. If the renderer handles rtl, the entire string (with quotes) will be reversed; otherwise it will look the same.

Open/close quotes given for the values for lquote/rquote with dir='rtl' on math element

String with quotes (which should be escaped)

A string has “ ”s around it.

Open/close quotes given for the values for lquote/rquote with inline style 'rtl' on ms

String with quotes (which should be escaped)

A string has “ ”s around it.