Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: LayoutTests/platform/mac/virtual/mac-antialiasedtext/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt

Issue 249343002: Create an antialiased virtual layout test group for font testing on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review comments addressed, uploading with --no-find-copies Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/platform/mac/virtual/mac-antialiasedtext/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt
diff --git a/LayoutTests/platform/mac/virtual/mac-antialiasedtext/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt b/LayoutTests/platform/mac/virtual/mac-antialiasedtext/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1e4b4975a3a423e8968a37f9f37632aeb506c2d5
--- /dev/null
+++ b/LayoutTests/platform/mac/virtual/mac-antialiasedtext/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt
@@ -0,0 +1,35 @@
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {HTML} at (0,0) size 800x600
+ RenderBody {BODY} at (8,8) size 784x576
+ RenderBlock {P} at (0,0) size 784x18
+ RenderText {#text} at (0,0) size 569x18
+ text run at (0,0) width 569: "Mitz Pettel contributed this fix to KDE, and now we're rolling it in. Here's his explanation:"
+ RenderBlock {P} at (0,34) size 784x72
+ RenderText {#text} at (0,0) size 777x72
+ text run at (0,0) width 766: "The directionality of a neutral character at the beginning of a paragraph (or after a hard line break) is decided incorrectly if"
+ text run at (0,18) width 777: "the first non-neutral character in the paragraph has directionality opposite to the paragraph directionality. For example, if the"
+ text run at (0,36) width 768: "paragraph direction is LTR, the first character on the paragraph is a question mark and the next one is a Hebrew character,"
+ text run at (0,54) width 643: "then the question mark will is considered right-to-left and appears to the right of the Hebrew character."
+ RenderBlock {P} at (0,122) size 784x36
+ RenderText {#text} at (0,0) size 508x18
+ text run at (0,0) width 508: "The rule to follow is 3.3.4.N2 in the Unicode Standard's Bidirectional Algorithm"
+ RenderInline {A} at (0,0) size 397x18 [color=#0000EE]
+ RenderText {#text} at (0,18) size 397x18
+ text run at (0,18) width 397: "http://www.unicode.org/reports/tr9/#Resolving_Neutral_Types"
+ RenderText {#text} at (397,18) size 4x18
+ text run at (397,18) width 4: "."
+ RenderBlock {P} at (0,174) size 784x18
+ RenderText {#text} at (0,0) size 676x18
+ text run at (0,0) width 676: "If the test is successful, the question marks should be on the far left and far right of the next two paragraphs."
+ RenderBlock {P} at (0,208) size 784x21
+ RenderText {#text} at (0,1) size 67x18
+ text run at (0,1) width 11: "? "
+ text run at (11,1) width 25 RTL: "\x{FEB2} \x{FEED}"
+ text run at (35,1) width 32: "hello"
+ RenderBlock {P} at (0,245) size 784x21
+ RenderText {#text} at (713,1) size 71x18
+ text run at (713,1) width 29 RTL: " \x{FEB2} \x{FEED}"
+ text run at (742,1) width 31: "hello"
+ text run at (773,1) width 11 RTL: "? "

Powered by Google App Engine
This is Rietveld 408576698