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

Unified Diff: LayoutTests/platform/linux/fast/css/text-align-positioned-inside-table-cell-expected.txt

Issue 150403003: Consider text alignment and direction when computing the left offset for horizontal writing modes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@issue313593
Patch Set: Created 6 years, 11 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/linux/fast/css/text-align-positioned-inside-table-cell-expected.txt
diff --git a/LayoutTests/platform/linux/fast/css/text-align-positioned-inside-table-cell-expected.txt b/LayoutTests/platform/linux/fast/css/text-align-positioned-inside-table-cell-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c03f3ac9784ba0771adea892b416f79559108aca
--- /dev/null
+++ b/LayoutTests/platform/linux/fast/css/text-align-positioned-inside-table-cell-expected.txt
@@ -0,0 +1,90 @@
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x200
+ RenderBlock {HTML} at (0,0) size 800x200.16
+ RenderBody {BODY} at (8,16) size 784x176.16
+ RenderBlock {P} at (0,0) size 784x20
+ RenderText {#text} at (0,0) size 717x19
+ text run at (0,0) width 717: "Test case to check that absolutely positioned text inside table cells with 'relative' positioning are rendered inside the cells"
+ RenderBlock {H1} at (0,36) size 784x20
+ RenderText {#text} at (0,0) size 355x19
+ text run at (0,0) width 355: "Checking different alignments for Left-To-Right text:"
+ RenderTable {TABLE} at (0,66.72) size 614x34
+ RenderTableSection {TBODY} at (0,0) size 614x34
+ RenderTableRow {TR} at (0,2) size 614x30
+ RenderBlock {H1} at (0,111.44) size 784x20
+ RenderText {#text} at (0,0) size 355x19
+ text run at (0,0) width 355: "Checking different alignments for Right-To-Left text:"
+ RenderTable {TABLE} at (0,142.16) size 614x34
+ RenderTableSection {TBODY} at (0,0) size 614x34
+ RenderTableRow {TR} at (0,2) size 614x30
+layer at (10,85) size 100x30
+ RenderTableCell {TD} at (2,2) size 100x30 [bgcolor=#EEAADD] [r=0 c=0 rs=1 cs=1]
+ RenderInline {SPAN} at (0,0) size 57x19
+ RenderText {#text} at (0,5) size 57x19
+ text run at (0,5) width 57: "static text"
+layer at (112,85) size 100x30
+ RenderTableCell {TD} at (104,12) size 100x10 [bgcolor=#DDEEAA] [r=0 c=1 rs=1 cs=1]
+layer at (112,92) size 26x20
+ RenderBlock (positioned) {SPAN} at (0,-3) size 26x20
+ RenderText {#text} at (0,0) size 26x19
+ text run at (0,0) width 26: "One"
+layer at (214,85) size 100x30
+ RenderTableCell {TD} at (206,12) size 100x10 [bgcolor=#DDEEAA] [r=0 c=2 rs=1 cs=1]
+layer at (286,92) size 28x20
+ RenderBlock (positioned) {SPAN} at (72,-3) size 28x20
+ RenderText {#text} at (0,0) size 28x19
+ text run at (0,0) width 28: "Two"
+layer at (316,85) size 100x30
+ RenderTableCell {TD} at (308,12) size 100x10 [bgcolor=#DDEEAA] [r=0 c=3 rs=1 cs=1]
+layer at (366,92) size 35x20
+ RenderBlock (positioned) {SPAN} at (50,-3) size 35x20
+ RenderText {#text} at (0,0) size 35x19
+ text run at (0,0) width 35: "Three"
+layer at (418,85) size 100x30
+ RenderTableCell {TD} at (410,12) size 100x10 [bgcolor=#DDEEAA] [r=0 c=4 rs=1 cs=1]
+layer at (418,92) size 29x20
+ RenderBlock (positioned) {SPAN} at (0,-3) size 29x20
+ RenderText {#text} at (0,0) size 29x19
+ text run at (0,0) width 29: "Four"
+layer at (520,85) size 100x30
+ RenderTableCell {TD} at (512,12) size 100x10 [bgcolor=#DDEEAA] [r=0 c=5 rs=1 cs=1]
+layer at (594,92) size 26x20
+ RenderBlock (positioned) {SPAN} at (74,-3) size 26x20
+ RenderText {#text} at (0,0) size 26x19
+ text run at (0,0) width 26: "Five"
+layer at (520,160) size 100x30
+ RenderTableCell {TD} at (512,12) size 100x10 [bgcolor=#DDEEAA] [r=0 c=0 rs=1 cs=1]
+layer at (520,167) size 26x20
+ RenderBlock (positioned) {SPAN} at (0,-3) size 26x20
+ RenderText {#text} at (0,0) size 26x19
+ text run at (0,0) width 26: "One"
+layer at (418,160) size 100x30
+ RenderTableCell {TD} at (410,12) size 100x10 [bgcolor=#DDEEAA] [r=0 c=1 rs=1 cs=1]
+layer at (490,167) size 28x20
+ RenderBlock (positioned) {SPAN} at (72,-3) size 28x20
+ RenderText {#text} at (0,0) size 28x19
+ text run at (0,0) width 28: "Two"
+layer at (316,160) size 100x30
+ RenderTableCell {TD} at (308,12) size 100x10 [bgcolor=#DDEEAA] [r=0 c=2 rs=1 cs=1]
+layer at (331,167) size 35x20
+ RenderBlock (positioned) {SPAN} at (15,-3) size 35x20
+ RenderText {#text} at (0,0) size 35x19
+ text run at (0,0) width 35: "Three"
+layer at (214,160) size 100x30
+ RenderTableCell {TD} at (206,12) size 100x10 [bgcolor=#DDEEAA] [r=0 c=3 rs=1 cs=1]
+layer at (285,167) size 29x20
+ RenderBlock (positioned) {SPAN} at (71,-3) size 29x20
+ RenderText {#text} at (0,0) size 29x19
+ text run at (0,0) width 29: "Four"
+layer at (112,160) size 100x30
+ RenderTableCell {TD} at (104,12) size 100x10 [bgcolor=#DDEEAA] [r=0 c=4 rs=1 cs=1]
+layer at (112,167) size 26x20
+ RenderBlock (positioned) {SPAN} at (0,-3) size 26x20
+ RenderText {#text} at (0,0) size 26x19
+ text run at (0,0) width 26: "Five"
+layer at (10,160) size 100x30
+ RenderTableCell {TD} at (2,2) size 100x30 [bgcolor=#EEAADD] [r=0 c=5 rs=1 cs=1]
+ RenderInline {SPAN} at (0,0) size 57x19
+ RenderText {#text} at (43,5) size 57x19
+ text run at (43,5) width 57: "static text"

Powered by Google App Engine
This is Rietveld 408576698