Changeset 180792 in webkit


Ignore:
Timestamp:
Feb 27, 2015 4:02:53 PM (9 years ago)
Author:
mmaxfield@apple.com
Message:

[iOS] Some MathML tests crash in RenderMathMLOperator::advanceForGlyph() or boundsForGlyph()
https://bugs.webkit.org/show_bug.cgi?id=141371

Reviewed by David Kilzer.

Source/WebCore:

Null checks.

Covered by existing mathml tests.

  • rendering/mathml/RenderMathMLOperator.cpp:

(WebCore::RenderMathMLOperator::boundsForGlyph):
(WebCore::RenderMathMLOperator::advanceForGlyph):
(WebCore::RenderMathMLOperator::getDisplayStyleLargeOperator):

LayoutTests:

Updating expected results and TestExpectations

  • platform/ios-simulator-wk2/TestExpectations:
  • platform/ios-simulator/mathml/opentype/horizontal-munderover-expected.txt:
  • platform/ios-simulator/mathml/opentype/large-operators-expected.txt:
  • platform/ios-simulator/mathml/opentype/vertical-expected.txt:
Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r180791 r180792  
     12015-02-27  Myles C. Maxfield  <mmaxfield@apple.com>
     2
     3        [iOS] Some MathML tests crash in RenderMathMLOperator::advanceForGlyph() or boundsForGlyph()
     4        https://bugs.webkit.org/show_bug.cgi?id=141371
     5
     6        Reviewed by David Kilzer.
     7
     8        Updating expected results and TestExpectations
     9
     10        * platform/ios-simulator-wk2/TestExpectations:
     11        * platform/ios-simulator/mathml/opentype/horizontal-munderover-expected.txt:
     12        * platform/ios-simulator/mathml/opentype/large-operators-expected.txt:
     13        * platform/ios-simulator/mathml/opentype/vertical-expected.txt:
     14
    1152015-02-27  Chris Dumez  <cdumez@apple.com>
    216
  • trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations

    r180557 r180792  
    260260# MathML tests that fail:
    261261mathml/presentation/mo-stretch.html [ Failure ]
    262 
    263 # <rdar://problem/19760282&19760299> Some MathML tests crash in RenderMathMLOperator::advanceForGlyph() or boundsForGlyph()
    264 webkit.org/b/141371 mathml/opentype/horizontal.html [ Crash ]
    265 webkit.org/b/141371 mathml/opentype/horizontal-munderover.html [ Crash Timeout ]
    266 webkit.org/b/141371 mathml/opentype/large-operators.html [ Crash Failure ]
    267 webkit.org/b/141371 mathml/opentype/munderover-layout-resize.html [ Crash ]
    268 webkit.org/b/141371 mathml/opentype/munderover-layout-resize-expected.html [ Crash ]
    269 webkit.org/b/141371 mathml/presentation/mo-invisible.html [ Crash ]
    270 webkit.org/b/141371 mathml/opentype/vertical.html [ Crash Failure ]
    271262
    272263# SVG tests that time out:
  • trunk/LayoutTests/platform/ios-simulator/mathml/opentype/horizontal-munderover-expected.txt

    r174527 r180792  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x65
    4   RenderBlock {HTML} at (0,0) size 800x65
    5     RenderBody {BODY} at (8,16) size 784x33
    6       RenderBlock {P} at (0,0) size 784x33
    7         RenderMathMLMath {math} at (0,8) size 50x15 [padding: 0 1 0 1]
    8           RenderMathMLRow {mstyle} at (1,0) size 48x15
    9             RenderMathMLUnderOver {mover} at (0,0) size 48x15
    10               RenderMathMLOperator {mo} at (0,2) size 48x13
    11                 RenderMathMLBlock (anonymous, flex) at (0,0) size 48x13
    12                   RenderBlock (anonymous) at (0,0) size 16x13
    13                     RenderText at (0,0) size 16x17
    14                       text run at (0,0) width 16: "\x{23DE}"
     3layer at (0,0) size 800x52
     4  RenderBlock {HTML} at (0,0) size 800x52
     5    RenderBody {BODY} at (8,16) size 784x20
     6      RenderBlock {P} at (0,0) size 784x20
     7        RenderMathMLMath {math} at (0,13) size 50x3 [padding: 0 1 0 1]
     8          RenderMathMLRow {mstyle} at (1,0) size 48x3
     9            RenderMathMLUnderOver {mover} at (0,0) size 48x3
     10              RenderMathMLOperator {mo} at (0,2) size 48x1
     11                RenderMathMLBlock (anonymous, flex) at (0,0) size 48x1
     12                  RenderBlock (anonymous) at (0,0) size 0x1
     13                    RenderText at (0,-12) size 0x17
     14                      text run at (0,-12) width 0: "\x{23DE}"
    1515              RenderMathMLSpace {mspace} at (0,0) size 48x2 [bgcolor=#FF0000]
    16         RenderText {#text} at (50,7) size 4x19
    17           text run at (50,7) width 4: " "
    18         RenderMathMLMath {math} at (54,10) size 66x12 [padding: 0 1 0 1]
    19           RenderMathMLRow {mstyle} at (1,0) size 64x12
    20             RenderMathMLUnderOver {mover} at (0,0) size 64x12
    21               RenderMathMLSpace {mspace} at (0,10) size 64x2 [bgcolor=#FF0000]
    22               RenderMathMLOperator {mo} at (0,0) size 64x10
    23                 RenderMathMLBlock (anonymous, flex) at (0,0) size 64x10
    24                   RenderBlock (anonymous) at (0,0) size 12x10
    25                     RenderText at (0,0) size 12x13
    26                       text run at (0,0) width 12: "\x{23DE}"
    27         RenderText {#text} at (120,7) size 4x19
    28           text run at (120,7) width 4: " "
    29         RenderMathMLMath {math} at (124,10) size 50x15 [padding: 0 1 0 1]
    30           RenderMathMLRow {mstyle} at (1,0) size 48x15
    31             RenderMathMLUnderOver {munder} at (0,0) size 48x15
    32               RenderMathMLOperator {mo} at (0,0) size 48x13
    33                 RenderMathMLBlock (anonymous, flex) at (0,0) size 48x13
    34                   RenderBlock (anonymous) at (0,0) size 16x13
    35                     RenderText at (0,0) size 16x17
    36                       text run at (0,0) width 16: "\x{23DE}"
    37               RenderMathMLSpace {mspace} at (0,13) size 48x2 [bgcolor=#FF0000]
    38         RenderText {#text} at (174,7) size 4x19
    39           text run at (174,7) width 4: " "
    40         RenderMathMLMath {math} at (178,10) size 66x22 [padding: 0 1 0 1]
    41           RenderMathMLRow {mstyle} at (1,0) size 64x22
    42             RenderMathMLUnderOver {munderover} at (0,0) size 64x22
    43               RenderMathMLSpace {mspace} at (0,10) size 64x2 [bgcolor=#FF0000]
    44               RenderMathMLOperator {mo} at (0,12) size 64x10
    45                 RenderMathMLBlock (anonymous, flex) at (0,0) size 64x10
    46                   RenderBlock (anonymous) at (0,0) size 12x10
    47                     RenderText at (0,0) size 12x13
    48                       text run at (0,0) width 12: "\x{23DE}"
    49               RenderMathMLOperator {mo} at (0,0) size 64x10
    50                 RenderMathMLBlock (anonymous, flex) at (0,0) size 64x10
    51                   RenderBlock (anonymous) at (0,0) size 12x10
    52                     RenderText at (0,0) size 12x13
    53                       text run at (0,0) width 12: "\x{23DE}"
    54         RenderText {#text} at (244,7) size 4x19
    55           text run at (244,7) width 4: " "
    56         RenderMathMLMath {math} at (248,0) size 50x25 [padding: 0 1 0 1]
    57           RenderMathMLRow {mstyle} at (1,0) size 48x25
    58             RenderMathMLUnderOver {munderover} at (0,0) size 48x25
    59               RenderMathMLOperator {mo} at (0,10) size 48x13
    60                 RenderMathMLBlock (anonymous, flex) at (0,0) size 48x13
    61                   RenderBlock (anonymous) at (0,0) size 16x13
    62                     RenderText at (0,0) size 16x17
    63                       text run at (0,0) width 16: "\x{23DE}"
    64               RenderMathMLSpace {mspace} at (0,23) size 48x2 [bgcolor=#FF0000]
    65               RenderMathMLOperator {mo} at (0,0) size 48x10
    66                 RenderMathMLBlock (anonymous, flex) at (0,0) size 48x10
    67                   RenderBlock (anonymous) at (0,0) size 12x10
    68                     RenderText at (0,0) size 12x13
    69                       text run at (0,0) width 12: "\x{23DE}"
    70         RenderText {#text} at (298,7) size 4x19
    71           text run at (298,7) width 4: " "
    72         RenderMathMLMath {math} at (302,8) size 50x25 [padding: 0 1 0 1]
    73           RenderMathMLRow {mstyle} at (1,0) size 48x25
    74             RenderMathMLUnderOver {munderover} at (0,0) size 48x25
    75               RenderMathMLOperator {mo} at (0,2) size 48x13
    76                 RenderMathMLBlock (anonymous, flex) at (0,0) size 48x13
    77                   RenderBlock (anonymous) at (0,0) size 16x13
    78                     RenderText at (0,0) size 16x17
    79                       text run at (0,0) width 16: "\x{23DE}"
    80               RenderMathMLOperator {mo} at (0,15) size 48x10
    81                 RenderMathMLBlock (anonymous, flex) at (0,0) size 48x10
    82                   RenderBlock (anonymous) at (0,0) size 12x10
    83                     RenderText at (0,0) size 12x13
    84                       text run at (0,0) width 12: "\x{23DE}"
     16        RenderText {#text} at (50,0) size 4x19
     17          text run at (50,0) width 4: " "
     18        RenderMathMLMath {math} at (54,12) size 66x3 [padding: 0 1 0 1]
     19          RenderMathMLRow {mstyle} at (1,0) size 64x3
     20            RenderMathMLUnderOver {mover} at (0,0) size 64x3
     21              RenderMathMLSpace {mspace} at (0,1) size 64x2 [bgcolor=#FF0000]
     22              RenderMathMLOperator {mo} at (0,0) size 64x1
     23                RenderMathMLBlock (anonymous, flex) at (0,0) size 64x1
     24                  RenderBlock (anonymous) at (0,0) size 0x1
     25                    RenderText at (0,-9) size 0x13
     26                      text run at (0,-9) width 0: "\x{23DE}"
     27        RenderText {#text} at (120,0) size 4x19
     28          text run at (120,0) width 4: " "
     29        RenderMathMLMath {math} at (124,15) size 50x3 [padding: 0 1 0 1]
     30          RenderMathMLRow {mstyle} at (1,0) size 48x3
     31            RenderMathMLUnderOver {munder} at (0,0) size 48x3
     32              RenderMathMLOperator {mo} at (0,0) size 48x1
     33                RenderMathMLBlock (anonymous, flex) at (0,0) size 48x1
     34                  RenderBlock (anonymous) at (0,0) size 0x1
     35                    RenderText at (0,-12) size 0x17
     36                      text run at (0,-12) width 0: "\x{23DE}"
     37              RenderMathMLSpace {mspace} at (0,1) size 48x2 [bgcolor=#FF0000]
     38        RenderText {#text} at (174,0) size 4x19
     39          text run at (174,0) width 4: " "
     40        RenderMathMLMath {math} at (178,12) size 66x4 [padding: 0 1 0 1]
     41          RenderMathMLRow {mstyle} at (1,0) size 64x4
     42            RenderMathMLUnderOver {munderover} at (0,0) size 64x4
     43              RenderMathMLSpace {mspace} at (0,1) size 64x2 [bgcolor=#FF0000]
     44              RenderMathMLOperator {mo} at (0,3) size 64x1
     45                RenderMathMLBlock (anonymous, flex) at (0,0) size 64x1
     46                  RenderBlock (anonymous) at (0,0) size 0x1
     47                    RenderText at (0,-9) size 0x13
     48                      text run at (0,-9) width 0: "\x{23DE}"
     49              RenderMathMLOperator {mo} at (0,0) size 64x1
     50                RenderMathMLBlock (anonymous, flex) at (0,0) size 64x1
     51                  RenderBlock (anonymous) at (0,0) size 0x1
     52                    RenderText at (0,-9) size 0x13
     53                      text run at (0,-9) width 0: "\x{23DE}"
     54        RenderText {#text} at (244,0) size 4x19
     55          text run at (244,0) width 4: " "
     56        RenderMathMLMath {math} at (248,14) size 50x4 [padding: 0 1 0 1]
     57          RenderMathMLRow {mstyle} at (1,0) size 48x4
     58            RenderMathMLUnderOver {munderover} at (0,0) size 48x4
     59              RenderMathMLOperator {mo} at (0,1) size 48x1
     60                RenderMathMLBlock (anonymous, flex) at (0,0) size 48x1
     61                  RenderBlock (anonymous) at (0,0) size 0x1
     62                    RenderText at (0,-12) size 0x17
     63                      text run at (0,-12) width 0: "\x{23DE}"
     64              RenderMathMLSpace {mspace} at (0,2) size 48x2 [bgcolor=#FF0000]
     65              RenderMathMLOperator {mo} at (0,0) size 48x1
     66                RenderMathMLBlock (anonymous, flex) at (0,0) size 48x1
     67                  RenderBlock (anonymous) at (0,0) size 0x1
     68                    RenderText at (0,-9) size 0x13
     69                      text run at (0,-9) width 0: "\x{23DE}"
     70        RenderText {#text} at (298,0) size 4x19
     71          text run at (298,0) width 4: " "
     72        RenderMathMLMath {math} at (302,13) size 50x4 [padding: 0 1 0 1]
     73          RenderMathMLRow {mstyle} at (1,0) size 48x4
     74            RenderMathMLUnderOver {munderover} at (0,0) size 48x4
     75              RenderMathMLOperator {mo} at (0,2) size 48x1
     76                RenderMathMLBlock (anonymous, flex) at (0,0) size 48x1
     77                  RenderBlock (anonymous) at (0,0) size 0x1
     78                    RenderText at (0,-12) size 0x17
     79                      text run at (0,-12) width 0: "\x{23DE}"
     80              RenderMathMLOperator {mo} at (0,3) size 48x1
     81                RenderMathMLBlock (anonymous, flex) at (0,0) size 48x1
     82                  RenderBlock (anonymous) at (0,0) size 0x1
     83                    RenderText at (0,-9) size 0x13
     84                      text run at (0,-9) width 0: "\x{23DE}"
    8585              RenderMathMLSpace {mspace} at (0,0) size 48x2 [bgcolor=#FF0000]
    86         RenderText {#text} at (352,7) size 4x19
    87           text run at (352,7) width 4: " "
    88         RenderMathMLMath {math} at (356,8) size 50x25 [padding: 0 1 0 1]
    89           RenderMathMLRow {mstyle} at (1,0) size 48x25
    90             RenderMathMLUnderOver {munder} at (0,0) size 48x25
    91               RenderMathMLUnderOver {mover} at (0,0) size 48x15
    92                 RenderMathMLOperator {mo} at (0,2) size 48x13
    93                   RenderMathMLBlock (anonymous, flex) at (0,0) size 48x13
    94                     RenderBlock (anonymous) at (0,0) size 16x13
    95                       RenderText at (0,0) size 16x17
    96                         text run at (0,0) width 16: "\x{23DE}"
     86        RenderText {#text} at (352,0) size 4x19
     87          text run at (352,0) width 4: " "
     88        RenderMathMLMath {math} at (356,13) size 50x4 [padding: 0 1 0 1]
     89          RenderMathMLRow {mstyle} at (1,0) size 48x4
     90            RenderMathMLUnderOver {munder} at (0,0) size 48x4
     91              RenderMathMLUnderOver {mover} at (0,0) size 48x3
     92                RenderMathMLOperator {mo} at (0,2) size 48x1
     93                  RenderMathMLBlock (anonymous, flex) at (0,0) size 48x1
     94                    RenderBlock (anonymous) at (0,0) size 0x1
     95                      RenderText at (0,-12) size 0x17
     96                        text run at (0,-12) width 0: "\x{23DE}"
    9797                RenderMathMLSpace {mspace} at (0,0) size 48x2 [bgcolor=#FF0000]
    98               RenderMathMLOperator {mo} at (0,15) size 48x10
    99                 RenderMathMLBlock (anonymous, flex) at (0,0) size 48x10
    100                   RenderBlock (anonymous) at (0,0) size 12x10
    101                     RenderText at (0,0) size 12x13
    102                       text run at (0,0) width 12: "\x{23DE}"
     98              RenderMathMLOperator {mo} at (0,3) size 48x1
     99                RenderMathMLBlock (anonymous, flex) at (0,0) size 48x1
     100                  RenderBlock (anonymous) at (0,0) size 0x1
     101                    RenderText at (0,-9) size 0x13
     102                      text run at (0,-9) width 0: "\x{23DE}"
    103103        RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/platform/ios-simulator/mathml/opentype/large-operators-expected.txt

    r174527 r180792  
    55    RenderBody {BODY} at (8,8) size 784x17
    66      RenderMathMLMath {math} at (0,0) size 784x17 [padding: 0 1 0 1]
    7         RenderMathMLOperator {mo} at (275,1) size 15x16
     7        RenderMathMLOperator {mo} at (294,1) size 15x16
    88          RenderMathMLBlock (anonymous, flex) at (0,0) size 13x16
    99            RenderBlock (anonymous) at (0,0) size 12x16
    1010              RenderText at (0,0) size 12x17
    1111                text run at (0,0) width 12: "\x{2211}"
    12         RenderMathMLOperator {mo} at (289,0) size 7x16
     12        RenderMathMLOperator {mo} at (308,0) size 7x16
    1313          RenderMathMLBlock (anonymous, flex) at (0,0) size 5x16
    1414            RenderBlock (anonymous) at (0,0) size 5x16
    1515              RenderText at (0,1) size 5x17
    1616                text run at (0,1) width 5: "\x{222B}"
    17         RenderMathMLOperator {mo} at (295,2) size 12x15
     17        RenderMathMLOperator {mo} at (314,2) size 12x15
    1818          RenderMathMLBlock (anonymous, flex) at (0,0) size 11x15
    1919            RenderBlock (anonymous) at (0,0) size 11x15
    2020              RenderText at (0,-1) size 11x17
    2121                text run at (0,-1) width 11: "\x{222C}"
    22         RenderMathMLOperator {mo} at (306,2) size 15x15
     22        RenderMathMLOperator {mo} at (325,2) size 16x15
    2323          RenderMathMLBlock (anonymous, flex) at (0,0) size 14x15
    2424            RenderBlock (anonymous) at (0,0) size 14x15
    2525              RenderText at (0,-1) size 14x17
    2626                text run at (0,-1) width 14: "\x{222D}"
    27         RenderMathMLOperator {mo} at (320,1) size 18x13
    28           RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    29             RenderBlock (anonymous) at (0,0) size 16x13
    30               RenderText at (0,0) size 16x17
    31                 text run at (0,0) width 16: "\x{2A0C}"
    32         RenderMathMLOperator {mo} at (337,1) size 20x13
    33           RenderMathMLBlock (anonymous, flex) at (0,0) size 17x13
    34             RenderBlock (anonymous) at (0,0) size 16x13
    35               RenderText at (0,0) size 16x17
    36                 text run at (0,0) width 16: "\x{2A01}"
    37         RenderMathMLOperator {mo} at (356,2) size 8x15
    38           RenderMathMLBlock (anonymous, flex) at (0,0) size 7x15
    39             RenderBlock (anonymous) at (0,0) size 7x15
    40               RenderText at (0,-1) size 7x17
    41                 text run at (0,-1) width 7: "\x{222E}"
    42         RenderMathMLOperator {mo} at (363,0) size 14x17
     27        RenderMathMLOperator {mo} at (340,13) size 1x1
     28          RenderMathMLBlock (anonymous, flex) at (0,0) size 0x1
     29            RenderBlock (anonymous) at (0,0) size 0x1
     30              RenderText at (0,-12) size 0x17
     31                text run at (0,-12) width 0: "\x{2A0C}"
     32        RenderMathMLOperator {mo} at (340,13) size 4x1
     33          RenderMathMLBlock (anonymous, flex) at (0,0) size 0x1
     34            RenderBlock (anonymous) at (0,0) size 0x1
     35              RenderText at (0,-12) size 0x17
     36                text run at (0,-12) width 0: "\x{2A01}"
     37        RenderMathMLOperator {mo} at (343,0) size 18x15
     38          RenderMathMLBlock (anonymous, flex) at (0,0) size 16x15
     39            RenderBlock (anonymous) at (0,0) size 16x15
     40              RenderText at (0,1) size 16x17
     41                text run at (0,1) width 16: "\x{222E}"
     42        RenderMathMLOperator {mo} at (360,0) size 14x17
    4343          RenderMathMLBlock (anonymous, flex) at (0,0) size 13x17
    4444            RenderBlock (anonymous) at (0,0) size 13x17
    4545              RenderText at (0,1) size 13x17
    4646                text run at (0,1) width 13: "\x{222F}"
    47         RenderMathMLOperator {mo} at (377,0) size 18x17
     47        RenderMathMLOperator {mo} at (373,0) size 19x17
    4848          RenderMathMLBlock (anonymous, flex) at (0,0) size 17x17
    4949            RenderBlock (anonymous) at (0,0) size 17x17
    5050              RenderText at (0,1) size 17x17
    5151                text run at (0,1) width 17: "\x{2230}"
    52         RenderMathMLOperator {mo} at (394,1) size 17x16
     52        RenderMathMLOperator {mo} at (391,1) size 17x16
    5353          RenderMathMLBlock (anonymous, flex) at (0,0) size 14x16
    5454            RenderBlock (anonymous) at (0,0) size 14x16
    5555              RenderText at (0,0) size 14x17
    5656                text run at (0,0) width 14: "\x{22C3}"
    57         RenderMathMLOperator {mo} at (410,1) size 17x16
     57        RenderMathMLOperator {mo} at (407,1) size 17x16
    5858          RenderMathMLBlock (anonymous, flex) at (0,0) size 14x16
    5959            RenderBlock (anonymous) at (0,0) size 14x16
    6060              RenderText at (0,0) size 14x17
    6161                text run at (0,0) width 14: "\x{22C0}"
    62         RenderMathMLOperator {mo} at (426,1) size 17x16
     62        RenderMathMLOperator {mo} at (423,1) size 17x16
    6363          RenderMathMLBlock (anonymous, flex) at (0,0) size 14x16
    6464            RenderBlock (anonymous) at (0,0) size 14x16
    6565              RenderText at (0,0) size 14x17
    6666                text run at (0,0) width 14: "\x{22C1}"
    67         RenderMathMLOperator {mo} at (442,1) size 16x16
     67        RenderMathMLOperator {mo} at (439,1) size 16x16
    6868          RenderMathMLBlock (anonymous, flex) at (0,0) size 14x16
    6969            RenderBlock (anonymous) at (0,0) size 14x16
    7070              RenderText at (0,0) size 14x17
    7171                text run at (0,0) width 14: "\x{22C2}"
    72         RenderMathMLOperator {mo} at (457,1) size 20x13
    73           RenderMathMLBlock (anonymous, flex) at (0,0) size 17x13
    74             RenderBlock (anonymous) at (0,0) size 16x13
    75               RenderText at (0,0) size 16x17
    76                 text run at (0,0) width 16: "\x{2A02}"
    77         RenderMathMLOperator {mo} at (476,1) size 17x16
     72        RenderMathMLOperator {mo} at (454,13) size 4x1
     73          RenderMathMLBlock (anonymous, flex) at (0,0) size 0x1
     74            RenderBlock (anonymous) at (0,0) size 0x1
     75              RenderText at (0,-12) size 0x17
     76                text run at (0,-12) width 0: "\x{2A02}"
     77        RenderMathMLOperator {mo} at (457,1) size 17x16
    7878          RenderMathMLBlock (anonymous, flex) at (0,0) size 15x16
    7979            RenderBlock (anonymous) at (0,0) size 14x16
    8080              RenderText at (0,0) size 14x17
    8181                text run at (0,0) width 14: "\x{220F}"
    82         RenderMathMLOperator {mo} at (492,1) size 17x15
     82        RenderMathMLOperator {mo} at (473,1) size 17x15
    8383          RenderMathMLBlock (anonymous, flex) at (0,0) size 15x15
    8484            RenderBlock (anonymous) at (0,0) size 14x15
  • trunk/LayoutTests/platform/ios-simulator/mathml/opentype/vertical-expected.txt

    r174527 r180792  
    55    RenderBody {BODY} at (8,16) size 784x321
    66      RenderBlock {P} at (0,0) size 784x20
    7         RenderMathMLMath {math} at (0,2) size 139x18 [padding: 0 1 0 1]
    8           RenderMathMLOperator {mo} at (1,1) size 7x16
     7        RenderMathMLMath {math} at (0,1) size 114x19 [padding: 0 1 0 1]
     8          RenderMathMLOperator {mo} at (1,2) size 7x16
    99            RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    1010              RenderBlock (anonymous) at (0,0) size 6x16
    1111                RenderText at (0,0) size 6x17
    1212                  text run at (0,0) width 6: "["
    13           RenderMathMLOperator {mo} at (7,1) size 7x16
     13          RenderMathMLOperator {mo} at (7,2) size 7x16
    1414            RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    1515              RenderBlock (anonymous) at (0,0) size 6x16
    1616                RenderText at (0,0) size 6x17
    1717                  text run at (0,0) width 6: "]"
    18           RenderMathMLOperator {mo} at (13,0) size 9x17
     18          RenderMathMLOperator {mo} at (13,1) size 9x17
    1919            RenderMathMLBlock (anonymous, flex) at (0,0) size 8x17
    2020              RenderBlock (anonymous) at (0,0) size 8x17
    2121                RenderText at (0,1) size 8x17
    2222                  text run at (0,1) width 8: "{"
    23           RenderMathMLOperator {mo} at (21,0) size 9x17
     23          RenderMathMLOperator {mo} at (21,1) size 9x17
    2424            RenderMathMLBlock (anonymous, flex) at (0,0) size 8x17
    2525              RenderBlock (anonymous) at (0,0) size 8x17
    2626                RenderText at (0,1) size 8x17
    2727                  text run at (0,1) width 8: "}"
    28           RenderMathMLOperator {mo} at (29,1) size 7x16
     28          RenderMathMLOperator {mo} at (29,2) size 7x16
    2929            RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    3030              RenderBlock (anonymous) at (0,0) size 6x16
    3131                RenderText at (0,0) size 6x17
    3232                  text run at (0,0) width 6: "("
    33           RenderMathMLOperator {mo} at (35,1) size 7x16
     33          RenderMathMLOperator {mo} at (35,2) size 7x16
    3434            RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    3535              RenderBlock (anonymous) at (0,0) size 6x16
    3636                RenderText at (0,0) size 6x17
    3737                  text run at (0,0) width 6: ")"
    38           RenderMathMLOperator {mo} at (41,0) size 8x18
     38          RenderMathMLOperator {mo} at (41,1) size 8x18
    3939            RenderMathMLBlock (anonymous, flex) at (1,0) size 4x18
    4040              RenderBlock (anonymous) at (0,0) size 4x18
    4141                RenderText at (0,1) size 4x17
    4242                  text run at (0,1) width 4: "|"
    43           RenderMathMLOperator {mo} at (48,0) size 7x16
    44             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    45               RenderBlock (anonymous) at (0,0) size 7x16
    46                 RenderText at (0,1) size 7x17
    47                   text run at (0,1) width 7: "\x{2308}"
    48           RenderMathMLOperator {mo} at (54,0) size 7x16
    49             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    50               RenderBlock (anonymous) at (0,0) size 7x16
    51                 RenderText at (0,1) size 7x17
    52                   text run at (0,1) width 7: "\x{2309}"
    53           RenderMathMLOperator {mo} at (60,0) size 7x16
    54             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    55               RenderBlock (anonymous) at (0,0) size 7x16
    56                 RenderText at (0,1) size 7x17
    57                   text run at (0,1) width 7: "\x{230A}"
    58           RenderMathMLOperator {mo} at (66,0) size 8x16
    59             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    60               RenderBlock (anonymous) at (0,0) size 7x16
    61                 RenderText at (0,1) size 7x17
    62                   text run at (0,1) width 7: "\x{230B}"
    63           RenderMathMLOperator {mo} at (73,1) size 17x13
    64             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    65               RenderBlock (anonymous) at (0,0) size 16x13
    66                 RenderText at (0,0) size 16x17
    67                   text run at (0,0) width 16: "\x{27E6}"
    68           RenderMathMLOperator {mo} at (89,1) size 17x13
    69             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    70               RenderBlock (anonymous) at (0,0) size 16x13
    71                 RenderText at (0,0) size 16x17
    72                   text run at (0,0) width 16: "\x{27E7}"
    73           RenderMathMLOperator {mo} at (105,1) size 17x13
    74             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    75               RenderBlock (anonymous) at (0,0) size 16x13
    76                 RenderText at (0,0) size 16x17
    77                   text run at (0,0) width 16: "\x{27E8}"
    78           RenderMathMLOperator {mo} at (121,1) size 17x13
    79             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    80               RenderBlock (anonymous) at (0,0) size 16x13
    81                 RenderText at (0,0) size 16x17
    82                   text run at (0,0) width 16: "\x{27E9}"
    83           RenderMathMLSpace {mspace} at (137,5) size 0x8
     43          RenderMathMLOperator {mo} at (48,7) size 12x10
     44            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x10
     45              RenderBlock (anonymous) at (0,0) size 12x10
     46                RenderText at (0,-5) size 12x17
     47                  text run at (0,-5) width 12: "\x{2308}"
     48          RenderMathMLOperator {mo} at (59,7) size 12x10
     49            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x10
     50              RenderBlock (anonymous) at (0,0) size 12x10
     51                RenderText at (0,-5) size 12x17
     52                  text run at (0,-5) width 12: "\x{2309}"
     53          RenderMathMLOperator {mo} at (70,0) size 13x15
     54            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x15
     55              RenderBlock (anonymous) at (0,0) size 12x15
     56                RenderText at (0,2) size 12x17
     57                  text run at (0,2) width 12: "\x{230A}"
     58          RenderMathMLOperator {mo} at (82,0) size 12x15
     59            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x15
     60              RenderBlock (anonymous) at (0,0) size 12x15
     61                RenderText at (0,2) size 12x17
     62                  text run at (0,2) width 12: "\x{230B}"
     63          RenderMathMLOperator {mo} at (93,14) size 0x1
     64            RenderMathMLBlock (anonymous, flex) at (0,0) size 0x1
     65              RenderBlock (anonymous) at (0,0) size 0x1
     66                RenderText at (0,-12) size 0x17
     67                  text run at (0,-12) width 0: "\x{27E6}"
     68          RenderMathMLOperator {mo} at (93,14) size 0x1
     69            RenderMathMLBlock (anonymous, flex) at (0,0) size 0x1
     70              RenderBlock (anonymous) at (0,0) size 0x1
     71                RenderText at (0,-12) size 0x17
     72                  text run at (0,-12) width 0: "\x{27E7}"
     73          RenderMathMLOperator {mo} at (93,1) size 11x16
     74            RenderMathMLBlock (anonymous, flex) at (0,0) size 10x16
     75              RenderBlock (anonymous) at (0,0) size 10x16
     76                RenderText at (0,1) size 10x17
     77                  text run at (0,1) width 10: "\x{27E8}"
     78          RenderMathMLOperator {mo} at (103,1) size 10x16
     79            RenderMathMLBlock (anonymous, flex) at (0,0) size 10x16
     80              RenderBlock (anonymous) at (0,0) size 10x16
     81                RenderText at (0,1) size 10x17
     82                  text run at (0,1) width 10: "\x{27E9}"
     83          RenderMathMLSpace {mspace} at (112,6) size 0x8
    8484        RenderText {#text} at (0,0) size 0x0
    8585      RenderBlock {P} at (0,36) size 784x21
    86         RenderMathMLMath {math} at (0,0) size 139x21 [padding: 0 1 0 1]
     86        RenderMathMLMath {math} at (0,0) size 114x21 [padding: 0 1 0 1]
    8787          RenderMathMLOperator {mo} at (1,4) size 7x16
    8888            RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
     
    120120                RenderText at (0,1) size 4x17
    121121                  text run at (0,1) width 4: "|"
    122           RenderMathMLOperator {mo} at (48,3) size 7x16
    123             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    124               RenderBlock (anonymous) at (0,0) size 7x16
    125                 RenderText at (0,1) size 7x17
    126                   text run at (0,1) width 7: "\x{2308}"
    127           RenderMathMLOperator {mo} at (54,3) size 7x16
    128             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    129               RenderBlock (anonymous) at (0,0) size 7x16
    130                 RenderText at (0,1) size 7x17
    131                   text run at (0,1) width 7: "\x{2309}"
    132           RenderMathMLOperator {mo} at (60,3) size 7x16
    133             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    134               RenderBlock (anonymous) at (0,0) size 7x16
    135                 RenderText at (0,1) size 7x17
    136                   text run at (0,1) width 7: "\x{230A}"
    137           RenderMathMLOperator {mo} at (66,3) size 8x16
    138             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    139               RenderBlock (anonymous) at (0,0) size 7x16
    140                 RenderText at (0,1) size 7x17
    141                   text run at (0,1) width 7: "\x{230B}"
    142           RenderMathMLOperator {mo} at (73,4) size 17x13
    143             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    144               RenderBlock (anonymous) at (0,0) size 16x13
    145                 RenderText at (0,0) size 16x17
    146                   text run at (0,0) width 16: "\x{27E6}"
    147           RenderMathMLOperator {mo} at (89,4) size 17x13
    148             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    149               RenderBlock (anonymous) at (0,0) size 16x13
    150                 RenderText at (0,0) size 16x17
    151                   text run at (0,0) width 16: "\x{27E7}"
    152           RenderMathMLOperator {mo} at (105,4) size 17x13
    153             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    154               RenderBlock (anonymous) at (0,0) size 16x13
    155                 RenderText at (0,0) size 16x17
    156                   text run at (0,0) width 16: "\x{27E8}"
    157           RenderMathMLOperator {mo} at (121,4) size 17x13
    158             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    159               RenderBlock (anonymous) at (0,0) size 16x13
    160                 RenderText at (0,0) size 16x17
    161                   text run at (0,0) width 16: "\x{27E9}"
    162           RenderMathMLSpace {mspace} at (137,0) size 0x16
    163         RenderText {#text} at (138,1) size 5x19
    164           text run at (138,1) width 5: " "
    165         RenderMathMLMath {math} at (142,0) size 249x20 [padding: 0 1 0 1]
     122          RenderMathMLOperator {mo} at (48,9) size 12x10
     123            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x10
     124              RenderBlock (anonymous) at (0,0) size 12x10
     125                RenderText at (0,-5) size 12x17
     126                  text run at (0,-5) width 12: "\x{2308}"
     127          RenderMathMLOperator {mo} at (59,9) size 12x10
     128            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x10
     129              RenderBlock (anonymous) at (0,0) size 12x10
     130                RenderText at (0,-5) size 12x17
     131                  text run at (0,-5) width 12: "\x{2309}"
     132          RenderMathMLOperator {mo} at (70,2) size 13x15
     133            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x15
     134              RenderBlock (anonymous) at (0,0) size 12x15
     135                RenderText at (0,2) size 12x17
     136                  text run at (0,2) width 12: "\x{230A}"
     137          RenderMathMLOperator {mo} at (82,2) size 12x15
     138            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x15
     139              RenderBlock (anonymous) at (0,0) size 12x15
     140                RenderText at (0,2) size 12x17
     141                  text run at (0,2) width 12: "\x{230B}"
     142          RenderMathMLOperator {mo} at (93,16) size 0x1
     143            RenderMathMLBlock (anonymous, flex) at (0,0) size 0x1
     144              RenderBlock (anonymous) at (0,0) size 0x1
     145                RenderText at (0,-12) size 0x17
     146                  text run at (0,-12) width 0: "\x{27E6}"
     147          RenderMathMLOperator {mo} at (93,16) size 0x1
     148            RenderMathMLBlock (anonymous, flex) at (0,0) size 0x1
     149              RenderBlock (anonymous) at (0,0) size 0x1
     150                RenderText at (0,-12) size 0x17
     151                  text run at (0,-12) width 0: "\x{27E7}"
     152          RenderMathMLOperator {mo} at (93,3) size 11x16
     153            RenderMathMLBlock (anonymous, flex) at (0,0) size 10x16
     154              RenderBlock (anonymous) at (0,0) size 10x16
     155                RenderText at (0,1) size 10x17
     156                  text run at (0,1) width 10: "\x{27E8}"
     157          RenderMathMLOperator {mo} at (103,3) size 10x16
     158            RenderMathMLBlock (anonymous, flex) at (0,0) size 10x16
     159              RenderBlock (anonymous) at (0,0) size 10x16
     160                RenderText at (0,1) size 10x17
     161                  text run at (0,1) width 10: "\x{27E9}"
     162          RenderMathMLSpace {mspace} at (112,0) size 0x16
     163        RenderText {#text} at (113,1) size 5x19
     164          text run at (113,1) width 5: " "
     165        RenderMathMLMath {math} at (117,0) size 250x20 [padding: 0 1 0 1]
    166166          RenderMathMLOperator {mo} at (1,4) size 19x15
    167167            RenderMathMLBlock (anonymous, flex) at (4,0) size 11x15
     
    227227        RenderText {#text} at (0,0) size 0x0
    228228      RenderBlock {P} at (0,73) size 784x40
    229         RenderMathMLMath {math} at (0,0) size 139x41 [padding: 0 1 0 1]
     229        RenderMathMLMath {math} at (0,0) size 114x41 [padding: 0 1 0 1]
    230230          RenderMathMLOperator {mo} at (1,0) size 7x41
    231231            RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
     
    263263                RenderText at (0,1) size 4x17
    264264                  text run at (0,1) width 4: "|"
    265           RenderMathMLOperator {mo} at (48,0) size 7x41
    266             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    267               RenderBlock (anonymous) at (0,0) size 7x16
    268                 RenderText at (0,1) size 7x17
    269                   text run at (0,1) width 7: "\x{2308}"
    270           RenderMathMLOperator {mo} at (54,0) size 7x41
    271             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    272               RenderBlock (anonymous) at (0,0) size 7x16
    273                 RenderText at (0,1) size 7x17
    274                   text run at (0,1) width 7: "\x{2309}"
    275           RenderMathMLOperator {mo} at (60,0) size 7x41
    276             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    277               RenderBlock (anonymous) at (0,0) size 7x16
    278                 RenderText at (0,1) size 7x17
    279                   text run at (0,1) width 7: "\x{230A}"
    280           RenderMathMLOperator {mo} at (66,0) size 8x41
    281             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    282               RenderBlock (anonymous) at (0,0) size 7x16
    283                 RenderText at (0,1) size 7x17
    284                   text run at (0,1) width 7: "\x{230B}"
    285           RenderMathMLOperator {mo} at (73,12) size 17x13
    286             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    287               RenderBlock (anonymous) at (0,0) size 16x13
    288                 RenderText at (0,0) size 16x17
    289                   text run at (0,0) width 16: "\x{27E6}"
    290           RenderMathMLOperator {mo} at (89,12) size 17x13
    291             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    292               RenderBlock (anonymous) at (0,0) size 16x13
    293                 RenderText at (0,0) size 16x17
    294                   text run at (0,0) width 16: "\x{27E7}"
    295           RenderMathMLOperator {mo} at (105,12) size 17x13
    296             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    297               RenderBlock (anonymous) at (0,0) size 16x13
    298                 RenderText at (0,0) size 16x17
    299                   text run at (0,0) width 16: "\x{27E8}"
    300           RenderMathMLOperator {mo} at (121,12) size 17x13
    301             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    302               RenderBlock (anonymous) at (0,0) size 16x13
    303                 RenderText at (0,0) size 16x17
    304                   text run at (0,0) width 16: "\x{27E9}"
    305           RenderMathMLSpace {mspace} at (137,0) size 0x24
     265          RenderMathMLOperator {mo} at (48,0) size 12x41
     266            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x10
     267              RenderBlock (anonymous) at (0,0) size 12x10
     268                RenderText at (0,-5) size 12x17
     269                  text run at (0,-5) width 12: "\x{2308}"
     270          RenderMathMLOperator {mo} at (59,0) size 12x41
     271            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x10
     272              RenderBlock (anonymous) at (0,0) size 12x10
     273                RenderText at (0,-5) size 12x17
     274                  text run at (0,-5) width 12: "\x{2309}"
     275          RenderMathMLOperator {mo} at (70,0) size 13x41
     276            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x15
     277              RenderBlock (anonymous) at (0,0) size 12x15
     278                RenderText at (0,2) size 12x17
     279                  text run at (0,2) width 12: "\x{230A}"
     280          RenderMathMLOperator {mo} at (82,0) size 12x41
     281            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x15
     282              RenderBlock (anonymous) at (0,0) size 12x15
     283                RenderText at (0,2) size 12x17
     284                  text run at (0,2) width 12: "\x{230B}"
     285          RenderMathMLOperator {mo} at (93,24) size 0x1
     286            RenderMathMLBlock (anonymous, flex) at (0,0) size 0x1
     287              RenderBlock (anonymous) at (0,0) size 0x1
     288                RenderText at (0,-12) size 0x17
     289                  text run at (0,-12) width 0: "\x{27E6}"
     290          RenderMathMLOperator {mo} at (93,24) size 0x1
     291            RenderMathMLBlock (anonymous, flex) at (0,0) size 0x1
     292              RenderBlock (anonymous) at (0,0) size 0x1
     293                RenderText at (0,-12) size 0x17
     294                  text run at (0,-12) width 0: "\x{27E7}"
     295          RenderMathMLOperator {mo} at (93,11) size 11x16
     296            RenderMathMLBlock (anonymous, flex) at (0,0) size 10x16
     297              RenderBlock (anonymous) at (0,0) size 10x16
     298                RenderText at (0,1) size 10x17
     299                  text run at (0,1) width 10: "\x{27E8}"
     300          RenderMathMLOperator {mo} at (103,11) size 10x16
     301            RenderMathMLBlock (anonymous, flex) at (0,0) size 10x16
     302              RenderBlock (anonymous) at (0,0) size 10x16
     303                RenderText at (0,1) size 10x17
     304                  text run at (0,1) width 10: "\x{27E9}"
     305          RenderMathMLSpace {mspace} at (112,0) size 0x24
    306306        RenderText {#text} at (0,0) size 0x0
    307307      RenderBlock {P} at (0,129) size 784x56
    308         RenderMathMLMath {math} at (0,0) size 139x57 [padding: 0 1 0 1]
     308        RenderMathMLMath {math} at (0,0) size 114x57 [padding: 0 1 0 1]
    309309          RenderMathMLOperator {mo} at (1,0) size 7x57
    310310            RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
     
    342342                RenderText at (0,1) size 4x17
    343343                  text run at (0,1) width 4: "|"
    344           RenderMathMLOperator {mo} at (48,0) size 7x57
    345             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    346               RenderBlock (anonymous) at (0,0) size 7x16
    347                 RenderText at (0,1) size 7x17
    348                   text run at (0,1) width 7: "\x{2308}"
    349           RenderMathMLOperator {mo} at (54,0) size 7x57
    350             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    351               RenderBlock (anonymous) at (0,0) size 7x16
    352                 RenderText at (0,1) size 7x17
    353                   text run at (0,1) width 7: "\x{2309}"
    354           RenderMathMLOperator {mo} at (60,0) size 7x57
    355             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    356               RenderBlock (anonymous) at (0,0) size 7x16
    357                 RenderText at (0,1) size 7x17
    358                   text run at (0,1) width 7: "\x{230A}"
    359           RenderMathMLOperator {mo} at (66,0) size 8x57
    360             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    361               RenderBlock (anonymous) at (0,0) size 7x16
    362                 RenderText at (0,1) size 7x17
    363                   text run at (0,1) width 7: "\x{230B}"
    364           RenderMathMLOperator {mo} at (73,20) size 17x13
    365             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    366               RenderBlock (anonymous) at (0,0) size 16x13
    367                 RenderText at (0,0) size 16x17
    368                   text run at (0,0) width 16: "\x{27E6}"
    369           RenderMathMLOperator {mo} at (89,20) size 17x13
    370             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    371               RenderBlock (anonymous) at (0,0) size 16x13
    372                 RenderText at (0,0) size 16x17
    373                   text run at (0,0) width 16: "\x{27E7}"
    374           RenderMathMLOperator {mo} at (105,20) size 17x13
    375             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    376               RenderBlock (anonymous) at (0,0) size 16x13
    377                 RenderText at (0,0) size 16x17
    378                   text run at (0,0) width 16: "\x{27E8}"
    379           RenderMathMLOperator {mo} at (121,20) size 17x13
    380             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    381               RenderBlock (anonymous) at (0,0) size 16x13
    382                 RenderText at (0,0) size 16x17
    383                   text run at (0,0) width 16: "\x{27E9}"
    384           RenderMathMLSpace {mspace} at (137,0) size 0x32
    385         RenderText {#text} at (138,17) size 5x19
    386           text run at (138,17) width 5: " "
    387         RenderMathMLMath {math} at (142,0) size 249x36 [padding: 0 1 0 1]
     344          RenderMathMLOperator {mo} at (48,0) size 12x57
     345            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x10
     346              RenderBlock (anonymous) at (0,0) size 12x10
     347                RenderText at (0,-5) size 12x17
     348                  text run at (0,-5) width 12: "\x{2308}"
     349          RenderMathMLOperator {mo} at (59,0) size 12x57
     350            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x10
     351              RenderBlock (anonymous) at (0,0) size 12x10
     352                RenderText at (0,-5) size 12x17
     353                  text run at (0,-5) width 12: "\x{2309}"
     354          RenderMathMLOperator {mo} at (70,0) size 13x57
     355            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x15
     356              RenderBlock (anonymous) at (0,0) size 12x15
     357                RenderText at (0,2) size 12x17
     358                  text run at (0,2) width 12: "\x{230A}"
     359          RenderMathMLOperator {mo} at (82,0) size 12x57
     360            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x15
     361              RenderBlock (anonymous) at (0,0) size 12x15
     362                RenderText at (0,2) size 12x17
     363                  text run at (0,2) width 12: "\x{230B}"
     364          RenderMathMLOperator {mo} at (93,32) size 0x1
     365            RenderMathMLBlock (anonymous, flex) at (0,0) size 0x1
     366              RenderBlock (anonymous) at (0,0) size 0x1
     367                RenderText at (0,-12) size 0x17
     368                  text run at (0,-12) width 0: "\x{27E6}"
     369          RenderMathMLOperator {mo} at (93,32) size 0x1
     370            RenderMathMLBlock (anonymous, flex) at (0,0) size 0x1
     371              RenderBlock (anonymous) at (0,0) size 0x1
     372                RenderText at (0,-12) size 0x17
     373                  text run at (0,-12) width 0: "\x{27E7}"
     374          RenderMathMLOperator {mo} at (93,19) size 11x16
     375            RenderMathMLBlock (anonymous, flex) at (0,0) size 10x16
     376              RenderBlock (anonymous) at (0,0) size 10x16
     377                RenderText at (0,1) size 10x17
     378                  text run at (0,1) width 10: "\x{27E8}"
     379          RenderMathMLOperator {mo} at (103,19) size 10x16
     380            RenderMathMLBlock (anonymous, flex) at (0,0) size 10x16
     381              RenderBlock (anonymous) at (0,0) size 10x16
     382                RenderText at (0,1) size 10x17
     383                  text run at (0,1) width 10: "\x{27E9}"
     384          RenderMathMLSpace {mspace} at (112,0) size 0x32
     385        RenderText {#text} at (113,17) size 5x19
     386          text run at (113,17) width 5: " "
     387        RenderMathMLMath {math} at (117,0) size 250x36 [padding: 0 1 0 1]
    388388          RenderMathMLOperator {mo} at (1,20) size 19x15
    389389            RenderMathMLBlock (anonymous, flex) at (4,0) size 11x15
     
    449449        RenderText {#text} at (0,0) size 0x0
    450450      RenderBlock {P} at (0,201) size 784x120
    451         RenderMathMLMath {math} at (0,0) size 139x121 [padding: 0 1 0 1]
     451        RenderMathMLMath {math} at (0,0) size 114x121 [padding: 0 1 0 1]
    452452          RenderMathMLOperator {mo} at (1,0) size 7x121
    453453            RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
     
    485485                RenderText at (0,1) size 4x17
    486486                  text run at (0,1) width 4: "|"
    487           RenderMathMLOperator {mo} at (48,0) size 7x121
    488             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    489               RenderBlock (anonymous) at (0,0) size 7x16
    490                 RenderText at (0,1) size 7x17
    491                   text run at (0,1) width 7: "\x{2308}"
    492           RenderMathMLOperator {mo} at (54,0) size 7x121
    493             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    494               RenderBlock (anonymous) at (0,0) size 7x16
    495                 RenderText at (0,1) size 7x17
    496                   text run at (0,1) width 7: "\x{2309}"
    497           RenderMathMLOperator {mo} at (60,0) size 7x121
    498             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    499               RenderBlock (anonymous) at (0,0) size 7x16
    500                 RenderText at (0,1) size 7x17
    501                   text run at (0,1) width 7: "\x{230A}"
    502           RenderMathMLOperator {mo} at (66,0) size 8x121
    503             RenderMathMLBlock (anonymous, flex) at (0,0) size 7x16
    504               RenderBlock (anonymous) at (0,0) size 7x16
    505                 RenderText at (0,1) size 7x17
    506                   text run at (0,1) width 7: "\x{230B}"
    507           RenderMathMLOperator {mo} at (73,52) size 17x13
    508             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    509               RenderBlock (anonymous) at (0,0) size 16x13
    510                 RenderText at (0,0) size 16x17
    511                   text run at (0,0) width 16: "\x{27E6}"
    512           RenderMathMLOperator {mo} at (89,52) size 17x13
    513             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    514               RenderBlock (anonymous) at (0,0) size 16x13
    515                 RenderText at (0,0) size 16x17
    516                   text run at (0,0) width 16: "\x{27E7}"
    517           RenderMathMLOperator {mo} at (105,52) size 17x13
    518             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    519               RenderBlock (anonymous) at (0,0) size 16x13
    520                 RenderText at (0,0) size 16x17
    521                   text run at (0,0) width 16: "\x{27E8}"
    522           RenderMathMLOperator {mo} at (121,52) size 17x13
    523             RenderMathMLBlock (anonymous, flex) at (0,0) size 16x13
    524               RenderBlock (anonymous) at (0,0) size 16x13
    525                 RenderText at (0,0) size 16x17
    526                   text run at (0,0) width 16: "\x{27E9}"
    527           RenderMathMLSpace {mspace} at (137,0) size 0x64
    528         RenderText {#text} at (138,49) size 5x19
    529           text run at (138,49) width 5: " "
    530         RenderMathMLMath {math} at (142,0) size 249x68 [padding: 0 1 0 1]
     487          RenderMathMLOperator {mo} at (48,0) size 12x121
     488            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x10
     489              RenderBlock (anonymous) at (0,0) size 12x10
     490                RenderText at (0,-5) size 12x17
     491                  text run at (0,-5) width 12: "\x{2308}"
     492          RenderMathMLOperator {mo} at (59,0) size 12x121
     493            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x10
     494              RenderBlock (anonymous) at (0,0) size 12x10
     495                RenderText at (0,-5) size 12x17
     496                  text run at (0,-5) width 12: "\x{2309}"
     497          RenderMathMLOperator {mo} at (70,0) size 13x121
     498            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x15
     499              RenderBlock (anonymous) at (0,0) size 12x15
     500                RenderText at (0,2) size 12x17
     501                  text run at (0,2) width 12: "\x{230A}"
     502          RenderMathMLOperator {mo} at (82,0) size 12x121
     503            RenderMathMLBlock (anonymous, flex) at (0,0) size 12x15
     504              RenderBlock (anonymous) at (0,0) size 12x15
     505                RenderText at (0,2) size 12x17
     506                  text run at (0,2) width 12: "\x{230B}"
     507          RenderMathMLOperator {mo} at (93,64) size 0x1
     508            RenderMathMLBlock (anonymous, flex) at (0,0) size 0x1
     509              RenderBlock (anonymous) at (0,0) size 0x1
     510                RenderText at (0,-12) size 0x17
     511                  text run at (0,-12) width 0: "\x{27E6}"
     512          RenderMathMLOperator {mo} at (93,64) size 0x1
     513            RenderMathMLBlock (anonymous, flex) at (0,0) size 0x1
     514              RenderBlock (anonymous) at (0,0) size 0x1
     515                RenderText at (0,-12) size 0x17
     516                  text run at (0,-12) width 0: "\x{27E7}"
     517          RenderMathMLOperator {mo} at (93,51) size 11x16
     518            RenderMathMLBlock (anonymous, flex) at (0,0) size 10x16
     519              RenderBlock (anonymous) at (0,0) size 10x16
     520                RenderText at (0,1) size 10x17
     521                  text run at (0,1) width 10: "\x{27E8}"
     522          RenderMathMLOperator {mo} at (103,51) size 10x16
     523            RenderMathMLBlock (anonymous, flex) at (0,0) size 10x16
     524              RenderBlock (anonymous) at (0,0) size 10x16
     525                RenderText at (0,1) size 10x17
     526                  text run at (0,1) width 10: "\x{27E9}"
     527          RenderMathMLSpace {mspace} at (112,0) size 0x64
     528        RenderText {#text} at (113,49) size 5x19
     529          text run at (113,49) width 5: " "
     530        RenderMathMLMath {math} at (117,0) size 250x68 [padding: 0 1 0 1]
    531531          RenderMathMLOperator {mo} at (1,52) size 19x15
    532532            RenderMathMLBlock (anonymous, flex) at (4,0) size 11x15
  • trunk/Source/WebCore/ChangeLog

    r180791 r180792  
     12015-02-27  Myles C. Maxfield  <mmaxfield@apple.com>
     2
     3        [iOS] Some MathML tests crash in RenderMathMLOperator::advanceForGlyph() or boundsForGlyph()
     4        https://bugs.webkit.org/show_bug.cgi?id=141371
     5
     6        Reviewed by David Kilzer.
     7
     8        Null checks.
     9
     10        Covered by existing mathml tests.
     11
     12        * rendering/mathml/RenderMathMLOperator.cpp:
     13        (WebCore::RenderMathMLOperator::boundsForGlyph):
     14        (WebCore::RenderMathMLOperator::advanceForGlyph):
     15        (WebCore::RenderMathMLOperator::getDisplayStyleLargeOperator):
     16
    1172015-02-27  Chris Dumez  <cdumez@apple.com>
    218
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLOperator.cpp

    r180779 r180792  
    13341334FloatRect RenderMathMLOperator::boundsForGlyph(const GlyphData& data) const
    13351335{
    1336     return data.font->boundsForGlyph(data.glyph);
     1336    return data.font && data.glyph ? data.font->boundsForGlyph(data.glyph) : FloatRect();
    13371337}
    13381338
     
    13441344float RenderMathMLOperator::advanceForGlyph(const GlyphData& data) const
    13451345{
    1346     return data.font->widthForGlyph(data.glyph);
     1346    return data.font && data.glyph ? data.font->widthForGlyph(data.glyph) : 0;
    13471347}
    13481348
     
    15411541    const auto& primaryFont = style().fontCascade().primaryFont();
    15421542    GlyphData baseGlyph = style().fontCascade().glyphDataForCharacter(character, !style().isLeftToRightDirection());
    1543     if (!primaryFont.mathData() || baseGlyph.font != &primaryFont)
     1543    if (!primaryFont.mathData() || baseGlyph.font != &primaryFont || !baseGlyph.font || !baseGlyph.glyph)
    15441544        return data;
    15451545
Note: See TracChangeset for help on using the changeset viewer.