mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 18:19:03 +00:00
LibJS+LibUnicode: Make the collation sensitivity default locale-aware
Note this happens to be 'variant' for every locale currently.
This commit is contained in:
parent
78625c746d
commit
ca1257c6f9
Notes:
github-actions[bot]
2024-08-15 11:45:25 +00:00
Author: https://github.com/trflynn89
Commit: ca1257c6f9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1078
Reviewed-by: https://github.com/awesomekling
5 changed files with 53 additions and 14 deletions
|
@ -41,7 +41,7 @@ public:
|
|||
StringView locale,
|
||||
Usage,
|
||||
StringView collation,
|
||||
Sensitivity,
|
||||
Optional<Sensitivity>,
|
||||
CaseFirst,
|
||||
bool numeric,
|
||||
Optional<bool> ignore_punctuation);
|
||||
|
@ -55,6 +55,7 @@ public:
|
|||
};
|
||||
virtual Order compare(StringView, StringView) const = 0;
|
||||
|
||||
virtual Sensitivity sensitivity() const = 0;
|
||||
virtual bool ignore_punctuation() const = 0;
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue