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

Unified Diff: LayoutTests/platform/mac/virtual/mac-antialiasedtext/fast/text/word-break-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/word-break-expected.txt
diff --git a/LayoutTests/platform/mac/virtual/mac-antialiasedtext/fast/text/word-break-expected.txt b/LayoutTests/platform/mac/virtual/mac-antialiasedtext/fast/text/word-break-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..592b95e13342fe8efcd67adc01e50bef30c514e0
--- /dev/null
+++ b/LayoutTests/platform/mac/virtual/mac-antialiasedtext/fast/text/word-break-expected.txt
@@ -0,0 +1,111 @@
+layer at (0,0) size 785x1016
+ RenderView at (0,0) size 785x600
+layer at (0,0) size 785x1016
+ RenderBlock {HTML} at (0,0) size 785x1016
+ RenderBody {BODY} at (8,8) size 769x1000
+ RenderBlock (anonymous) at (0,0) size 769x18
+ RenderText {#text} at (0,0) size 683x18
+ text run at (0,0) width 683: "This example tests that word-break properly shrinks a cell to one character per line when it is set to break-all."
+ RenderTable {TABLE} at (0,18) size 769x104 [border: (1px outset #808080)]
+ RenderTableSection {TBODY} at (1,1) size 767x102
+ RenderTableRow {TR} at (0,0) size 767x102
+ RenderTableCell {TD} at (0,0) size 20x102 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+ RenderText {#text} at (6,6) size 8x90
+ text run at (6,6) width 8: "N"
+ text run at (6,21) width 8: "a"
+ text run at (6,36) width 8: "r"
+ text run at (6,51) width 8: "r"
+ text run at (6,66) width 8: "o"
+ text run at (6,81) width 8: "w"
+ RenderTableCell {TD} at (20,37) size 747x27 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
+ RenderText {#text} at (6,6) size 168x15
+ text run at (6,6) width 168: "This cell should grow"
+ RenderBlock (anonymous) at (0,122) size 769x36
+ RenderBR {BR} at (0,0) size 0x18
+ RenderText {#text} at (0,18) size 430x18
+ text run at (0,18) width 430: "This test checks that word-break is ignored when white-space is pre."
+ RenderBlock {PRE} at (0,171) size 110x25 [border: (5px solid #000000)]
+ RenderText {#text} at (5,5) size 448x15
+ text run at (5,5) width 448: "Thislongwordshouldnotgetbrokenbutshouldstickoutofthepre."
+ text run at (453,5) width 0: " "
+ RenderBlock (anonymous) at (0,209) size 769x72
+ RenderBR {BR} at (0,0) size 0x18
+ RenderText {#text} at (0,18) size 760x54
+ text run at (0,18) width 468: "The next two examples test our custom break-word value for word-break. "
+ text run at (468,18) width 292: "We should get the same results as break-all for"
+ text run at (0,36) width 751: "the first test, but we should break up the word in the second test (since our behavior matches word-wrap: break-word in"
+ text run at (0,54) width 63: "that case)."
+ RenderTable {TABLE} at (0,281) size 769x104 [border: (1px outset #808080)]
+ RenderTableSection {TBODY} at (1,1) size 767x102
+ RenderTableRow {TR} at (0,0) size 767x102
+ RenderTableCell {TD} at (0,0) size 20x102 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
+ RenderText {#text} at (6,6) size 8x90
+ text run at (6,6) width 8: "N"
+ text run at (6,21) width 8: "a"
+ text run at (6,36) width 8: "r"
+ text run at (6,51) width 8: "r"
+ text run at (6,66) width 8: "o"
+ text run at (6,81) width 8: "w"
+ RenderTableCell {TD} at (20,37) size 747x27 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
+ RenderText {#text} at (6,6) size 168x15
+ text run at (6,6) width 168: "This cell should grow"
+ RenderBlock (anonymous) at (0,385) size 769x18
+ RenderBR {BR} at (0,0) size 0x18
+ RenderBlock {PRE} at (0,416) size 110x85 [border: (5px solid #000000)]
+ RenderText {#text} at (5,5) size 96x75
+ text run at (5,5) width 96: "Thislongword"
+ text run at (5,20) width 96: "shouldnotget"
+ text run at (5,35) width 96: "brokenbutsho"
+ text run at (5,50) width 96: "uldstickouto"
+ text run at (5,65) width 64: "fthepre."
+ text run at (69,65) width 0: " "
+ RenderBlock (anonymous) at (0,514) size 769x72
+ RenderBR {BR} at (0,0) size 0x18
+ RenderText {#text} at (0,18) size 764x54
+ text run at (0,18) width 626: "This test makes sure floating and positioned elements do the right thing with word-break: break-all. "
+ text run at (626,18) width 129: "The minimum width"
+ text run at (0,36) width 299: "should be less than the containing block width. "
+ text run at (299,36) width 465: "The breaking should be \"dumb\" and just occur when the end of the line is"
+ text run at (0,54) width 20: "hit."
+ RenderBlock {DIV} at (0,586) size 304x49 [border: (2px solid #000000)]
+ RenderBlock (floating) {DIV} at (2,2) size 300x45
+ RenderText {#text} at (0,0) size 296x45
+ text run at (0,0) width 296: "Eventhoughthishasareallylongword itsh"
+ text run at (0,15) width 296: "ouldnotstick out oftheenclosing300pxb"
+ text run at (0,30) width 40: "lock."
+ RenderBR {BR} at (302,2) size 0x15
+ RenderBlock (anonymous) at (0,635) size 769x18
+ RenderBR {BR} at (0,0) size 0x18
+ RenderBlock (anonymous) at (0,757) size 769x72
+ RenderBR {BR} at (0,0) size 0x18
+ RenderText {#text} at (0,18) size 735x54
+ text run at (0,18) width 644: "This test makes sure floating and positioned elements do the right thing with word-break: break-word. "
+ text run at (644,18) width 89: "The minimum"
+ text run at (0,36) width 339: "width should be less than the containing block width. "
+ text run at (339,36) width 396: "The breaking should be \"smart\" and be like word-wrap: break-"
+ text run at (0,54) width 569: "word, with words preferring to wrap first before allowing break opportunities within them."
+ RenderBlock {DIV} at (0,829) size 304x49 [border: (2px solid #000000)]
+ RenderBlock (floating) {DIV} at (2,2) size 300x45
+ RenderText {#text} at (0,0) size 256x45
+ text run at (0,0) width 256: "Eventhoughthishasareallylongword"
+ text run at (0,15) width 160: "itshouldnotstick out"
+ text run at (0,30) width 200: "oftheenclosing300pxblock."
+ RenderBR {BR} at (302,2) size 0x15
+ RenderBlock (anonymous) at (0,878) size 769x18
+ RenderBR {BR} at (0,0) size 0x18
+layer at (8,661) size 304x104
+ RenderBlock (relative positioned) {DIV} at (0,653) size 304x104 [border: (2px solid #000000)]
+layer at (10,663) size 300x45
+ RenderBlock (positioned) {DIV} at (2,2) size 300x45
+ RenderText {#text} at (0,0) size 296x45
+ text run at (0,0) width 296: "Eventhoughthishasareallylongword itsh"
+ text run at (0,15) width 296: "ouldnotstick out oftheenclosing300pxb"
+ text run at (0,30) width 40: "lock."
+layer at (8,904) size 304x104
+ RenderBlock (relative positioned) {DIV} at (0,896) size 304x104 [border: (2px solid #000000)]
+layer at (10,906) size 300x45
+ RenderBlock (positioned) {DIV} at (2,2) size 300x45
+ RenderText {#text} at (0,0) size 256x45
+ text run at (0,0) width 256: "Eventhoughthishasareallylongword"
+ text run at (0,15) width 160: "itshouldnotstick out"
+ text run at (0,30) width 200: "oftheenclosing300pxblock."

Powered by Google App Engine
This is Rietveld 408576698