<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [INTL] Implement the caseFirst option for Intl.Collator"
href="https://bugs.webkit.org/show_bug.cgi?id=158188">158188</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[INTL] Implement the caseFirst option for Intl.Collator
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>JavaScriptCore
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sukolsak@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>The caseFirst option lets users specify whether upper case or lower case should sort first when using Intl.Collator.prototype.compare. For example,
new Intl.Collator('en', {caseFirst: 'upper'}).compare('a', 'A'); // returns 1
new Intl.Collator('en', {caseFirst: 'lower'}).compare('a', 'A'); // returns -1
According to the ECMAScript 2015 Internationalization API Specification (ECMA-402 2nd edition), implementations are not required to support caseFirst. But it would be a nice feature to have. Currently, only Chrome seems to supports this.
<a href="http://www.ecma-international.org/ecma-402/2.0/">http://www.ecma-international.org/ecma-402/2.0/</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>