Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=48663
Reviewed by Sam Weinig.

Make repaint invalidation work with vertical lines.  Rewrite linesBoundingBox for RenderText and
RenderInline to give the correct rectangle back for vertical lines.  Also patch linesVisibleOverflowBoundingBox
to give back the correct rectangle for vertical lines.

Fix bugs in the overflow accessors of InlineFlowBox when m_overflow was 0.

Added fast/repaint/inline-vertical-lr-overflow.html

WebCore:

* rendering/InlineBox.cpp:
(WebCore::InlineBox::adjustForFlippedBlocksWritingMode):
* rendering/InlineFlowBox.h:
(WebCore::InlineFlowBox::logicalLeftVisibleOverflow):
(WebCore::InlineFlowBox::logicalRightVisibleOverflow):
(WebCore::InlineFlowBox::bottomLayoutOverflow):
(WebCore::InlineFlowBox::rightLayoutOverflow):
(WebCore::InlineFlowBox::bottomVisualOverflow):
(WebCore::InlineFlowBox::rightVisualOverflow):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::adjustForFlippedBlocksWritingMode):
* rendering/RenderBox.h:
* rendering/RenderInline.cpp:
(WebCore::RenderInline::linesBoundingBox):
(WebCore::RenderInline::linesVisibleOverflowBoundingBox):
(WebCore::RenderInline::clippedOverflowRectForRepaint):
* rendering/RenderText.cpp:
(WebCore::RenderText::linesBoundingBox):

LayoutTests:

* fast/repaint/inline-vertical-rl-overflow.html: Added.
* platform/mac/fast/blockflow/background-vertical-lr-expected.txt:
* platform/mac/fast/blockflow/background-vertical-rl-expected.txt:
* platform/mac/fast/blockflow/basic-vertical-line-expected.txt:
* platform/mac/fast/blockflow/border-image-vertical-lr-expected.txt:
* platform/mac/fast/blockflow/border-image-vertical-rl-expected.txt:
* platform/mac/fast/blockflow/border-radius-clipping-vertical-lr-expected.txt:
* platform/mac/fast/blockflow/border-vertical-lr-expected.checksum:
* platform/mac/fast/blockflow/border-vertical-lr-expected.png:
* platform/mac/fast/blockflow/border-vertical-lr-expected.txt:
* platform/mac/fast/blockflow/box-shadow-vertical-lr-expected.txt:
* platform/mac/fast/blockflow/box-shadow-vertical-rl-expected.txt:
* platform/mac/fast/blockflow/english-lr-text-expected.txt:
* platform/mac/fast/blockflow/english-rl-text-expected.txt:
* platform/mac/fast/blockflow/japanese-lr-text-expected.txt:
* platform/mac/fast/blockflow/japanese-rl-text-expected.txt:
* platform/mac/fast/repaint/inline-vertical-rl-overflow-expected.checksum: Added.
* platform/mac/fast/repaint/inline-vertical-rl-overflow-expected.png: Added.
* platform/mac/fast/repaint/inline-vertical-rl-overflow-expected.txt: Added.
* platform/mac/fast/text/international/vertical-text-glyph-test-expected.txt:



Canonical link: https://commits.webkit.org/61462@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@70959 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
David Hyatt committed Oct 30, 2010
1 parent 58afea4 commit a0a9552
Show file tree
Hide file tree
Showing 29 changed files with 218 additions and 105 deletions.
35 changes: 35 additions & 0 deletions LayoutTests/ChangeLog
@@ -1,3 +1,38 @@
2010-10-29 David Hyatt <hyatt@apple.com>

Reviewed by Sam Weinig.

https://bugs.webkit.org/show_bug.cgi?id=48663

Make repaint invalidation work with vertical lines. Rewrite linesBoundingBox for RenderText and
RenderInline to give the correct rectangle back for vertical lines. Also patch linesVisibleOverflowBoundingBox
to give back the correct rectangle for vertical lines.

Fix bugs in the overflow accessors of InlineFlowBox when m_overflow was 0.

Added fast/repaint/inline-vertical-lr-overflow.html

* fast/repaint/inline-vertical-rl-overflow.html: Added.
* platform/mac/fast/blockflow/background-vertical-lr-expected.txt:
* platform/mac/fast/blockflow/background-vertical-rl-expected.txt:
* platform/mac/fast/blockflow/basic-vertical-line-expected.txt:
* platform/mac/fast/blockflow/border-image-vertical-lr-expected.txt:
* platform/mac/fast/blockflow/border-image-vertical-rl-expected.txt:
* platform/mac/fast/blockflow/border-radius-clipping-vertical-lr-expected.txt:
* platform/mac/fast/blockflow/border-vertical-lr-expected.checksum:
* platform/mac/fast/blockflow/border-vertical-lr-expected.png:
* platform/mac/fast/blockflow/border-vertical-lr-expected.txt:
* platform/mac/fast/blockflow/box-shadow-vertical-lr-expected.txt:
* platform/mac/fast/blockflow/box-shadow-vertical-rl-expected.txt:
* platform/mac/fast/blockflow/english-lr-text-expected.txt:
* platform/mac/fast/blockflow/english-rl-text-expected.txt:
* platform/mac/fast/blockflow/japanese-lr-text-expected.txt:
* platform/mac/fast/blockflow/japanese-rl-text-expected.txt:
* platform/mac/fast/repaint/inline-vertical-rl-overflow-expected.checksum: Added.
* platform/mac/fast/repaint/inline-vertical-rl-overflow-expected.png: Added.
* platform/mac/fast/repaint/inline-vertical-rl-overflow-expected.txt: Added.
* platform/mac/fast/text/international/vertical-text-glyph-test-expected.txt:

2010-10-29 James Robinson <jamesr@chromium.org>

Update pixel expectations for Snow Leopard for tests in tables/mozilla/marvin.
Expand Down
10 changes: 10 additions & 0 deletions LayoutTests/fast/repaint/inline-vertical-rl-overflow.html
@@ -0,0 +1,10 @@
<script src="resources/repaint.js"></script>
<script>
function repaintTest()
{
document.getElementById("target").style.webkitTextStrokeColor = "green";
}
</script>
<body onload="runRepaintTest()" style="padding: 50px; -webkit-writing-mode:vertical-lr">
<div><span id="target" style="font-family: Ahem; font-size: 50px; -webkit-text-stroke: 50px red;">A&nbsp;&nbsp;B</span></div>
</body>
Expand Up @@ -3,8 +3,8 @@ layer at (0,0) size 800x600
layer at (0,0) size 456x600
RenderBlock {HTML} at (0,0) size 456x600
RenderBody {BODY} at (8,8) size 440x584
RenderInline {SPAN} at (0,0) size 220x98
RenderInline {SPAN} at (0,0) size 268x50
RenderBlock {DIV} at (71,50) size 0x50
RenderBR {BR} at (50,100) size 0x98
RenderBR {BR} at (50,100) size 98x0
RenderBlock {DIV} at (241,50) size 0x50
RenderText {#text} at (0,0) size 0x0
Expand Up @@ -3,8 +3,8 @@ layer at (0,0) size 800x600
layer at (344,0) size 456x600
RenderBlock {HTML} at (0,0) size 456x600
RenderBody {BODY} at (8,8) size 440x584
RenderInline {SPAN} at (0,0) size 220x98
RenderInline {SPAN} at (0,0) size 268x50
RenderBlock {DIV} at (163,50) size 0x50
RenderBR {BR} at (86,100) size 0x98
RenderBR {BR} at (86,100) size 98x0
RenderBlock {DIV} at (333,50) size 0x50
RenderText {#text} at (0,0) size 0x0
Expand Up @@ -4,16 +4,16 @@ layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderBlock {DIV} at (0,0) size 316x304 [border: (2px solid #800000)]
RenderInline {SPAN} at (0,0) size 220x18 [border: (5px solid #000000) none (5px solid #000000) none]
RenderInline {SPAN} at (0,0) size 18x220 [border: (5px solid #000000) none (5px solid #000000) none]
RenderImage {IMG} at (6,12) size 100x200 [bgcolor=#008000]
RenderText {#text} at (2,222) size 4x18
RenderText {#text} at (2,222) size 18x4
text run at (2,222) width 4: " "
RenderBR {BR} at (6,226) size 0x0
RenderInline {SPAN} at (0,0) size 220x18 [border: (5px solid #000000) none (5px solid #000000) none]
RenderInline {SPAN} at (0,0) size 18x220 [border: (5px solid #000000) none (5px solid #000000) none]
RenderImage {IMG} at (110,12) size 100x200 [bgcolor=#008000]
RenderText {#text} at (106,222) size 4x18
RenderText {#text} at (106,222) size 18x4
text run at (106,222) width 4: " "
RenderBR {BR} at (110,226) size 0x0
RenderInline {SPAN} at (0,0) size 220x18 [border: (5px solid #000000) none (5px solid #000000) none]
RenderInline {SPAN} at (0,0) size 18x220 [border: (5px solid #000000) none (5px solid #000000) none]
RenderImage {IMG} at (214,12) size 100x200 [bgcolor=#008000]
RenderText {#text} at (0,0) size 0x0
Expand Up @@ -3,8 +3,8 @@ layer at (0,0) size 800x600
layer at (0,0) size 460x600
RenderBlock {HTML} at (0,0) size 460x600
RenderBody {BODY} at (8,8) size 444x584
RenderInline {SPAN} at (0,0) size 252x121 [border: (21px none #000000) (30px none #000000) (21px none #000000)]
RenderInline {SPAN} at (0,0) size 323x80 [border: (21px none #000000) (30px none #000000) (21px none #000000)]
RenderBlock {DIV} at (93,101) size 0x25
RenderBR {BR} at (71,126) size 0x100
RenderBR {BR} at (71,126) size 100x0
RenderBlock {DIV} at (265,50) size 0x50
RenderText {#text} at (0,0) size 0x0
Expand Up @@ -3,8 +3,8 @@ layer at (0,0) size 800x600
layer at (340,0) size 460x600
RenderBlock {HTML} at (0,0) size 460x600
RenderBody {BODY} at (8,8) size 444x584
RenderInline {SPAN} at (0,0) size 252x121 [border: (21px none #000000) (30px none #000000) (21px none #000000)]
RenderInline {SPAN} at (0,0) size 323x80 [border: (21px none #000000) (30px none #000000) (21px none #000000)]
RenderBlock {DIV} at (164,101) size 0x25
RenderBR {BR} at (86,126) size 0x100
RenderBR {BR} at (86,126) size 100x0
RenderBlock {DIV} at (336,50) size 0x50
RenderText {#text} at (0,0) size 0x0
Expand Up @@ -4,10 +4,10 @@ layer at (0,0) size 785x621
RenderBlock {HTML} at (0,0) size 785x600
RenderBody {BODY} at (8,8) size 727x584
RenderBlock {DIV} at (0,0) size 144x600
RenderInline {SPAN} at (0,0) size 613x65 [bgcolor=#0000FF]
RenderInline {SPAN} at (0,0) size 137x613 [bgcolor=#0000FF]
RenderText {#text} at (0,0) size 0x0
RenderInline {SPAN} at (0,0) size 598x50 [bgcolor=#FFFFE0] [border: (5px solid #008000)]
RenderText {#text} at (5,35) size 578x20
RenderInline {SPAN} at (0,0) size 137x613 [bgcolor=#FFFFE0] [border: (5px solid #008000)]
RenderText {#text} at (5,35) size 127x613
text run at (5,35) width 578: "This sentence is too long to fit"
text run at (77,0) width 302: "on a single line."
RenderText {#text} at (0,0) size 0x0
@@ -1 +1 @@
30657bb8adbb3c333bf2920cae041ad0
902397878764a7659f5b994fc8d5d02c
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -1,25 +1,25 @@
layer at (0,0) size 1181x585
RenderView at (0,0) size 800x585
layer at (0,0) size 1181x585
RenderBlock {HTML} at (0,0) size 772x585
RenderBody {BODY} at (8,8) size 756x569
RenderInline {SPAN} at (0,0) size 676x29 [border: (2px solid #000000)]
RenderText {#text} at (4,4) size 676x17
text run at (4,4) width 529: "\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}"
text run at (67,0) width 529: "\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B}\x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}"
text run at (130,0) width 550: "\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}"
text run at (193,0) width 212: "\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}"
RenderText {#text} at (193,216) size 7x21
text run at (193,216) width 7: " "
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 772x600
RenderBlock {HTML} at (0,0) size 772x600
RenderBody {BODY} at (8,8) size 756x584
RenderInline {SPAN} at (0,0) size 218x554 [border: (2px solid #000000)]
RenderText {#text} at (4,4) size 210x554
text run at (4,4) width 550: "\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}"
text run at (67,0) width 550: "\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B}\x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}"
text run at (130,0) width 550: "\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}"
text run at (193,0) width 170: "\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}"
RenderText {#text} at (193,174) size 21x7
text run at (193,174) width 7: " "
RenderBR {BR} at (0,0) size 0x0
RenderBR {BR} at (252,0) size 0x21
RenderInline {SPAN} at (0,0) size 858x35 [border: (5px solid #000000)]
RenderText {#text} at (322,7) size 851x14
text run at (322,7) width 529: "\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}"
text run at (385,0) width 536: "\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}"
text run at (448,0) width 550: "\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}"
text run at (511,0) width 550: "\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}"
text run at (574,0) width 529: "\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}"
text run at (637,0) width 529: "\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}"
text run at (700,0) width 473: "\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}"
RenderBR {BR} at (252,0) size 21x0
RenderInline {SPAN} at (0,0) size 413x558 [border: (5px solid #000000)]
RenderText {#text} at (322,7) size 399x558
text run at (322,7) width 550: "\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}"
text run at (385,0) width 558: "\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}"
text run at (448,0) width 550: "\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}"
text run at (511,0) width 550: "\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}"
text run at (574,0) width 550: "\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}"
text run at (637,0) width 558: "\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B} \x{306A}"
text run at (700,0) width 381: "\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}"
RenderText {#text} at (0,0) size 0x0
Expand Up @@ -4,14 +4,14 @@ layer at (0,0) size 785x608
RenderBlock {HTML} at (0,0) size 785x600
RenderBody {BODY} at (8,8) size 769x584
RenderBlock {DIV} at (0,0) size 144x600
RenderInline {SPAN} at (0,0) size 598x203 [bgcolor=#FFFFE0] [border: (5px solid #008000)]
RenderText {#text} at (5,21) size 578x173
RenderInline {SPAN} at (0,0) size 137x598 [bgcolor=#FFFFE0] [border: (5px solid #008000)]
RenderText {#text} at (5,21) size 127x578
text run at (5,21) width 578: "This sentence is too long to fit"
text run at (77,139) width 302: "on a single line."
RenderText {#text} at (0,0) size 0x0
RenderBlock {DIV} at (194,0) size 144x600
RenderInline {SPAN} at (0,0) size 598x203 [bgcolor=#FFFFE0] [border: (5px solid #008000)]
RenderText {#text} at (5,21) size 578x173
RenderInline {SPAN} at (0,0) size 137x598 [bgcolor=#FFFFE0] [border: (5px solid #008000)]
RenderText {#text} at (5,21) size 127x578
text run at (5,21) width 578: "This sentence is too long to fit"
text run at (77,139) width 302: "on a single line."
RenderText {#text} at (0,0) size 0x0
Expand Up @@ -4,14 +4,14 @@ layer at (0,0) size 785x608
RenderBlock {HTML} at (0,0) size 785x600
RenderBody {BODY} at (8,8) size 769x584
RenderBlock {DIV} at (0,0) size 144x600
RenderInline {SPAN} at (0,0) size 598x203 [bgcolor=#FFFFE0] [border: (5px solid #008000)]
RenderText {#text} at (8,21) size 578x173
RenderInline {SPAN} at (0,0) size 137x598 [bgcolor=#FFFFE0] [border: (5px solid #008000)]
RenderText {#text} at (8,21) size 127x578
text run at (8,21) width 578: "This sentence is too long to fit"
text run at (80,139) width 302: "on a single line."
RenderText {#text} at (0,0) size 0x0
RenderBlock {DIV} at (194,0) size 144x600
RenderInline {SPAN} at (0,0) size 598x203 [bgcolor=#FFFFE0] [border: (5px solid #008000)]
RenderText {#text} at (8,21) size 578x173
RenderInline {SPAN} at (0,0) size 137x598 [bgcolor=#FFFFE0] [border: (5px solid #008000)]
RenderText {#text} at (8,21) size 127x578
text run at (8,21) width 578: "This sentence is too long to fit"
text run at (80,139) width 302: "on a single line."
RenderText {#text} at (0,0) size 0x0
Expand Up @@ -4,31 +4,31 @@ layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderBlock {DIV} at (0,0) size 132x500
RenderInline {SPAN} at (0,0) size 395x22
RenderText {#text} at (0,0) size 395x22
RenderInline {SPAN} at (0,0) size 22x395
RenderText {#text} at (0,0) size 22x395
text run at (0,0) width 395: "This text should be rotated 90 degrees and underlined."
RenderText {#text} at (0,395) size 5x22
RenderText {#text} at (0,395) size 22x5
text run at (0,395) width 5: " "
RenderBR {BR} at (5,400) size 0x0
RenderInline {SPAN} at (0,0) size 386x22
RenderText {#text} at (22,0) size 386x22
RenderInline {SPAN} at (0,0) size 22x386
RenderText {#text} at (22,0) size 22x386
text run at (22,0) width 386: "This text should be rotated 90 degrees and overlined."
RenderText {#text} at (22,386) size 5x22
RenderText {#text} at (22,386) size 22x5
text run at (22,386) width 5: " "
RenderBR {BR} at (27,391) size 0x0
RenderInline {SPAN} at (0,0) size 423x22
RenderText {#text} at (44,0) size 423x22
RenderInline {SPAN} at (0,0) size 22x423
RenderText {#text} at (44,0) size 22x423
text run at (44,0) width 423: "This text should be rotated 90 degrees and struck through."
RenderText {#text} at (44,423) size 5x22
RenderText {#text} at (44,423) size 22x5
text run at (44,423) width 5: " "
RenderBR {BR} at (49,428) size 0x0
RenderInline {SPAN} at (0,0) size 449x22
RenderText {#text} at (66,0) size 449x22
RenderInline {SPAN} at (0,0) size 22x449
RenderText {#text} at (66,0) size 22x449
text run at (66,0) width 449: "This text should have a red shadow that is offset horizontally."
RenderText {#text} at (66,449) size 5x22
RenderText {#text} at (66,449) size 22x5
text run at (66,449) width 5: " "
RenderBR {BR} at (71,454) size 0x0
RenderBR {BR} at (88,0) size 0x22
RenderInline {SPAN} at (0,0) size 460x22
RenderText {#text} at (110,0) size 460x22
RenderBR {BR} at (88,0) size 22x0
RenderInline {SPAN} at (0,0) size 22x460
RenderText {#text} at (110,0) size 22x460
text run at (110,0) width 460: "This text should have an overline plus horizontal green shadow"
Expand Up @@ -5,10 +5,10 @@ layer at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 504x584 [border: (2px solid #000000)]
RenderBlock {DIV} at (18,2) size 204x580 [border: (2px solid #800000)]
RenderBlock (floating) {DIV} at (2,478) size 100x100 [bgcolor=#00FF00]
RenderText {#text} at (2,2) size 280x18
RenderText {#text} at (2,2) size 36x472
text run at (2,2) width 280: "Here is some text in a vertical-rl block flow. "
text run at (2,282) width 192: "The block direction is right-to-"
text run at (20,2) width 24: "left."
RenderBR {BR} at (34,26) size 0x0
RenderText {#text} at (38,2) size 203x18
RenderText {#text} at (38,2) size 18x203
text run at (38,2) width 203: "This line should also be vertical."

0 comments on commit a0a9552

Please sign in to comment.