Bug 151562 - ⃛ ⃛ ⃜ and ̑ should generate a space
Summary: ⃛ ⃛ ⃜ and ̑ should generate a space
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: MathML (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Frédéric Wang (:fredw)
URL: http://www.w3.org/TR/xml-entity-names...
Keywords:
Depends on: 74826
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-23 03:47 PST by Frédéric Wang (:fredw)
Modified: 2016-01-19 04:04 PST (History)
4 users (show)

See Also:


Attachments
testcase (1.86 KB, text/html)
2015-11-23 03:47 PST, Frédéric Wang (:fredw)
no flags Details
untested patch (1.08 KB, patch)
2015-11-23 04:10 PST, Frédéric Wang (:fredw)
no flags Details | Formatted Diff | Diff
Patch (3.97 KB, patch)
2015-11-23 08:28 PST, Frédéric Wang (:fredw)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Wang (:fredw) 2015-11-23 03:47:26 PST
Created attachment 266084 [details]
testcase

The following entities are defined as a sequence space + combining char in the XML Entity spec:

DownBreve U+0020 U+0311
tdot, TripleDot: U+0020 U+20DB
DotDot: U+0020 U+20DC

From the spec: 

"For reasons explained further in [Charmod-norm], it is not advisable to to start the replacement text of an entity with a combining character, as then potentially different results may be produced depending on the order in which entity expansion and Unicode normalisation are performed. As far as possible this specification uses non-combining characters, however, in the cases tdot, TripleDot and DotDot Unicode only has combining forms of the accents, and so the entity replacement text starts with a space, to avoid the possibility that the expansion of the entity combines with preceding text."

I attach a testcase and here another one: http://tests.mathml-association.org/mathml/relations/html5-tree/entities.html

Here is the corresponding bug on Gecko: https://bugzilla.mozilla.org/show_bug.cgi?id=1223829
Comment 1 Frédéric Wang (:fredw) 2015-11-23 04:10:54 PST
Created attachment 266085 [details]
untested patch
Comment 2 Frédéric Wang (:fredw) 2015-11-23 08:28:28 PST
Created attachment 266089 [details]
Patch
Comment 3 Frédéric Wang (:fredw) 2016-01-19 04:04:09 PST
INVALID per https://github.com/whatwg/html-build/issues/42