Changeset 201677 in webkit
- Timestamp:
- Jun 3, 2016 7:04:58 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r201676 r201677 1 2016-06-03 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Bopomofo ruby in Dictionary.app is written horizontally (when it should be written vertically) 4 https://bugs.webkit.org/show_bug.cgi?id=158245 5 <rdar://problem/25675318> 6 7 Reviewed by Darin Adler. 8 9 Rebaselined fast/table/border-collapsing/004-vertical.html to show a progression. 10 11 * fast/text/orthogonal-writing-mode-containing-block-frameView-resize-relayout-expected.html: Added. 12 * fast/text/orthogonal-writing-mode-containing-block-frameView-resize-relayout.html: Added. 13 * platform/mac/fast/table/border-collapsing/004-vertical-expected.png: Rebased 14 * platform/mac/fast/table/border-collapsing/004-vertical-expected.txt: Rebased 15 1 16 2016-06-03 Myles C. Maxfield <mmaxfield@apple.com> 2 17 -
trunk/LayoutTests/platform/mac/fast/table/border-collapsing/004-vertical-expected.txt
r195740 r201677 1 layer at (0,0) size 15 32x8991 layer at (0,0) size 1550x884 2 2 RenderView at (0,0) size 785x585 3 layer at (0,0) size 785x8 994 RenderBlock {HTML} at (0,0) size 785x8 995 RenderBody {BODY} at (8,21) size 769x8 703 layer at (0,0) size 785x884 4 RenderBlock {HTML} at (0,0) size 785x884 5 RenderBody {BODY} at (8,21) size 769x855 6 6 RenderBlock {H1} at (0,0) size 769x37 7 7 RenderText {#text} at (0,0) size 289x37 … … 30 30 text run at (0,150) width 671: "TABLE.five TR, TABLE.five COL, TABLE.five COLGROUP, TABLE.five TBODY, TABLE.five THEAD" 31 31 text run at (0,165) width 258: " { border: medium solid red; }" 32 RenderBlock {DIV} at (0,285) size 15 24x58533 RenderTable {TABLE} at (16,16) size 238x5 52[border: (1px solid #0000FF)]34 RenderTableSection {TBODY} at (1,1) size 235x5 4935 RenderTableRow {TR} at (0,0) size 31x5 4936 RenderTableCell {TH} at (0,0) size 31x1 84[border: (2px solid #800080)] [r=0 c=0 rs=1 cs=1]37 RenderText {#text} at (6, 51) size 18x8338 text run at (6, 51) width 83: "Header One"39 RenderTableCell {TH} at (0,1 83) size 31x175[border: (2px solid #800080)] [r=0 c=1 rs=1 cs=1]40 RenderText {#text} at (6,4 5) size 18x8541 text run at (6,4 5) width 84: "Header Two"42 RenderTableCell {TH} at (0,3 57) size 31x193[border: (2px solid #800080)] [r=0 c=2 rs=1 cs=1]43 RenderText {#text} at (6,4 8) size 18x9644 text run at (6,4 8) width 95: "Header Three"45 RenderTableRow {TR} at (0,31) size 102x5 4946 RenderTableCell {TD} at (31,27) size 102x1 30[border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]32 RenderBlock {DIV} at (0,285) size 1542x570 33 RenderTable {TABLE} at (16,16) size 238x537 [border: (1px solid #0000FF)] 34 RenderTableSection {TBODY} at (1,1) size 235x534 35 RenderTableRow {TR} at (0,0) size 31x534 36 RenderTableCell {TH} at (0,0) size 31x179 [border: (2px solid #800080)] [r=0 c=0 rs=1 cs=1] 37 RenderText {#text} at (6,48) size 18x84 38 text run at (6,48) width 83: "Header One" 39 RenderTableCell {TH} at (0,178) size 31x170 [border: (2px solid #800080)] [r=0 c=1 rs=1 cs=1] 40 RenderText {#text} at (6,43) size 18x84 41 text run at (6,43) width 84: "Header Two" 42 RenderTableCell {TH} at (0,347) size 31x188 [border: (2px solid #800080)] [r=0 c=2 rs=1 cs=1] 43 RenderText {#text} at (6,46) size 18x96 44 text run at (6,46) width 95: "Header Three" 45 RenderTableRow {TR} at (0,31) size 102x534 46 RenderTableCell {TD} at (31,27) size 102x125 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1] 47 47 RenderText {#text} at (33,-20) size 36x161 48 48 text run at (33,-20) width 119: "This table uses the" 49 49 text run at (51,-20) width 161: "collapsed borders model." 50 RenderTableCell {TD} at (31, 201) size 102x139[border: (1px solid #008000)] [r=1 c=1 rs=1 cs=1]51 RenderText {#text} at (24,-12) size 54x1 6352 text run at (24,-12) width 1 63: "This means that elements"53 text run at (42,-12) width 1 46: "within the cell have no"54 text run at (60,-12) width 1 00: "border-spacing."55 RenderTableCell {TD} at (31,3 57) size 102x193[border: (1px solid #008000)] [r=1 c=2 rs=1 cs=1]50 RenderTableCell {TD} at (31,196) size 102x134 [border: (1px solid #008000)] [r=1 c=1 rs=1 cs=1] 51 RenderText {#text} at (24,-12) size 54x154 52 text run at (24,-12) width 102: "This means that" 53 text run at (42,-12) width 153: "elements within the cell" 54 text run at (60,-12) width 154: "have no border-spacing." 55 RenderTableCell {TD} at (31,347) size 102x188 [border: (1px solid #008000)] [r=1 c=2 rs=1 cs=1] 56 56 RenderText {#text} at (6,6) size 90x172 57 57 text run at (6,6) width 139: "Since it has collapsed" … … 61 61 text run at (60,6) width 154: "should be medium solid" 62 62 text run at (78,6) width 45: "purple." 63 RenderTableRow {TR} at (0,133) size 102x5 4964 RenderTableCell {TD} at (133,0) size 102x1 84[border: (2px solid #008000)] [r=2 c=0 rs=1 cs=1]63 RenderTableRow {TR} at (0,133) size 102x534 64 RenderTableCell {TD} at (133,0) size 102x179 [border: (2px solid #008000)] [r=2 c=0 rs=1 cs=1] 65 65 RenderText {#text} at (5,7) size 90x157 66 66 text run at (5,7) width 147: "The border of the table" … … 70 70 text run at (59,7) width 157: "header cells override the" 71 71 text run at (77,7) width 45: "border." 72 RenderTableCell {TD} at (133,1 83) size 102x175[border: (1px solid #008000)] [r=2 c=1 rs=1 cs=1]72 RenderTableCell {TD} at (133,178) size 102x170 [border: (1px solid #008000)] [r=2 c=1 rs=1 cs=1] 73 73 RenderText {#text} at (5,6) size 90x154 74 74 text run at (5,6) width 115: "The borders that I" … … 78 78 text run at (59,58) width 101: "ones) should be" 79 79 text run at (77,6) width 104: "thin solid green." 80 RenderTableCell {TD} at (133,3 57) size 102x193[border: (1px solid #008000)] [r=2 c=2 rs=1 cs=1]80 RenderTableCell {TD} at (133,347) size 102x188 [border: (1px solid #008000)] [r=2 c=2 rs=1 cs=1] 81 81 RenderText {#text} at (5,6) size 72x156 82 82 text run at (5,6) width 156: "This table should have a" … … 91 91 RenderText {#text} at (77,6) size 18x82 92 92 text run at (77,6) width 82: "of its border." 93 RenderTable {TABLE} at (270,16) size 290x552[border: (3px solid #0000FF)]94 RenderTableSection {TBODY} at (3,3) size 284x54695 RenderTableRow {TR} at (0,16) size 34x5 4696 RenderTableCell {TH} at (16,16) size 34x11 9[border: (3px solid #800080)] [r=0 c=0 rs=1 cs=1]97 RenderText {#text} at (8,1 7) size 18x8498 text run at (8,1 7) width 83: "Header One"99 RenderTableCell {TH} at (16,1 50) size 34x140[border: (3px solid #800080)] [r=0 c=1 rs=1 cs=1]100 RenderText {#text} at (8,2 7) size 18x85101 text run at (8,2 7) width 84: "Header Two"102 RenderTableCell {TH} at (16, 305) size 34x226[border: (3px solid #800080)] [r=0 c=2 rs=1 cs=1]103 RenderText {#text} at (8,6 4) size 18x96104 text run at (8,6 4) width 95: "Header Three"105 RenderTableRow {TR} at (0,66) size 84x546106 RenderTableCell {TD} at (66, 25) size 84x101[border: (1px solid #008000)] [r=1 c=0 rs=1 cs=1]107 RenderText {#text} at ( 15,-3) size 54x96108 text run at ( 15,-3) width 96: "This table uses"109 text run at ( 33,-3) width 84: "the separated"110 text run at ( 51,-3) width 96: "borders model."111 RenderTableCell {TD} at (66,1 50) size 84x140[border: (1px solid #008000)] [r=1 c=1 rs=1 cs=1]112 RenderText {#text} at (6,6) size 72x12693 RenderTable {TABLE} at (270,16) size 308x537 [border: (3px solid #0000FF)] 94 RenderTableSection {TBODY} at (3,3) size 302x531 95 RenderTableRow {TR} at (0,16) size 34x531 96 RenderTableCell {TH} at (16,16) size 34x115 [border: (3px solid #800080)] [r=0 c=0 rs=1 cs=1] 97 RenderText {#text} at (8,15) size 18x84 98 text run at (8,15) width 83: "Header One" 99 RenderTableCell {TH} at (16,146) size 34x136 [border: (3px solid #800080)] [r=0 c=1 rs=1 cs=1] 100 RenderText {#text} at (8,25) size 18x85 101 text run at (8,25) width 84: "Header Two" 102 RenderTableCell {TH} at (16,297) size 34x219 [border: (3px solid #800080)] [r=0 c=2 rs=1 cs=1] 103 RenderText {#text} at (8,61) size 18x96 104 text run at (8,61) width 95: "Header Three" 105 RenderTableRow {TR} at (0,66) size 102x531 106 RenderTableCell {TD} at (66,34) size 102x79 [border: (1px solid #008000)] [r=1 c=0 rs=1 cs=1] 107 RenderText {#text} at (24,-12) size 54x96 108 text run at (24,-12) width 96: "This table uses" 109 text run at (42,-12) width 84: "the separated" 110 text run at (60,-12) width 96: "borders model." 111 RenderTableCell {TD} at (66,146) size 102x136 [border: (1px solid #008000)] [r=1 c=1 rs=1 cs=1] 112 RenderText {#text} at (6,6) size 90x113 113 113 text run at (6,6) width 102: "This means that" 114 text run at (24,6) width 126: "elements within the" 115 text run at (42,6) width 109: "cell have border-" 116 text run at (60,6) width 102: "spacing of 1em." 117 RenderTableCell {TD} at (66,314) size 84x208 [border: (1px solid #008000)] [r=1 c=2 rs=1 cs=1] 118 RenderText {#text} at (15,-3) size 54x205 119 text run at (15,-3) width 205: "The borders on the header cells," 120 text run at (33,-3) width 199: "on all sides, should be medium" 121 text run at (51,-3) width 80: "solid purple." 122 RenderTableRow {TR} at (0,166) size 102x546 123 RenderTableCell {TD} at (166,16) size 102x119 [border: (1px solid #008000)] [r=2 c=0 rs=1 cs=1] 114 text run at (24,6) width 102: "elements within" 115 text run at (42,6) width 81: "the cell have" 116 text run at (60,6) width 113: "border-spacing of" 117 text run at (78,6) width 32: "1em." 118 RenderTableCell {TD} at (66,315) size 102x183 [border: (1px solid #008000)] [r=1 c=2 rs=1 cs=1] 119 RenderText {#text} at (24,-12) size 54x205 120 text run at (24,-12) width 205: "The borders on the header cells," 121 text run at (42,-12) width 199: "on all sides, should be medium" 122 text run at (60,-12) width 80: "solid purple." 123 RenderTableRow {TR} at (0,184) size 102x531 124 RenderTableCell {TD} at (184,16) size 102x115 [border: (1px solid #008000)] [r=2 c=0 rs=1 cs=1] 124 125 RenderText {#text} at (6,6) size 90x91 125 126 text run at (6,6) width 88: "The border of" … … 128 129 text run at (60,6) width 88: "medium solid" 129 130 text run at (78,6) width 32: "blue." 130 RenderTableCell {TD} at (1 66,168) size 102x104[border: (1px solid #008000)] [r=2 c=1 rs=1 cs=1]131 RenderTableCell {TD} at (184,164) size 102x100 [border: (1px solid #008000)] [r=2 c=1 rs=1 cs=1] 131 132 RenderText {#text} at (24,-12) size 54x123 132 133 text run at (24,-12) width 95: "The borders of" 133 134 text run at (42,-12) width 113: "other cells should" 134 135 text run at (60,-12) width 123: "be thin solid green." 135 RenderTableCell {TD} at (1 66,314) size 102x208[border: (1px solid #008000)] [r=2 c=2 rs=1 cs=1]136 RenderTableCell {TD} at (184,306) size 102x201 [border: (1px solid #008000)] [r=2 c=2 rs=1 cs=1] 136 137 RenderText {#text} at (15,-3) size 54x191 137 138 text run at (15,-3) width 188: "This table should have a 1em" … … 145 146 RenderText {#text} at (69,64) size 18x87 146 147 text run at (69,64) width 86: " of its border." 147 RenderTable {TABLE} at (5 76,16) size 348x552[border: (3px solid #0000FF)]148 RenderTableSection {TBODY} at (3,3) size 342x5 46149 RenderTableRow {TR} at (0,8) size 34x5 46150 RenderTableCell {TH} at (8,0) size 34x1 42[border: (3px solid #800080)] [r=0 c=0 rs=1 cs=1]151 RenderText {#text} at (8,2 9) size 18x84152 text run at (8,2 9) width 83: "Header One"153 RenderTableCell {TH} at (8,1 41) size 34x200[border: (3px solid #800080)] [r=0 c=1 rs=1 cs=1]154 RenderText {#text} at (8,5 7) size 18x85155 text run at (8,5 7) width 84: "Header Two"156 RenderTableCell {TH} at (8,3 40) size 34x207[border: (3px solid #800080)] [r=0 c=2 rs=1 cs=1]157 RenderText {#text} at (8,5 5) size 18x96158 text run at (8,5 5) width 95: "Header Three"159 RenderTableRow {TR} at (0,50) size 138x5 46160 RenderTableCell {TD} at (50,36) size 138x 70[border: (1px solid #008000)] [r=1 c=0 rs=1 cs=1]148 RenderTable {TABLE} at (594,16) size 348x537 [border: (3px solid #0000FF)] 149 RenderTableSection {TBODY} at (3,3) size 342x531 150 RenderTableRow {TR} at (0,8) size 34x531 151 RenderTableCell {TH} at (8,0) size 34x138 [border: (3px solid #800080)] [r=0 c=0 rs=1 cs=1] 152 RenderText {#text} at (8,27) size 18x84 153 text run at (8,27) width 83: "Header One" 154 RenderTableCell {TH} at (8,137) size 34x195 [border: (3px solid #800080)] [r=0 c=1 rs=1 cs=1] 155 RenderText {#text} at (8,55) size 18x84 156 text run at (8,55) width 84: "Header Two" 157 RenderTableCell {TH} at (8,331) size 34x201 [border: (3px solid #800080)] [r=0 c=2 rs=1 cs=1] 158 RenderText {#text} at (8,52) size 18x96 159 text run at (8,52) width 95: "Header Three" 160 RenderTableRow {TR} at (0,50) size 138x531 161 RenderTableCell {TD} at (50,36) size 138x66 [border: (1px solid #008000)] [r=1 c=0 rs=1 cs=1] 161 162 RenderText {#text} at (42,-30) size 54x119 162 163 text run at (42,-30) width 119: "This table uses the" 163 164 text run at (60,-30) width 113: "separated borders" 164 165 text run at (78,-30) width 44: "model." 165 RenderTableCell {TD} at (50,1 41) size 138x200[border: (1px solid #008000)] [r=1 c=1 rs=1 cs=1]166 RenderText {#text} at (6,6) size 126x18 4166 RenderTableCell {TD} at (50,137) size 138x195 [border: (1px solid #008000)] [r=1 c=1 rs=1 cs=1] 167 RenderText {#text} at (6,6) size 126x181 167 168 text run at (6,6) width 156: "Elements within the cell" 168 169 text run at (24,6) width 150: "have horizontal border-" … … 171 172 text run at (78,6) width 52: "vertical " 172 173 text run at (78,57) width 129: "border-spacing (i.e.," 173 text run at (96,6) width 1 84: "height of horizontal lines) of"174 text run at (114,6) width 44: "0.5em."175 RenderTableCell {TD} at (50,3 76) size 138x135[border: (1px solid #008000)] [r=1 c=2 rs=1 cs=1]174 text run at (96,6) width 166: "height of horizontal lines)" 175 text run at (114,6) width 61: "of 0.5em." 176 RenderTableCell {TD} at (50,367) size 138x129 [border: (1px solid #008000)] [r=1 c=2 rs=1 cs=1] 176 177 RenderText {#text} at (42,-30) size 54x180 177 178 text run at (42,-30) width 168: "The borders on the header" … … 179 180 text run at (60,7) width 142: "on all sides, should be" 180 181 text run at (78,-30) width 137: "medium solid purple." 181 RenderTableRow {TR} at (0,196) size 138x5 46182 RenderTableCell {TD} at (196,0) size 138x1 42[border: (1px solid #008000)] [r=2 c=0 rs=1 cs=1]183 RenderText {#text} at (6,6) size 126x1 26182 RenderTableRow {TR} at (0,196) size 138x531 183 RenderTableCell {TD} at (196,0) size 138x138 [border: (1px solid #008000)] [r=2 c=0 rs=1 cs=1] 184 RenderText {#text} at (6,6) size 126x114 184 185 text run at (6,6) width 112: "The border of the" 185 186 text run at (24,6) width 114: "table itself should" … … 188 189 text run at (60,41) width 77: "The borders" 189 190 text run at (78,6) width 84: "of other cells" 190 text run at (96,6) width 126: "should be thin solid" 191 text run at (114,6) width 40: "green." 192 RenderTableCell {TD} at (196,159) size 138x164 [border: (1px solid #008000)] [r=2 c=1 rs=1 cs=1] 193 RenderText {#text} at (24,-12) size 72x188 194 text run at (24,-12) width 188: "This table should have a 1em" 195 text run at (42,-12) width 158: "margin around all edges." 196 text run at (60,-12) width 82: "This margin " 197 text run at (60,69) width 76: "is measured" 198 text run at (78,-12) width 59: "from the " 199 RenderInline {EM} at (0,0) size 18x69 200 RenderText {#text} at (78,46) size 18x69 201 text run at (78,46) width 68: "outer edge" 202 RenderText {#text} at (78,114) size 36x164 203 text run at (78,114) width 37: " of its" 204 text run at (96,-12) width 45: "border." 205 RenderTableCell {TD} at (196,349) size 138x189 [border: (1px solid #008000)] [r=2 c=2 rs=1 cs=1] 206 RenderText {#text} at (15,-3) size 108x192 207 text run at (15,-3) width 191: "The table should not be wider" 208 text run at (33,-3) width 187: "than the room available for it" 209 text run at (51,-3) width 44: "unless " 210 text run at (51,41) width 111: "that space is very" 211 text run at (69,-3) width 43: "small. " 212 text run at (69,39) width 150: "Because of its margins," 213 text run at (87,-3) width 105: "the width of the " 214 text run at (87,101) width 78: "table should" 215 text run at (105,-3) width 120: "be less than 100%." 216 RenderTable {TABLE} at (940,16) size 280x552 [border: (3px solid #0000FF)] 217 RenderTableSection {TBODY} at (3,3) size 274x546 218 RenderTableRow {TR} at (0,0) size 34x546 219 RenderTableCell {TH} at (0,8) size 34x149 [border: (3px solid #800080)] [r=0 c=0 rs=1 cs=1] 220 RenderText {#text} at (8,32) size 18x84 221 text run at (8,32) width 83: "Header One" 222 RenderTableCell {TH} at (0,164) size 34x151 [border: (3px solid #800080)] [r=0 c=1 rs=1 cs=1] 223 RenderText {#text} at (8,33) size 18x84 224 text run at (8,33) width 84: "Header Two" 225 RenderTableCell {TH} at (0,322) size 34x217 [border: (3px solid #800080)] [r=0 c=2 rs=1 cs=1] 226 RenderText {#text} at (8,60) size 18x96 227 text run at (8,60) width 95: "Header Three" 228 RenderTableRow {TR} at (0,34) size 102x546 229 RenderTableCell {TD} at (34,26) size 102x113 [border: (1px solid #008000)] [r=1 c=0 rs=1 cs=1] 191 text run at (96,6) width 91: "should be thin" 192 text run at (114,6) width 75: "solid green." 193 RenderTableCell {TD} at (196,155) size 138x159 [border: (1px solid #008000)] [r=2 c=1 rs=1 cs=1] 194 RenderText {#text} at (24,-12) size 72x156 195 text run at (24,-12) width 156: "This table should have a" 196 text run at (42,-12) width 146: "1em margin around all" 197 text run at (60,-12) width 45: "edges. " 198 text run at (60,32) width 82: "This margin " 199 text run at (60,113) width 11: "is" 200 text run at (78,-12) width 124: "measured from the " 201 RenderInline {EM} at (0,0) size 36x158 202 RenderText {#text} at (78,111) size 36x158 203 text run at (78,111) width 34: "outer" 204 text run at (96,-12) width 31: "edge" 205 RenderText {#text} at (96,18) size 18x86 206 text run at (96,18) width 86: " of its border." 207 RenderTableCell {TD} at (196,331) size 138x201 [border: (1px solid #008000)] [r=2 c=2 rs=1 cs=1] 208 RenderText {#text} at (6,6) size 126x183 209 text run at (6,6) width 151: "The table should not be" 210 text run at (24,6) width 130: "wider than the room" 211 text run at (42,6) width 142: "available for it unless " 212 text run at (42,147) width 24: "that" 213 text run at (60,6) width 130: "space is very small. " 214 text run at (60,135) width 54: "Because" 215 text run at (78,6) width 174: "of its margins, the width of" 216 text run at (96,6) width 24: "the " 217 text run at (96,29) width 157: "table should be less than" 218 text run at (114,6) width 42: "100%." 219 RenderTable {TABLE} at (958,16) size 280x537 [border: (3px solid #0000FF)] 220 RenderTableSection {TBODY} at (3,3) size 274x531 221 RenderTableRow {TR} at (0,0) size 34x531 222 RenderTableCell {TH} at (0,8) size 34x145 [border: (3px solid #800080)] [r=0 c=0 rs=1 cs=1] 223 RenderText {#text} at (8,30) size 18x84 224 text run at (8,30) width 83: "Header One" 225 RenderTableCell {TH} at (0,160) size 34x147 [border: (3px solid #800080)] [r=0 c=1 rs=1 cs=1] 226 RenderText {#text} at (8,31) size 18x84 227 text run at (8,31) width 84: "Header Two" 228 RenderTableCell {TH} at (0,314) size 34x210 [border: (3px solid #800080)] [r=0 c=2 rs=1 cs=1] 229 RenderText {#text} at (8,57) size 18x95 230 text run at (8,57) width 95: "Header Three" 231 RenderTableRow {TR} at (0,34) size 102x531 232 RenderTableCell {TD} at (34,26) size 102x109 [border: (1px solid #008000)] [r=1 c=0 rs=1 cs=1] 230 233 RenderText {#text} at (24,-12) size 54x119 231 234 text run at (24,-12) width 119: "This table uses the" 232 235 text run at (42,-12) width 113: "separated borders" 233 236 text run at (60,-12) width 44: "model." 234 RenderTableCell {TD} at (34,16 4) size 102x151[border: (1px solid #008000)] [r=1 c=1 rs=1 cs=1]237 RenderTableCell {TD} at (34,160) size 102x147 [border: (1px solid #008000)] [r=1 c=1 rs=1 cs=1] 235 238 RenderText {#text} at (6,6) size 90x129 236 239 text run at (6,6) width 128: "Elements within the" … … 239 242 text run at (60,6) width 119: "0.5em and vertical" 240 243 text run at (78,6) width 129: "border-spacing of 0." 241 RenderTableCell {TD} at (34,3 40) size 102x181[border: (1px solid #008000)] [r=1 c=2 rs=1 cs=1]244 RenderTableCell {TD} at (34,332) size 102x174 [border: (1px solid #008000)] [r=1 c=2 rs=1 cs=1] 242 245 RenderText {#text} at (24,-12) size 54x180 243 246 text run at (24,-12) width 168: "The borders on the header" … … 245 248 text run at (42,25) width 142: "on all sides, should be" 246 249 text run at (60,-12) width 137: "medium solid purple." 247 RenderTableRow {TR} at (0,136) size 138x5 46248 RenderTableCell {TD} at (136,17) size 138x1 31[border: (1px solid #008000)] [r=2 c=0 rs=1 cs=1]249 RenderText {#text} at (15,-3) size 108x13 3250 RenderTableRow {TR} at (0,136) size 138x531 251 RenderTableCell {TD} at (136,17) size 138x127 [border: (1px solid #008000)] [r=2 c=0 rs=1 cs=1] 252 RenderText {#text} at (15,-3) size 108x132 250 253 text run at (15,-3) width 112: "The border of the" 251 text run at (33,-3) width 133: "table itself should be" 252 text run at (51,-3) width 124: "medium solid blue." 253 text run at (69,-3) width 132: "The borders of other" 254 text run at (87,-3) width 124: "cells should be thin" 255 text run at (105,-3) width 75: "solid green." 256 RenderTableCell {TD} at (136,164) size 138x151 [border: (1px solid #008000)] [r=2 c=1 rs=1 cs=1] 254 text run at (33,-3) width 114: "table itself should" 255 text run at (51,-3) width 107: "be medium solid" 256 text run at (69,-3) width 36: "blue. " 257 text run at (69,32) width 95: "The borders of" 258 text run at (87,-3) width 132: "other cells should be" 259 text run at (105,-3) width 104: "thin solid green." 260 RenderTableCell {TD} at (136,160) size 138x147 [border: (1px solid #008000)] [r=2 c=1 rs=1 cs=1] 257 261 RenderText {#text} at (6,6) size 90x122 258 262 text run at (6,6) width 111: "This table should" … … 268 272 text run at (96,73) width 37: " of its" 269 273 text run at (114,6) width 45: "border." 270 RenderTableCell {TD} at (136,3 31) size 138x199[border: (1px solid #008000)] [r=2 c=2 rs=1 cs=1]271 RenderText {#text} at (15,-3) size 108x19 8274 RenderTableCell {TD} at (136,323) size 138x192 [border: (1px solid #008000)] [r=2 c=2 rs=1 cs=1] 275 RenderText {#text} at (15,-3) size 108x192 272 276 text run at (15,-3) width 191: "The table should not be wider" 273 277 text run at (33,-3) width 187: "than the room available for it" 274 278 text run at (51,-3) width 44: "unless " 275 text run at (51,41) width 154: "that space is very small." 276 text run at (69,-3) width 173: "Because of its margins, the" 277 text run at (87,-3) width 82: "width of the " 278 text run at (87,78) width 97: "table should be" 279 text run at (105,-3) width 101: "less than 100%." 280 RenderTable {TABLE} at (1236,16) size 272x552 281 RenderBlock {CAPTION} at (0,0) size 18x552 282 RenderText {#text} at (0,215) size 18x122 283 text run at (0,215) width 122: "This is the caption." 279 text run at (51,41) width 111: "that space is very" 280 text run at (69,-3) width 43: "small. " 281 text run at (69,39) width 150: "Because of its margins," 282 text run at (87,-3) width 105: "the width of the " 283 text run at (87,101) width 78: "table should" 284 text run at (105,-3) width 120: "be less than 100%." 285 RenderTable {TABLE} at (1254,16) size 272x537 286 RenderBlock {CAPTION} at (0,0) size 18x537 287 RenderText {#text} at (0,207) size 18x123 288 text run at (0,207) width 122: "This is the caption." 284 289 RenderTableCol {COLGROUP} at (0,0) size 0x0 [border: (3px solid #FF0000)] 285 290 RenderTableCol {COL} at (0,0) size 0x0 [border: (3px solid #FF0000)] … … 287 292 RenderTableCol {COL} at (0,0) size 0x0 [border: (3px solid #FF0000)] 288 293 RenderTableCol {COL} at (0,0) size 0x0 [border: (3px solid #FF0000)] 289 RenderTableSection {THEAD} at (18,0) size 50x5 52[border: (3px solid #FF0000)]290 RenderTableRow {TR} at (0,2) size 46x5 52[border: (3px solid #FF0000)]291 RenderTableCell {TH} at (2,2) size 46x 90[r=0 c=0 rs=1 cs=1]292 RenderText {#text} at (5,1 9) size 36x52293 text run at (5,1 9) width 51: "Header"294 text run at (23, 30) width 29: "One"295 RenderTableCell {TH} at (2,10 2) size 46x223[r=0 c=1 rs=1 cs=1]296 RenderText {#text} at (14,6 8) size 18x85297 text run at (14,6 8) width 84: "Header Two"298 RenderTableCell {TH} at (2,3 44) size 46x198[r=0 c=2 rs=1 cs=1]299 RenderText {#text} at (14, 50) size 18x96300 text run at (14, 50) width 95: "Header Three"301 RenderTableSection {TBODY} at (68,0) size 204x5 52[border: (3px solid #FF0000)]302 RenderTableRow {TR} at (0,0) size 100x5 52[border: (3px solid #FF0000)]303 RenderTableCell {TD} at (0,2) size 100x 90[r=0 c=0 rs=1 cs=1]294 RenderTableSection {THEAD} at (18,0) size 50x537 [border: (3px solid #FF0000)] 295 RenderTableRow {TR} at (0,2) size 46x537 [border: (3px solid #FF0000)] 296 RenderTableCell {TH} at (2,2) size 46x88 [r=0 c=0 rs=1 cs=1] 297 RenderText {#text} at (5,18) size 36x52 298 text run at (5,18) width 51: "Header" 299 text run at (23,29) width 29: "One" 300 RenderTableCell {TH} at (2,100) size 46x216 [r=0 c=1 rs=1 cs=1] 301 RenderText {#text} at (14,65) size 18x85 302 text run at (14,65) width 84: "Header Two" 303 RenderTableCell {TH} at (2,335) size 46x192 [r=0 c=2 rs=1 cs=1] 304 RenderText {#text} at (14,47) size 18x96 305 text run at (14,47) width 95: "Header Three" 306 RenderTableSection {TBODY} at (68,0) size 204x537 [border: (3px solid #FF0000)] 307 RenderTableRow {TR} at (0,0) size 100x537 [border: (3px solid #FF0000)] 308 RenderTableCell {TD} at (0,2) size 100x88 [r=0 c=0 rs=1 cs=1] 304 309 RenderText {#text} at (5,5) size 90x64 305 310 text run at (5,5) width 64: "This table" … … 308 313 text run at (59,5) width 48: "borders" 309 314 text run at (77,5) width 44: "model." 310 RenderTableCell {TD} at (0,1 11) size 100x205[r=0 c=1 rs=1 cs=1]315 RenderTableCell {TD} at (0,109) size 100x198 [r=0 c=1 rs=1 cs=1] 311 316 RenderText {#text} at (23,-13) size 54x217 312 317 text run at (23,-13) width 177: "This means that borders are" … … 314 319 text run at (59,-13) width 36: "table " 315 320 text run at (59,22) width 88: "cell elements." 316 RenderTableCell {TD} at (0,3 44) size 100x198[r=0 c=2 rs=1 cs=1]321 RenderTableCell {TD} at (0,335) size 100x192 [r=0 c=2 rs=1 cs=1] 317 322 RenderText {#text} at (14,-4) size 72x187 318 323 text run at (14,-4) width 156: "They are not allowed on" … … 320 325 text run at (50,-4) width 158: "row-groups, columns, or" 321 326 text run at (68,-4) width 101: "column-groups." 322 RenderTableRow {TR} at (0,102) size 100x5 52[border: (3px solid #FF0000)]323 RenderTableCell {TD} at (102,2) size 100x 90[r=1 c=0 rs=1 cs=1]324 RenderText {#text} at (5,5) size 90x 79327 RenderTableRow {TR} at (0,102) size 100x537 [border: (3px solid #FF0000)] 328 RenderTableCell {TD} at (102,2) size 100x88 [r=1 c=0 rs=1 cs=1] 329 RenderText {#text} at (5,5) size 90x68 325 330 text run at (5,5) width 38: "There" 326 331 text run at (23,5) width 62: "should be" 327 332 text run at (41,5) width 68: "no borders" 328 text run at (59,5) width 79: "at all on this"329 text run at (77,5) width 37: "table!"330 RenderTableCell {TD} at (102,10 2) size 100x223[r=1 c=1 rs=1 cs=1]331 RenderText {#text} at (14,-4) size 72x2 24332 text run at (14,-4) width 224: "If there are any borders shown that"333 text run at (32,-4) width 200: "are not medium solid red, then"334 text run at ( 32,195) width 20: "the"335 text run at (50, -4) width 208: "problem is something other than"336 text run at (68,-4) width 150: "what this test is testing."337 RenderTableCell {TD} at (102,3 44) size 100x198[r=1 c=2 rs=1 cs=1]333 text run at (59,5) width 52: "at all on" 334 text run at (77,5) width 64: "this table!" 335 RenderTableCell {TD} at (102,100) size 100x216 [r=1 c=1 rs=1 cs=1] 336 RenderText {#text} at (14,-4) size 72x219 337 text run at (14,-4) width 196: "If there are any borders shown" 338 text run at (32,-4) width 192: "that are not medium solid red," 339 text run at (50,-4) width 32: "then " 340 text run at (50,27) width 163: "the problem is something" 341 text run at (68,-4) width 219: "other than what this test is testing." 342 RenderTableCell {TD} at (102,335) size 100x192 [r=1 c=2 rs=1 cs=1] 338 343 RenderText {#text} at (14,-4) size 54x191 339 344 text run at (14,-4) width 188: "This table should have a 1em" -
trunk/Source/WebCore/ChangeLog
r201676 r201677 1 2016-06-03 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Bopomofo ruby in Dictionary.app is written horizontally (when it should be written vertically) 4 https://bugs.webkit.org/show_bug.cgi?id=158245 5 <rdar://problem/25675318> 6 7 Reviewed by Darin Adler. 8 9 With orthogonal flows, the inner element gets a logical width that is computed from two values: 10 - The containing block's available logical height 11 - The FrameView's visibleHeight 12 13 In Dictionary.app, the FrameView's height changes, but this element doesn't get relaid out. 14 This is because of our optimization where normal-flow elements don't get relaid out if their 15 parent's width doesn't change (which is the case here). 16 17 Therefore, this orthogonal writing mode element should be relaid out when the FrameView changes 18 size. Luckily, we already have machinery for doing this: percentage heights. In quirks mode, a 19 div with a percentage height may walk arbitrarily far up the DOM tree in order to determine which 20 element the percentage should be resolved against. Therefore, we have a map of percentage-sizing- 21 ancestors to percentage-sizing-descendants which speeds up this search. If a percentage-sizing- 22 ancestor gets relaid out, all the relevant percentage-sizing-descendants get relaid out too. 23 24 Therefore, we can simply mark the FrameView as a percentage-sizing-ancestor and the orthogonal 25 flow element as a percentage-sizing-descendant. The lifetime of this relationship is already 26 managed correctly - it gets reset when style changes and when the renderer is destroyed, and 27 is created during layout. 28 29 Unfortunately, this same treatment should also be done to the element which dictates the 30 containing block's logical height (which caused https://bugs.webkit.org/show_bug.cgi?id=158286). 31 Implementing this would require giving RenderBox::availableLogicalHeight() a second result 32 of the necessary element which dictates the return. In an effort to keep this patch small and 33 focused, I'll do this secondary (much larger) work in a patch on that bug. This patch, 34 therefore, is kept small and focused. 35 36 Test: fast/text/orthogonal-writing-mode-containing-block-frameView-resize-relayout.html 37 38 * rendering/RenderBox.cpp: 39 (WebCore::RenderBox::perpendicularContainingBlockLogicalHeight): 40 1 41 2016-06-03 Myles C. Maxfield <mmaxfield@apple.com> 2 42 -
trunk/Source/WebCore/rendering/RenderBox.cpp
r201635 r201677 1988 1988 LayoutUnit fillFallbackExtent = containingBlockStyle.isHorizontalWritingMode() ? view().frameView().visibleHeight() : view().frameView().visibleWidth(); 1989 1989 LayoutUnit fillAvailableExtent = containingBlock()->availableLogicalHeight(ExcludeMarginBorderPadding); 1990 view().addPercentHeightDescendant(const_cast<RenderBox&>(*this)); 1991 // FIXME: https://bugs.webkit.org/show_bug.cgi?id=158286 We also need to perform the same percentHeightDescendant treatment to the element which dictates the return value for containingBlock()->availableLogicalHeight() above. 1990 1992 return std::min(fillAvailableExtent, fillFallbackExtent); 1991 1993 }
Note: See TracChangeset
for help on using the changeset viewer.