Changeset 202973 in webkit
- Timestamp:
- Jul 8, 2016 2:37:57 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 7 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r202972 r202973 1 2016-07-08 Frederic Wang <fwang@igalia.com> 2 3 Use OpenType MATH constant AxisHeight. 4 https://bugs.webkit.org/show_bug.cgi?id=133567 5 6 Reviewed by Brent Fulgham. 7 8 Import tests from the MathML in HTML5 test suite to verify the AxisHeight parameter. 9 10 * imported/mathml-in-html5/fonts/math/axisheight5000-verticalarrow14000.woff: Added. 11 * imported/mathml-in-html5/mathml/presentation-markup/operators/mo-axis-height-1-expected.txt: Added. 12 * imported/mathml-in-html5/mathml/presentation-markup/operators/mo-axis-height-1.html: Added. 13 * imported/mathml-in-html5/mathml/presentation-markup/tables/table-axis-height.html: Added. 14 * imported/mathml-in-html5/mathml/presentation-markup/operators/mo-axis-height-expected.txt: Added. 15 1 16 2016-07-08 Manuel Rego Casasnovas <rego@igalia.com> 2 17 -
trunk/LayoutTests/platform/gtk/mathml/opentype/vertical-expected.txt
r202934 r202973 1 1 layer at (0,0) size 800x600 2 2 RenderView at (0,0) size 800x600 3 layer at (0,0) size 800x3 714 RenderBlock {HTML} at (0,0) size 800x3 715 RenderBody {BODY} at (8,16) size 784x3 393 layer at (0,0) size 800x358 4 RenderBlock {HTML} at (0,0) size 800x358 5 RenderBody {BODY} at (8,16) size 784x326 6 6 RenderBlock {P} at (0,0) size 784x18 7 7 RenderMathMLMath {math} at (0,2) size 100x16 [padding: 0 1 0 1] … … 68 68 RenderMathMLSpace {mspace} at (98,4) size 0x8 69 69 RenderText {#text} at (0,0) size 0x0 70 RenderBlock {P} at (0,34) size 784x 3071 RenderMathMLMath {math} at (0,0) size 1 42x30[padding: 0 1 0 1]72 RenderMathMLOperator {mo} at (1,0) size 8x3070 RenderBlock {P} at (0,34) size 784x24 71 RenderMathMLMath {math} at (0,0) size 128x24 [padding: 0 1 0 1] 72 RenderMathMLOperator {mo} at (1,0) size 7x24 73 73 RenderBlock (anonymous) at (0,0) size 4x16 74 74 RenderText {#text} at (0,-45) size 4x106 75 75 text run at (0,-45) width 4: "[" 76 RenderMathMLOperator {mo} at ( 9,0) size 8x3076 RenderMathMLOperator {mo} at (8,0) size 7x24 77 77 RenderBlock (anonymous) at (0,0) size 4x16 78 78 RenderText {#text} at (0,-45) size 4x106 79 79 text run at (0,-45) width 4: "]" 80 RenderMathMLOperator {mo} at (1 7,0) size 11x3080 RenderMathMLOperator {mo} at (15,0) size 10x24 81 81 RenderBlock (anonymous) at (0,0) size 8x16 82 82 RenderText {#text} at (0,-45) size 8x106 83 83 text run at (0,-45) width 8: "{" 84 RenderMathMLOperator {mo} at (2 8,0) size 11x3084 RenderMathMLOperator {mo} at (25,0) size 10x24 85 85 RenderBlock (anonymous) at (0,0) size 8x16 86 86 RenderText {#text} at (0,-45) size 8x106 87 87 text run at (0,-45) width 8: "}" 88 RenderMathMLOperator {mo} at (3 9,0) size 10x3088 RenderMathMLOperator {mo} at (35,0) size 8x24 89 89 RenderBlock (anonymous) at (0,0) size 6x16 90 90 RenderText {#text} at (0,-45) size 6x106 91 91 text run at (0,-45) width 6: "(" 92 RenderMathMLOperator {mo} at (4 9,0) size 10x3092 RenderMathMLOperator {mo} at (43,0) size 8x24 93 93 RenderBlock (anonymous) at (0,0) size 6x16 94 94 RenderText {#text} at (0,-45) size 6x106 95 95 text run at (0,-45) width 6: ")" 96 RenderMathMLOperator {mo} at (5 9,1) size 8x2896 RenderMathMLOperator {mo} at (51,0) size 8x24 97 97 RenderBlock (anonymous) at (0,0) size 4x16 98 98 RenderText {#text} at (0,-45) size 4x106 99 99 text run at (0,-45) width 4: "|" 100 RenderMathMLOperator {mo} at ( 66,0) size 9x30100 RenderMathMLOperator {mo} at (58,0) size 9x24 101 101 RenderBlock (anonymous) at (0,0) size 7x16 102 102 RenderText {#text} at (0,-45) size 7x106 103 103 text run at (0,-45) width 7: "\x{2308}" 104 RenderMathMLOperator {mo} at ( 74,0) size 9x30104 RenderMathMLOperator {mo} at (66,0) size 9x24 105 105 RenderBlock (anonymous) at (0,0) size 7x16 106 106 RenderText {#text} at (0,-45) size 7x106 107 107 text run at (0,-45) width 7: "\x{2309}" 108 RenderMathMLOperator {mo} at ( 82,0) size 9x30108 RenderMathMLOperator {mo} at (74,0) size 9x24 109 109 RenderBlock (anonymous) at (0,0) size 7x16 110 110 RenderText {#text} at (0,-45) size 7x106 111 111 text run at (0,-45) width 7: "\x{230A}" 112 RenderMathMLOperator {mo} at ( 90,0) size 9x30112 RenderMathMLOperator {mo} at (82,0) size 9x24 113 113 RenderBlock (anonymous) at (0,0) size 7x16 114 114 RenderText {#text} at (0,-45) size 7x106 115 115 text run at (0,-45) width 7: "\x{230B}" 116 RenderMathMLOperator {mo} at (9 8,0) size 12x30116 RenderMathMLOperator {mo} at (90,0) size 10x24 117 117 RenderBlock (anonymous) at (0,0) size 7x16 118 118 RenderText {#text} at (0,-45) size 7x106 119 119 text run at (0,-45) width 7: "\x{27E6}" 120 RenderMathMLOperator {mo} at ( 109,0) size 12x30120 RenderMathMLOperator {mo} at (99,0) size 10x24 121 121 RenderBlock (anonymous) at (0,0) size 7x16 122 122 RenderText {#text} at (0,-45) size 7x106 123 123 text run at (0,-45) width 7: "\x{27E7}" 124 RenderMathMLOperator {mo} at (1 20,0) size 11x30124 RenderMathMLOperator {mo} at (108,0) size 10x24 125 125 RenderBlock (anonymous) at (0,0) size 6x16 126 126 RenderText {#text} at (0,-45) size 6x106 127 127 text run at (0,-45) width 6: "\x{27E8}" 128 RenderMathMLOperator {mo} at (1 30,0) size 11x30128 RenderMathMLOperator {mo} at (117,0) size 10x24 129 129 RenderBlock (anonymous) at (0,0) size 6x16 130 130 RenderText {#text} at (0,-45) size 6x106 131 131 text run at (0,-45) width 6: "\x{27E9}" 132 RenderMathMLSpace {mspace} at (1 40,3) size 0x16133 RenderText {#text} at (1 41,5) size 5x17134 text run at (1 41,5) width 5: " "135 RenderMathMLMath {math} at (1 45,3) size 212x23 [padding: 0 1 0 1]132 RenderMathMLSpace {mspace} at (126,0) size 0x16 133 RenderText {#text} at (127,2) size 5x17 134 text run at (127,2) width 5: " " 135 RenderMathMLMath {math} at (131,0) size 212x23 [padding: 0 1 0 1] 136 136 RenderMathMLOperator {mo} at (1,1) size 17x22 137 137 RenderBlock (anonymous) at (0,0) size 8x15 … … 184 184 RenderMathMLSpace {mspace} at (209,0) size 0x16 185 185 RenderText {#text} at (0,0) size 0x0 186 RenderBlock {P} at (0, 80) size 784x48187 RenderMathMLMath {math} at (0,0) size 1 90x48[padding: 0 1 0 1]188 RenderMathMLOperator {mo} at (1, 0) size 11x48186 RenderBlock {P} at (0,74) size 784x42 187 RenderMathMLMath {math} at (0,0) size 160x42 [padding: 0 1 0 1] 188 RenderMathMLOperator {mo} at (1,1) size 8x40 189 189 RenderBlock (anonymous) at (0,0) size 4x16 190 190 RenderText {#text} at (0,-45) size 4x106 191 191 text run at (0,-45) width 4: "[" 192 RenderMathMLOperator {mo} at ( 12,0) size 11x48192 RenderMathMLOperator {mo} at (9,1) size 8x40 193 193 RenderBlock (anonymous) at (0,0) size 4x16 194 194 RenderText {#text} at (0,-45) size 4x106 195 195 text run at (0,-45) width 4: "]" 196 RenderMathMLOperator {mo} at ( 23,0) size 14x48196 RenderMathMLOperator {mo} at (17,1) size 12x40 197 197 RenderBlock (anonymous) at (0,0) size 8x16 198 198 RenderText {#text} at (0,-45) size 8x106 199 199 text run at (0,-45) width 8: "{" 200 RenderMathMLOperator {mo} at ( 37,0) size 14x48200 RenderMathMLOperator {mo} at (29,1) size 12x40 201 201 RenderBlock (anonymous) at (0,0) size 8x16 202 202 RenderText {#text} at (0,-45) size 8x106 203 203 text run at (0,-45) width 8: "}" 204 RenderMathMLOperator {mo} at ( 51,0) size 14x48204 RenderMathMLOperator {mo} at (41,1) size 12x40 205 205 RenderBlock (anonymous) at (0,0) size 6x16 206 206 RenderText {#text} at (0,-45) size 6x106 207 207 text run at (0,-45) width 6: "(" 208 RenderMathMLOperator {mo} at ( 65,0) size 14x48208 RenderMathMLOperator {mo} at (53,1) size 12x40 209 209 RenderBlock (anonymous) at (0,0) size 6x16 210 210 RenderText {#text} at (0,-45) size 6x106 211 211 text run at (0,-45) width 6: ")" 212 RenderMathMLOperator {mo} at ( 79,3) size 8x42212 RenderMathMLOperator {mo} at (65,0) size 8x42 213 213 RenderBlock (anonymous) at (0,0) size 4x16 214 214 RenderText {#text} at (0,-45) size 4x106 215 215 text run at (0,-45) width 4: "|" 216 RenderMathMLOperator {mo} at ( 86,0) size 11x48216 RenderMathMLOperator {mo} at (72,1) size 10x40 217 217 RenderBlock (anonymous) at (0,0) size 7x16 218 218 RenderText {#text} at (0,-45) size 7x106 219 219 text run at (0,-45) width 7: "\x{2308}" 220 RenderMathMLOperator {mo} at ( 96,0) size 11x48220 RenderMathMLOperator {mo} at (81,1) size 10x40 221 221 RenderBlock (anonymous) at (0,0) size 7x16 222 222 RenderText {#text} at (0,-45) size 7x106 223 223 text run at (0,-45) width 7: "\x{2309}" 224 RenderMathMLOperator {mo} at ( 106,0) size 11x48224 RenderMathMLOperator {mo} at (90,1) size 10x40 225 225 RenderBlock (anonymous) at (0,0) size 7x16 226 226 RenderText {#text} at (0,-45) size 7x106 227 227 text run at (0,-45) width 7: "\x{230A}" 228 RenderMathMLOperator {mo} at ( 116,0) size 11x48228 RenderMathMLOperator {mo} at (99,1) size 10x40 229 229 RenderBlock (anonymous) at (0,0) size 7x16 230 230 RenderText {#text} at (0,-45) size 7x106 231 231 text run at (0,-45) width 7: "\x{230B}" 232 RenderMathMLOperator {mo} at (1 26,0) size 17x48232 RenderMathMLOperator {mo} at (108,1) size 14x40 233 233 RenderBlock (anonymous) at (0,0) size 7x16 234 234 RenderText {#text} at (0,-45) size 7x106 235 235 text run at (0,-45) width 7: "\x{27E6}" 236 RenderMathMLOperator {mo} at (1 42,0) size 17x48236 RenderMathMLOperator {mo} at (121,1) size 14x40 237 237 RenderBlock (anonymous) at (0,0) size 7x16 238 238 RenderText {#text} at (0,-45) size 7x106 239 239 text run at (0,-45) width 7: "\x{27E7}" 240 RenderMathMLOperator {mo} at (1 58,0) size 16x48240 RenderMathMLOperator {mo} at (134,1) size 13x40 241 241 RenderBlock (anonymous) at (0,0) size 6x16 242 242 RenderText {#text} at (0,-45) size 6x106 243 243 text run at (0,-45) width 6: "\x{27E8}" 244 RenderMathMLOperator {mo} at (1 73,0) size 16x48244 RenderMathMLOperator {mo} at (146,1) size 13x40 245 245 RenderBlock (anonymous) at (0,0) size 6x16 246 246 RenderText {#text} at (0,-45) size 6x106 247 247 text run at (0,-45) width 6: "\x{27E9}" 248 RenderMathMLSpace {mspace} at (1 88,4) size 0x24248 RenderMathMLSpace {mspace} at (158,1) size 0x24 249 249 RenderText {#text} at (0,0) size 0x0 250 RenderBlock {P} at (0,1 44) size 784x58250 RenderBlock {P} at (0,132) size 784x58 251 251 RenderMathMLMath {math} at (0,0) size 194x58 [padding: 0 1 0 1] 252 RenderMathMLOperator {mo} at (1,1) size 11x5 7252 RenderMathMLOperator {mo} at (1,1) size 11x56 253 253 RenderBlock (anonymous) at (0,0) size 4x16 254 254 RenderText {#text} at (0,-45) size 4x106 255 255 text run at (0,-45) width 4: "[" 256 RenderMathMLOperator {mo} at (12,1) size 11x5 7256 RenderMathMLOperator {mo} at (12,1) size 11x56 257 257 RenderBlock (anonymous) at (0,0) size 4x16 258 258 RenderText {#text} at (0,-45) size 4x106 259 259 text run at (0,-45) width 4: "]" 260 RenderMathMLOperator {mo} at (23,1) size 14x5 7260 RenderMathMLOperator {mo} at (23,1) size 14x56 261 261 RenderBlock (anonymous) at (0,0) size 8x16 262 262 RenderText {#text} at (0,-45) size 8x106 263 263 text run at (0,-45) width 8: "{" 264 RenderMathMLOperator {mo} at (37,1) size 14x5 7264 RenderMathMLOperator {mo} at (37,1) size 14x56 265 265 RenderBlock (anonymous) at (0,0) size 8x16 266 266 RenderText {#text} at (0,-45) size 8x106 267 267 text run at (0,-45) width 8: "}" 268 RenderMathMLOperator {mo} at (51,1) size 14x5 7268 RenderMathMLOperator {mo} at (51,1) size 14x56 269 269 RenderBlock (anonymous) at (0,0) size 6x16 270 270 RenderText {#text} at (0,-45) size 6x106 271 271 text run at (0,-45) width 6: "(" 272 RenderMathMLOperator {mo} at (65,1) size 14x5 7272 RenderMathMLOperator {mo} at (65,1) size 14x56 273 273 RenderBlock (anonymous) at (0,0) size 6x16 274 274 RenderText {#text} at (0,-45) size 6x106 … … 278 278 RenderText {#text} at (0,-45) size 4x106 279 279 text run at (0,-45) width 4: "|" 280 RenderMathMLOperator {mo} at (86,1) size 12x5 7280 RenderMathMLOperator {mo} at (86,1) size 12x56 281 281 RenderBlock (anonymous) at (0,0) size 7x16 282 282 RenderText {#text} at (0,-45) size 7x106 283 283 text run at (0,-45) width 7: "\x{2308}" 284 RenderMathMLOperator {mo} at (97,1) size 12x5 7284 RenderMathMLOperator {mo} at (97,1) size 12x56 285 285 RenderBlock (anonymous) at (0,0) size 7x16 286 286 RenderText {#text} at (0,-45) size 7x106 287 287 text run at (0,-45) width 7: "\x{2309}" 288 RenderMathMLOperator {mo} at (108,1) size 12x5 7288 RenderMathMLOperator {mo} at (108,1) size 12x56 289 289 RenderBlock (anonymous) at (0,0) size 7x16 290 290 RenderText {#text} at (0,-45) size 7x106 291 291 text run at (0,-45) width 7: "\x{230A}" 292 RenderMathMLOperator {mo} at (119,1) size 12x5 7292 RenderMathMLOperator {mo} at (119,1) size 12x56 293 293 RenderBlock (anonymous) at (0,0) size 7x16 294 294 RenderText {#text} at (0,-45) size 7x106 295 295 text run at (0,-45) width 7: "\x{230B}" 296 RenderMathMLOperator {mo} at (130,1) size 17x5 7296 RenderMathMLOperator {mo} at (130,1) size 17x56 297 297 RenderBlock (anonymous) at (0,0) size 7x16 298 298 RenderText {#text} at (0,-45) size 7x106 299 299 text run at (0,-45) width 7: "\x{27E6}" 300 RenderMathMLOperator {mo} at (146,1) size 17x5 7300 RenderMathMLOperator {mo} at (146,1) size 17x56 301 301 RenderBlock (anonymous) at (0,0) size 7x16 302 302 RenderText {#text} at (0,-45) size 7x106 … … 364 364 RenderMathMLSpace {mspace} at (210,0) size 0x32 365 365 RenderText {#text} at (0,0) size 0x0 366 RenderBlock {P} at (0,2 18) size 784x121367 RenderMathMLMath {math} at (0,0) size 194x12 1[padding: 0 1 0 1]368 RenderMathMLOperator {mo} at (1,0) size 11x12 1366 RenderBlock {P} at (0,206) size 784x120 367 RenderMathMLMath {math} at (0,0) size 194x120 [padding: 0 1 0 1] 368 RenderMathMLOperator {mo} at (1,0) size 11x120 369 369 RenderBlock (anonymous) at (0,0) size 4x16 370 370 RenderText {#text} at (0,-45) size 4x106 371 371 text run at (0,-45) width 4: "[" 372 RenderMathMLOperator {mo} at (12,0) size 11x12 1372 RenderMathMLOperator {mo} at (12,0) size 11x120 373 373 RenderBlock (anonymous) at (0,0) size 4x16 374 374 RenderText {#text} at (0,-45) size 4x106 375 375 text run at (0,-45) width 4: "]" 376 RenderMathMLOperator {mo} at (23,0) size 14x12 1376 RenderMathMLOperator {mo} at (23,0) size 14x120 377 377 RenderBlock (anonymous) at (0,0) size 8x16 378 378 RenderText {#text} at (0,-45) size 8x106 379 379 text run at (0,-45) width 8: "{" 380 RenderMathMLOperator {mo} at (37,0) size 14x12 1380 RenderMathMLOperator {mo} at (37,0) size 14x120 381 381 RenderBlock (anonymous) at (0,0) size 8x16 382 382 RenderText {#text} at (0,-45) size 8x106 383 383 text run at (0,-45) width 8: "}" 384 RenderMathMLOperator {mo} at (51,0) size 14x12 1384 RenderMathMLOperator {mo} at (51,0) size 14x120 385 385 RenderBlock (anonymous) at (0,0) size 6x16 386 386 RenderText {#text} at (0,-45) size 6x106 387 387 text run at (0,-45) width 6: "(" 388 RenderMathMLOperator {mo} at (65,0) size 14x12 1388 RenderMathMLOperator {mo} at (65,0) size 14x120 389 389 RenderBlock (anonymous) at (0,0) size 6x16 390 390 RenderText {#text} at (0,-45) size 6x106 391 391 text run at (0,-45) width 6: ")" 392 RenderMathMLOperator {mo} at (79,0) size 8x12 1392 RenderMathMLOperator {mo} at (79,0) size 8x120 393 393 RenderBlock (anonymous) at (0,0) size 4x16 394 394 RenderText {#text} at (0,-45) size 4x106 395 395 text run at (0,-45) width 4: "|" 396 RenderMathMLOperator {mo} at (86,0) size 12x12 1396 RenderMathMLOperator {mo} at (86,0) size 12x120 397 397 RenderBlock (anonymous) at (0,0) size 7x16 398 398 RenderText {#text} at (0,-45) size 7x106 399 399 text run at (0,-45) width 7: "\x{2308}" 400 RenderMathMLOperator {mo} at (97,0) size 12x12 1400 RenderMathMLOperator {mo} at (97,0) size 12x120 401 401 RenderBlock (anonymous) at (0,0) size 7x16 402 402 RenderText {#text} at (0,-45) size 7x106 403 403 text run at (0,-45) width 7: "\x{2309}" 404 RenderMathMLOperator {mo} at (108,0) size 12x12 1404 RenderMathMLOperator {mo} at (108,0) size 12x120 405 405 RenderBlock (anonymous) at (0,0) size 7x16 406 406 RenderText {#text} at (0,-45) size 7x106 407 407 text run at (0,-45) width 7: "\x{230A}" 408 RenderMathMLOperator {mo} at (119,0) size 12x12 1408 RenderMathMLOperator {mo} at (119,0) size 12x120 409 409 RenderBlock (anonymous) at (0,0) size 7x16 410 410 RenderText {#text} at (0,-45) size 7x106 411 411 text run at (0,-45) width 7: "\x{230B}" 412 RenderMathMLOperator {mo} at (130,0) size 17x12 1412 RenderMathMLOperator {mo} at (130,0) size 17x120 413 413 RenderBlock (anonymous) at (0,0) size 7x16 414 414 RenderText {#text} at (0,-45) size 7x106 415 415 text run at (0,-45) width 7: "\x{27E6}" 416 RenderMathMLOperator {mo} at (146,0) size 17x12 1416 RenderMathMLOperator {mo} at (146,0) size 17x120 417 417 RenderBlock (anonymous) at (0,0) size 7x16 418 418 RenderText {#text} at (0,-45) size 7x106 -
trunk/LayoutTests/platform/gtk/mathml/presentation/mo-stretch-expected.txt
r202934 r202973 1 1 layer at (0,0) size 800x600 2 2 RenderView at (0,0) size 800x600 3 layer at (0,0) size 800x2 704 RenderBlock {HTML} at (0,0) size 800x2 705 RenderBody {BODY} at (8,8) size 784x25 46 RenderMathMLMath {math} at (0,0) size 1 40x36 [padding: 0 1 0 1]7 RenderMathMLRow {mrow} at (1,0) size 13 8x368 RenderMathMLOperator {mo} at (0, 3) size 10x309 RenderBlock (anonymous) at (0,0) size 6x16 10 RenderText {#text} at (0,-45) size 6x106 11 text run at (0,-45) width 6: "(" 12 RenderMathMLOperator {mo} at ( 10,3) size 10x3013 RenderBlock (anonymous) at (0,0) size 6x16 14 RenderText {#text} at (0,-45) size 6x106 15 text run at (0,-45) width 6: ")" 16 RenderMathMLOperator {mo} at ( 20,3) size 11x3017 RenderBlock (anonymous) at (0,0) size 8x16 18 RenderText {#text} at (0,-45) size 8x106 19 text run at (0,-45) width 8: "{" 20 RenderMathMLOperator {mo} at ( 31,3) size 11x3021 RenderBlock (anonymous) at (0,0) size 8x16 22 RenderText {#text} at (0,-45) size 8x106 23 text run at (0,-45) width 8: "}" 24 RenderMathMLOperator {mo} at ( 42,3) size 8x3025 RenderBlock (anonymous) at (0,0) size 4x16 26 RenderText {#text} at (0,-45) size 4x106 27 text run at (0,-45) width 4: "[" 28 RenderMathMLOperator {mo} at ( 50,3) size 8x3029 RenderBlock (anonymous) at (0,0) size 4x16 30 RenderText {#text} at (0,-45) size 4x106 31 text run at (0,-45) width 4: "]" 32 RenderMathMLOperator {mo} at (5 8,3) size 8x3033 RenderBlock (anonymous) at (0,0) size 7x16 34 RenderText {#text} at (0,-45) size 7x106 35 text run at (0,-45) width 7: "\x{2308}" 36 RenderMathMLOperator {mo} at ( 66,3) size 8x3037 RenderBlock (anonymous) at (0,0) size 7x16 38 RenderText {#text} at (0,-45) size 7x106 39 text run at (0,-45) width 7: "\x{2309}" 40 RenderMathMLOperator {mo} at ( 74,3) size 8x3041 RenderBlock (anonymous) at (0,0) size 7x16 42 RenderText {#text} at (0,-45) size 7x106 43 text run at (0,-45) width 7: "\x{230A}" 44 RenderMathMLOperator {mo} at ( 82,3) size 8x3045 RenderBlock (anonymous) at (0,0) size 7x16 46 RenderText {#text} at (0,-45) size 7x106 47 text run at (0,-45) width 7: "\x{230B}" 48 RenderMathMLOperator {mo} at ( 90,0) size 17x3649 RenderBlock (anonymous) at (0,0) size 11x18 50 RenderText {#text} at (0,-44) size 11x106 51 text run at (0,-44) width 11: "\x{222B}" 52 RenderMathMLOperator {mo} at ( 106,4) size 9x2853 RenderBlock (anonymous) at (0,0) size 4x16 54 RenderText {#text} at (0,-45) size 4x106 55 text run at (0,-45) width 4: "|" 56 RenderMathMLOperator {mo} at (1 14,10) size 7x1657 RenderBlock (anonymous) at (0,0) size 6x16 58 RenderText {#text} at (0,-45) size 6x106 59 text run at (0,-45) width 6: "\x{2016}" 60 RenderMathMLOperator {mo} at (1 20,10) size 18x1661 RenderBlock (anonymous) at (0,0) size 8x16 62 RenderText {#text} at (0,-45) size 8x106 63 text run at (0,-45) width 8: "\x{2225}" 64 RenderText {#text} at (13 9,8) size 5x1765 text run at (13 9,8) width 5: " "3 layer at (0,0) size 800x268 4 RenderBlock {HTML} at (0,0) size 800x268 5 RenderBody {BODY} at (8,8) size 784x252 6 RenderMathMLMath {math} at (0,0) size 132x36 [padding: 0 1 0 1] 7 RenderMathMLRow {mrow} at (1,0) size 130x36 8 RenderMathMLOperator {mo} at (0,6) size 8x24 9 RenderBlock (anonymous) at (0,0) size 6x16 10 RenderText {#text} at (0,-45) size 6x106 11 text run at (0,-45) width 6: "(" 12 RenderMathMLOperator {mo} at (8,6) size 8x24 13 RenderBlock (anonymous) at (0,0) size 6x16 14 RenderText {#text} at (0,-45) size 6x106 15 text run at (0,-45) width 6: ")" 16 RenderMathMLOperator {mo} at (16,6) size 10x24 17 RenderBlock (anonymous) at (0,0) size 8x16 18 RenderText {#text} at (0,-45) size 8x106 19 text run at (0,-45) width 8: "{" 20 RenderMathMLOperator {mo} at (26,6) size 10x24 21 RenderBlock (anonymous) at (0,0) size 8x16 22 RenderText {#text} at (0,-45) size 8x106 23 text run at (0,-45) width 8: "}" 24 RenderMathMLOperator {mo} at (36,6) size 7x24 25 RenderBlock (anonymous) at (0,0) size 4x16 26 RenderText {#text} at (0,-45) size 4x106 27 text run at (0,-45) width 4: "[" 28 RenderMathMLOperator {mo} at (43,6) size 7x24 29 RenderBlock (anonymous) at (0,0) size 4x16 30 RenderText {#text} at (0,-45) size 4x106 31 text run at (0,-45) width 4: "]" 32 RenderMathMLOperator {mo} at (50,6) size 8x24 33 RenderBlock (anonymous) at (0,0) size 7x16 34 RenderText {#text} at (0,-45) size 7x106 35 text run at (0,-45) width 7: "\x{2308}" 36 RenderMathMLOperator {mo} at (58,6) size 8x24 37 RenderBlock (anonymous) at (0,0) size 7x16 38 RenderText {#text} at (0,-45) size 7x106 39 text run at (0,-45) width 7: "\x{2309}" 40 RenderMathMLOperator {mo} at (66,6) size 8x24 41 RenderBlock (anonymous) at (0,0) size 7x16 42 RenderText {#text} at (0,-45) size 7x106 43 text run at (0,-45) width 7: "\x{230A}" 44 RenderMathMLOperator {mo} at (74,6) size 8x24 45 RenderBlock (anonymous) at (0,0) size 7x16 46 RenderText {#text} at (0,-45) size 7x106 47 text run at (0,-45) width 7: "\x{230B}" 48 RenderMathMLOperator {mo} at (82,0) size 17x36 49 RenderBlock (anonymous) at (0,0) size 11x18 50 RenderText {#text} at (0,-44) size 11x106 51 text run at (0,-44) width 11: "\x{222B}" 52 RenderMathMLOperator {mo} at (98,6) size 9x24 53 RenderBlock (anonymous) at (0,0) size 4x16 54 RenderText {#text} at (0,-45) size 4x106 55 text run at (0,-45) width 4: "|" 56 RenderMathMLOperator {mo} at (106,10) size 7x16 57 RenderBlock (anonymous) at (0,0) size 6x16 58 RenderText {#text} at (0,-45) size 6x106 59 text run at (0,-45) width 6: "\x{2016}" 60 RenderMathMLOperator {mo} at (112,10) size 18x16 61 RenderBlock (anonymous) at (0,0) size 8x16 62 RenderText {#text} at (0,-45) size 8x106 63 text run at (0,-45) width 8: "\x{2225}" 64 RenderText {#text} at (131,8) size 5x17 65 text run at (131,8) width 5: " " 66 66 RenderBR {BR} at (0,0) size 0x0 67 RenderMathMLMath {math} at (0,36) size 172x14 3[padding: 0 1 0 1]68 RenderMathMLRow {mrow} at (1,0) size 170x14 369 RenderMathMLOperator {mo} at (0,0) size 14x14 370 RenderBlock (anonymous) at (0,0) size 6x16 71 RenderText {#text} at (0,-45) size 6x106 72 text run at (0,-45) width 6: "(" 73 RenderMathMLOperator {mo} at (14,0) size 14x14 374 RenderBlock (anonymous) at (0,0) size 6x16 75 RenderText {#text} at (0,-45) size 6x106 76 text run at (0,-45) width 6: ")" 77 RenderMathMLOperator {mo} at (28,0) size 14x14 378 RenderBlock (anonymous) at (0,0) size 8x16 79 RenderText {#text} at (0,-45) size 8x106 80 text run at (0,-45) width 8: "{" 81 RenderMathMLOperator {mo} at (42,0) size 14x14 382 RenderBlock (anonymous) at (0,0) size 8x16 83 RenderText {#text} at (0,-45) size 8x106 84 text run at (0,-45) width 8: "}" 85 RenderMathMLOperator {mo} at (56,0) size 11x14 386 RenderBlock (anonymous) at (0,0) size 4x16 87 RenderText {#text} at (0,-45) size 4x106 88 text run at (0,-45) width 4: "[" 89 RenderMathMLOperator {mo} at (67,0) size 11x14 390 RenderBlock (anonymous) at (0,0) size 4x16 91 RenderText {#text} at (0,-45) size 4x106 92 text run at (0,-45) width 4: "]" 93 RenderMathMLOperator {mo} at (78,0) size 11x14 394 RenderBlock (anonymous) at (0,0) size 7x16 95 RenderText {#text} at (0,-45) size 7x106 96 text run at (0,-45) width 7: "\x{2308}" 97 RenderMathMLOperator {mo} at (89,0) size 11x14 398 RenderBlock (anonymous) at (0,0) size 7x16 99 RenderText {#text} at (0,-45) size 7x106 100 text run at (0,-45) width 7: "\x{2309}" 101 RenderMathMLOperator {mo} at (100,0) size 11x14 3102 RenderBlock (anonymous) at (0,0) size 7x16 103 RenderText {#text} at (0,-45) size 7x106 104 text run at (0,-45) width 7: "\x{230A}" 105 RenderMathMLOperator {mo} at (111,0) size 11x14 367 RenderMathMLMath {math} at (0,36) size 172x142 [padding: 0 1 0 1] 68 RenderMathMLRow {mrow} at (1,0) size 170x142 69 RenderMathMLOperator {mo} at (0,0) size 14x142 70 RenderBlock (anonymous) at (0,0) size 6x16 71 RenderText {#text} at (0,-45) size 6x106 72 text run at (0,-45) width 6: "(" 73 RenderMathMLOperator {mo} at (14,0) size 14x142 74 RenderBlock (anonymous) at (0,0) size 6x16 75 RenderText {#text} at (0,-45) size 6x106 76 text run at (0,-45) width 6: ")" 77 RenderMathMLOperator {mo} at (28,0) size 14x142 78 RenderBlock (anonymous) at (0,0) size 8x16 79 RenderText {#text} at (0,-45) size 8x106 80 text run at (0,-45) width 8: "{" 81 RenderMathMLOperator {mo} at (42,0) size 14x142 82 RenderBlock (anonymous) at (0,0) size 8x16 83 RenderText {#text} at (0,-45) size 8x106 84 text run at (0,-45) width 8: "}" 85 RenderMathMLOperator {mo} at (56,0) size 11x142 86 RenderBlock (anonymous) at (0,0) size 4x16 87 RenderText {#text} at (0,-45) size 4x106 88 text run at (0,-45) width 4: "[" 89 RenderMathMLOperator {mo} at (67,0) size 11x142 90 RenderBlock (anonymous) at (0,0) size 4x16 91 RenderText {#text} at (0,-45) size 4x106 92 text run at (0,-45) width 4: "]" 93 RenderMathMLOperator {mo} at (78,0) size 11x142 94 RenderBlock (anonymous) at (0,0) size 7x16 95 RenderText {#text} at (0,-45) size 7x106 96 text run at (0,-45) width 7: "\x{2308}" 97 RenderMathMLOperator {mo} at (89,0) size 11x142 98 RenderBlock (anonymous) at (0,0) size 7x16 99 RenderText {#text} at (0,-45) size 7x106 100 text run at (0,-45) width 7: "\x{2309}" 101 RenderMathMLOperator {mo} at (100,0) size 11x142 102 RenderBlock (anonymous) at (0,0) size 7x16 103 RenderText {#text} at (0,-45) size 7x106 104 text run at (0,-45) width 7: "\x{230A}" 105 RenderMathMLOperator {mo} at (111,0) size 11x142 106 106 RenderBlock (anonymous) at (0,0) size 7x16 107 107 RenderText {#text} at (0,-45) size 7x106 … … 111 111 RenderText {#text} at (0,-44) size 11x106 112 112 text run at (0,-44) width 11: "\x{222B}" 113 RenderMathMLOperator {mo} at (138,0) size 9x14 3113 RenderMathMLOperator {mo} at (138,0) size 9x142 114 114 RenderBlock (anonymous) at (0,0) size 4x16 115 115 RenderText {#text} at (0,-45) size 4x106 … … 126 126 RenderText {#text} at (171,97) size 5x17 127 127 text run at (171,97) width 5: " " 128 RenderMathMLMath {math} at (175,61) size 172x9 3[padding: 0 1 0 1]129 RenderMathMLRow {mrow} at (1,0) size 170x9 3130 RenderMathMLOperator {mo} at (0,0) size 14x9 3131 RenderBlock (anonymous) at (0,0) size 6x16 132 RenderText {#text} at (0,-45) size 6x106 133 text run at (0,-45) width 6: "(" 134 RenderMathMLOperator {mo} at (14,0) size 14x9 3135 RenderBlock (anonymous) at (0,0) size 6x16 136 RenderText {#text} at (0,-45) size 6x106 137 text run at (0,-45) width 6: ")" 138 RenderMathMLOperator {mo} at (28,0) size 14x9 3139 RenderBlock (anonymous) at (0,0) size 8x16 140 RenderText {#text} at (0,-45) size 8x106 141 text run at (0,-45) width 8: "{" 142 RenderMathMLOperator {mo} at (42,0) size 14x9 3143 RenderBlock (anonymous) at (0,0) size 8x16 144 RenderText {#text} at (0,-45) size 8x106 145 text run at (0,-45) width 8: "}" 146 RenderMathMLOperator {mo} at (56,0) size 11x9 3147 RenderBlock (anonymous) at (0,0) size 4x16 148 RenderText {#text} at (0,-45) size 4x106 149 text run at (0,-45) width 4: "[" 150 RenderMathMLOperator {mo} at (67,0) size 11x9 3151 RenderBlock (anonymous) at (0,0) size 4x16 152 RenderText {#text} at (0,-45) size 4x106 153 text run at (0,-45) width 4: "]" 154 RenderMathMLOperator {mo} at (78,0) size 11x9 3155 RenderBlock (anonymous) at (0,0) size 7x16 156 RenderText {#text} at (0,-45) size 7x106 157 text run at (0,-45) width 7: "\x{2308}" 158 RenderMathMLOperator {mo} at (89,0) size 11x9 3159 RenderBlock (anonymous) at (0,0) size 7x16 160 RenderText {#text} at (0,-45) size 7x106 161 text run at (0,-45) width 7: "\x{2309}" 162 RenderMathMLOperator {mo} at (100,0) size 11x9 3163 RenderBlock (anonymous) at (0,0) size 7x16 164 RenderText {#text} at (0,-45) size 7x106 165 text run at (0,-45) width 7: "\x{230A}" 166 RenderMathMLOperator {mo} at (111,0) size 11x9 3128 RenderMathMLMath {math} at (175,61) size 172x92 [padding: 0 1 0 1] 129 RenderMathMLRow {mrow} at (1,0) size 170x92 130 RenderMathMLOperator {mo} at (0,0) size 14x92 131 RenderBlock (anonymous) at (0,0) size 6x16 132 RenderText {#text} at (0,-45) size 6x106 133 text run at (0,-45) width 6: "(" 134 RenderMathMLOperator {mo} at (14,0) size 14x92 135 RenderBlock (anonymous) at (0,0) size 6x16 136 RenderText {#text} at (0,-45) size 6x106 137 text run at (0,-45) width 6: ")" 138 RenderMathMLOperator {mo} at (28,0) size 14x92 139 RenderBlock (anonymous) at (0,0) size 8x16 140 RenderText {#text} at (0,-45) size 8x106 141 text run at (0,-45) width 8: "{" 142 RenderMathMLOperator {mo} at (42,0) size 14x92 143 RenderBlock (anonymous) at (0,0) size 8x16 144 RenderText {#text} at (0,-45) size 8x106 145 text run at (0,-45) width 8: "}" 146 RenderMathMLOperator {mo} at (56,0) size 11x92 147 RenderBlock (anonymous) at (0,0) size 4x16 148 RenderText {#text} at (0,-45) size 4x106 149 text run at (0,-45) width 4: "[" 150 RenderMathMLOperator {mo} at (67,0) size 11x92 151 RenderBlock (anonymous) at (0,0) size 4x16 152 RenderText {#text} at (0,-45) size 4x106 153 text run at (0,-45) width 4: "]" 154 RenderMathMLOperator {mo} at (78,0) size 11x92 155 RenderBlock (anonymous) at (0,0) size 7x16 156 RenderText {#text} at (0,-45) size 7x106 157 text run at (0,-45) width 7: "\x{2308}" 158 RenderMathMLOperator {mo} at (89,0) size 11x92 159 RenderBlock (anonymous) at (0,0) size 7x16 160 RenderText {#text} at (0,-45) size 7x106 161 text run at (0,-45) width 7: "\x{2309}" 162 RenderMathMLOperator {mo} at (100,0) size 11x92 163 RenderBlock (anonymous) at (0,0) size 7x16 164 RenderText {#text} at (0,-45) size 7x106 165 text run at (0,-45) width 7: "\x{230A}" 166 RenderMathMLOperator {mo} at (111,0) size 11x92 167 167 RenderBlock (anonymous) at (0,0) size 7x16 168 168 RenderText {#text} at (0,-45) size 7x106 … … 172 172 RenderText {#text} at (0,-44) size 11x106 173 173 text run at (0,-44) width 11: "\x{222B}" 174 RenderMathMLOperator {mo} at (138,0) size 9x9 3174 RenderMathMLOperator {mo} at (138,0) size 9x92 175 175 RenderBlock (anonymous) at (0,0) size 4x16 176 176 RenderText {#text} at (0,-45) size 4x106 … … 249 249 text run at (493,97) width 5: " " 250 250 RenderBR {BR} at (0,0) size 0x0 251 RenderMathMLMath {math} at (0,17 9) size 187x76[padding: 0 1 0 1]252 RenderMathMLRoot {msqrt} at (1,0) size 185x7 6253 RenderMathMLOperator {mo} at (17,2) size 14x7 4254 RenderBlock (anonymous) at (0,0) size 6x16 255 RenderText {#text} at (0,-45) size 6x106 256 text run at (0,-45) width 6: "(" 257 RenderMathMLOperator {mo} at (31,2) size 14x7 4258 RenderBlock (anonymous) at (0,0) size 6x16 259 RenderText {#text} at (0,-45) size 6x106 260 text run at (0,-45) width 6: ")" 261 RenderMathMLOperator {mo} at (45,2) size 14x7 4262 RenderBlock (anonymous) at (0,0) size 8x16 263 RenderText {#text} at (0,-45) size 8x106 264 text run at (0,-45) width 8: "{" 265 RenderMathMLOperator {mo} at (59,2) size 14x7 4266 RenderBlock (anonymous) at (0,0) size 8x16 267 RenderText {#text} at (0,-45) size 8x106 268 text run at (0,-45) width 8: "}" 269 RenderMathMLOperator {mo} at (73,2) size 11x7 4270 RenderBlock (anonymous) at (0,0) size 4x16 271 RenderText {#text} at (0,-45) size 4x106 272 text run at (0,-45) width 4: "[" 273 RenderMathMLOperator {mo} at (84,2) size 11x7 4274 RenderBlock (anonymous) at (0,0) size 4x16 275 RenderText {#text} at (0,-45) size 4x106 276 text run at (0,-45) width 4: "]" 277 RenderMathMLOperator {mo} at (95,2) size 11x7 4278 RenderBlock (anonymous) at (0,0) size 7x16 279 RenderText {#text} at (0,-45) size 7x106 280 text run at (0,-45) width 7: "\x{2308}" 281 RenderMathMLOperator {mo} at (106,2) size 11x7 4282 RenderBlock (anonymous) at (0,0) size 7x16 283 RenderText {#text} at (0,-45) size 7x106 284 text run at (0,-45) width 7: "\x{2309}" 285 RenderMathMLOperator {mo} at (117,2) size 11x7 4286 RenderBlock (anonymous) at (0,0) size 7x16 287 RenderText {#text} at (0,-45) size 7x106 288 text run at (0,-45) width 7: "\x{230A}" 289 RenderMathMLOperator {mo} at (128,2) size 11x7 4251 RenderMathMLMath {math} at (0,178) size 187x75 [padding: 0 1 0 1] 252 RenderMathMLRoot {msqrt} at (1,0) size 185x75 253 RenderMathMLOperator {mo} at (17,2) size 14x73 254 RenderBlock (anonymous) at (0,0) size 6x16 255 RenderText {#text} at (0,-45) size 6x106 256 text run at (0,-45) width 6: "(" 257 RenderMathMLOperator {mo} at (31,2) size 14x73 258 RenderBlock (anonymous) at (0,0) size 6x16 259 RenderText {#text} at (0,-45) size 6x106 260 text run at (0,-45) width 6: ")" 261 RenderMathMLOperator {mo} at (45,2) size 14x73 262 RenderBlock (anonymous) at (0,0) size 8x16 263 RenderText {#text} at (0,-45) size 8x106 264 text run at (0,-45) width 8: "{" 265 RenderMathMLOperator {mo} at (59,2) size 14x73 266 RenderBlock (anonymous) at (0,0) size 8x16 267 RenderText {#text} at (0,-45) size 8x106 268 text run at (0,-45) width 8: "}" 269 RenderMathMLOperator {mo} at (73,2) size 11x73 270 RenderBlock (anonymous) at (0,0) size 4x16 271 RenderText {#text} at (0,-45) size 4x106 272 text run at (0,-45) width 4: "[" 273 RenderMathMLOperator {mo} at (84,2) size 11x73 274 RenderBlock (anonymous) at (0,0) size 4x16 275 RenderText {#text} at (0,-45) size 4x106 276 text run at (0,-45) width 4: "]" 277 RenderMathMLOperator {mo} at (95,2) size 11x73 278 RenderBlock (anonymous) at (0,0) size 7x16 279 RenderText {#text} at (0,-45) size 7x106 280 text run at (0,-45) width 7: "\x{2308}" 281 RenderMathMLOperator {mo} at (106,2) size 11x73 282 RenderBlock (anonymous) at (0,0) size 7x16 283 RenderText {#text} at (0,-45) size 7x106 284 text run at (0,-45) width 7: "\x{2309}" 285 RenderMathMLOperator {mo} at (117,2) size 11x73 286 RenderBlock (anonymous) at (0,0) size 7x16 287 RenderText {#text} at (0,-45) size 7x106 288 text run at (0,-45) width 7: "\x{230A}" 289 RenderMathMLOperator {mo} at (128,2) size 11x73 290 290 RenderBlock (anonymous) at (0,0) size 7x16 291 291 RenderText {#text} at (0,-45) size 7x106 … … 295 295 RenderText {#text} at (0,-44) size 11x106 296 296 text run at (0,-44) width 11: "\x{222B}" 297 RenderMathMLOperator {mo} at (155,2) size 9x7 4297 RenderMathMLOperator {mo} at (155,2) size 9x73 298 298 RenderBlock (anonymous) at (0,0) size 4x16 299 299 RenderText {#text} at (0,-45) size 4x106 -
trunk/Source/WebCore/ChangeLog
r202972 r202973 1 2016-07-08 Frederic Wang <fwang@igalia.com> 2 3 Use OpenType MATH constant AxisHeight. 4 https://bugs.webkit.org/show_bug.cgi?id=133567 5 6 Reviewed by Brent Fulgham. 7 8 We make RenderMathMLOperator and RenderMathMLTable use the OpenType MATH constant AxisHeight. 9 These are the only remaining cases to handle since RenderMathMLFraction already uses that constant. 10 11 Tests: imported/mathml-in-html5/mathml/presentation-markup/operators/mo-axis-height-1.html 12 imported/mathml-in-html5/mathml/presentation-markup/tables/table-axis-height.html 13 14 * rendering/mathml/RenderMathMLBlock.cpp: Make RenderMathMLTable use the math axis 15 for its vertical alignment and update a bit the comments. 16 (WebCore::axisHeight): Move the code in a static function that can be called by 17 RenderMathMLBlock and RenderMathMLTable. 18 (WebCore::RenderMathMLBlock::mathAxisHeight): Use axisHeight. 19 (WebCore::RenderMathMLTable::firstLineBaseline): Ditto. 20 * rendering/mathml/RenderMathMLOperator.cpp: 21 (WebCore::RenderMathMLOperator::stretchTo): 22 1 23 2016-07-08 Manuel Rego Casasnovas <rego@igalia.com> 2 24 -
trunk/Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp
r202960 r202973 68 68 } 69 69 70 LayoutUnit RenderMathMLBlock::mathAxisHeight() const 71 { 72 const auto& primaryFont = style().fontCascade().primaryFont(); 70 static LayoutUnit axisHeight(const RenderStyle& style) 71 { 72 // If we have a MATH table we just return the AxisHeight constant. 73 const auto& primaryFont = style.fontCascade().primaryFont(); 73 74 if (auto* mathData = primaryFont.mathData()) 74 75 return mathData->getMathConstant(primaryFont, OpenTypeMathData::AxisHeight); 75 76 76 return style().fontMetrics().xHeight() / 2; 77 // Otherwise, the idea is to try and use the middle of operators as the math axis which we thus approximate by "half of the x-height". 78 // Note that Gecko has a slower but more accurate version that measures half of the height of U+2212 MINUS SIGN. 79 return style.fontMetrics().xHeight() / 2; 80 } 81 82 LayoutUnit RenderMathMLBlock::mathAxisHeight() const 83 { 84 return axisHeight(style()); 77 85 } 78 86 … … 305 313 Optional<int> RenderMathMLTable::firstLineBaseline() const 306 314 { 307 // In legal MathML, we'll have a MathML parent. That RenderFlexibleBox parent will use our firstLineBaseline() for baseline alignment, per 308 // http://dev.w3.org/csswg/css3-flexbox/#flex-baselines. We want to vertically center an <mtable>, such as a matrix. Essentially the whole <mtable> element fits on a 309 // single line, whose baseline gives this centering. This is different than RenderTable::firstLineBoxBaseline, which returns the baseline of the first row of a <table>. 310 return (logicalHeight() + style().fontMetrics().xHeight()) / 2; 315 // By default the vertical center of <mtable> is aligned on the math axis. 316 // This is different than RenderTable::firstLineBoxBaseline, which returns the baseline of the first row of a <table>. 317 return Optional<int>(logicalHeight() / 2 + axisHeight(style())); 311 318 } 312 319 -
trunk/Source/WebCore/rendering/mathml/RenderMathMLOperator.cpp
r202727 r202973 186 186 if (hasOperatorFlag(MathMLOperatorDictionary::Symmetric)) { 187 187 // We make the operator stretch symmetrically above and below the axis. 188 // FIXME: We should read the axis from the MATH table (https://bugs.webkit.org/show_bug.cgi?id=122297). For now, we use the same value as in RenderMathMLFraction::firstLineBaseline(). 189 LayoutUnit axis = style().fontMetrics().xHeight() / 2; 188 LayoutUnit axis = mathAxisHeight(); 190 189 LayoutUnit halfStretchSize = std::max(m_stretchHeightAboveBaseline - axis, m_stretchDepthBelowBaseline + axis); 191 190 m_stretchHeightAboveBaseline = halfStretchSize + axis;
Note: See TracChangeset
for help on using the changeset viewer.