forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assertion when encountering U_OTHER_NEUTRAL in createBidiRunsForLine …
…at end of run https://bugs.webkit.org/show_bug.cgi?id=204485 Patch by Doug Kelly <dougk@apple.com> on 2019-12-03 Reviewed by Ryosuke Niwa. Source/WebCore: Comment out the assert for the default case when setting direction at the end of a bidirectional run. The current algorithm may not fully support UAX #9, but this assert also isn't helpful in development. Test: fast/text/international/unicode-bidi-other-neutrals.html * platform/text/BidiResolver.h: (WebCore::DerivedClass>::createBidiRunsForLine): LayoutTests: Add a simple test case which illustrates a neutral at the end of a Unicode bidirectional run. * fast/text/international/unicode-bidi-other-neutrals-expected.html: Added. * fast/text/international/unicode-bidi-other-neutrals.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@253068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
commit-queue@webkit.org
committed
Dec 3, 2019
1 parent
bbb6507
commit b1ff2dd
Showing
5 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
LayoutTests/fast/text/international/unicode-bidi-other-neutrals-expected.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"/> | ||
</head> | ||
<body> | ||
<font dir="ltr">a</font> | ||
<marquee>b</marquee> | ||
</body> | ||
</html> |
10 changes: 10 additions & 0 deletions
10
LayoutTests/fast/text/international/unicode-bidi-other-neutrals.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"/> | ||
</head> | ||
<body> | ||
<font dir="ltr">a</font> | ||
<marquee>b</marquee> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters