Changeset 62945 in webkit


Ignore:
Timestamp:
Jul 9, 2010 6:29:12 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-07-09 François Sausset <François Sausset>

Reviewed by Kenneth Rohde Christiansen.

Set the good default behaviour for the columalign attribute on MathML mtable element
https://bugs.webkit.org/show_bug.cgi?id=41631

Test updated.

  • mathml/presentation/tables.xhtml:
  • platform/mac/mathml/presentation/tables-expected.checksum:
  • platform/mac/mathml/presentation/tables-expected.png:
  • platform/mac/mathml/presentation/tables-expected.txt:

2010-07-09 François Sausset <François Sausset>

Reviewed by Kenneth Rohde Christiansen.

Set the good default behaviour for the columalign attribute on MathML mtable element
https://bugs.webkit.org/show_bug.cgi?id=41631

Test update: mathml/tables.xhtml

  • css/mathml.css: (math):
Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r62943 r62945  
     12010-07-09  François Sausset  <sausset@gmail.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        Set the good default behaviour for the columalign attribute on MathML mtable element
     6        https://bugs.webkit.org/show_bug.cgi?id=41631
     7
     8        Test updated.
     9
     10        * mathml/presentation/tables.xhtml:
     11        * platform/mac/mathml/presentation/tables-expected.checksum:
     12        * platform/mac/mathml/presentation/tables-expected.png:
     13        * platform/mac/mathml/presentation/tables-expected.txt:
     14
    1152010-07-09  Nikolas Zimmermann  <nzimmermann@rim.com>
    216
  • trunk/LayoutTests/mathml/presentation/tables.xhtml

    r48559 r62945  
    2525</math>
    2626</p>
     27<p id='t2'>left, default (center) and right column alignment:
     28<math xmlns='http://www.w3.org/1998/Math/MathML'>
     29<mtable columnalign="left">
     30<mtr>
     31<mtd><msub><mi>a</mi><mn>1</mn></msub></mtd>
     32<mtd><msub><mi>a</mi><mn>12</mn></msub></mtd>
     33<mtd><msub><mi>a</mi><mn>13</mn></msub></mtd>
     34</mtr>
     35<mtr>
     36<mtd><msub><mi>b</mi><mn>21</mn></msub></mtd>
     37<mtd><msub><mi>b</mi><mn>2</mn></msub></mtd>
     38<mtd><msub><mi>b</mi><mn>23</mn></msub></mtd>
     39</mtr>
     40<mtr>
     41<mtd><msub><mi>c</mi><mn>31</mn></msub></mtd>
     42<mtd><msub><mi>c</mi><mn>32</mn></msub></mtd>
     43<mtd><msub><mi>c</mi><mn>3</mn></msub></mtd>
     44</mtr>
     45</mtable>
     46<mtext>, </mtext>
     47<mtable>
     48<mtr>
     49<mtd><msub><mi>a</mi><mn>1</mn></msub></mtd>
     50<mtd><msub><mi>a</mi><mn>12</mn></msub></mtd>
     51<mtd><msub><mi>a</mi><mn>13</mn></msub></mtd>
     52</mtr>
     53<mtr>
     54<mtd><msub><mi>b</mi><mn>21</mn></msub></mtd>
     55<mtd><msub><mi>b</mi><mn>2</mn></msub></mtd>
     56<mtd><msub><mi>b</mi><mn>23</mn></msub></mtd>
     57</mtr>
     58<mtr>
     59<mtd><msub><mi>c</mi><mn>31</mn></msub></mtd>
     60<mtd><msub><mi>c</mi><mn>32</mn></msub></mtd>
     61<mtd><msub><mi>c</mi><mn>3</mn></msub></mtd>
     62</mtr>
     63</mtable>
     64<mtext>, </mtext>
     65<mtable columnalign="right">
     66<mtr>
     67<mtd><msub><mi>a</mi><mn>1</mn></msub></mtd>
     68<mtd><msub><mi>a</mi><mn>12</mn></msub></mtd>
     69<mtd><msub><mi>a</mi><mn>13</mn></msub></mtd>
     70</mtr>
     71<mtr>
     72<mtd><msub><mi>b</mi><mn>21</mn></msub></mtd>
     73<mtd><msub><mi>b</mi><mn>2</mn></msub></mtd>
     74<mtd><msub><mi>b</mi><mn>23</mn></msub></mtd>
     75</mtr>
     76<mtr>
     77<mtd><msub><mi>c</mi><mn>31</mn></msub></mtd>
     78<mtd><msub><mi>c</mi><mn>32</mn></msub></mtd>
     79<mtd><msub><mi>c</mi><mn>3</mn></msub></mtd>
     80</mtr>
     81</mtable>
     82</math>
     83</p>
    2784</body>
    2885</html>
  • trunk/LayoutTests/platform/mac/mathml/presentation/tables-expected.checksum

    r61861 r62945  
    1 06268ce07158be2809596e2c4382fc9f
     1496b2a81d83a5acf28694c0a381d752b
  • trunk/LayoutTests/platform/mac/mathml/presentation/tables-expected.txt

    r61861 r62945  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x98
    4   RenderBlock {html} at (0,0) size 800x98
    5     RenderBody {body} at (8,16) size 784x66
     3layer at (0,0) size 800x180
     4  RenderBlock {html} at (0,0) size 800x180
     5    RenderBody {body} at (8,16) size 784x148
    66      RenderBlock {p} at (0,0) size 784x66
    77        RenderText {#text} at (0,26) size 49x18
     
    8686                        text run at (7,10) width 12: "33"
    8787        RenderText {#text} at (0,0) size 0x0
     88      RenderBlock {p} at (0,82) size 784x66
     89        RenderText {#text} at (0,26) size 308x18
     90          text run at (0,26) width 308: "left, default (center) and right column alignment: "
     91        RenderBlock {math} at (308,0) size 198x66
     92          RenderTable {mtable} at (1,0) size 60x66
     93            RenderTableSection (anonymous) at (0,0) size 60x66
     94              RenderTableRow {mtr} at (0,0) size 60x22
     95                RenderTableCell {mtd} at (0,0) size 20x22 [r=0 c=0 rs=1 cs=1]
     96                  RenderBlock {msub} at (0,0) size 14x22
     97                    RenderInline {mi} at (0,0) size 8x16
     98                      RenderText {#text} at (0,3) size 8x16
     99                        text run at (0,3) width 8: "a"
     100                    RenderInline {mn} at (0,0) size 6x12
     101                      RenderText {#text} at (8,10) size 6x12
     102                        text run at (8,10) width 6: "1"
     103                RenderTableCell {mtd} at (20,0) size 20x22 [r=0 c=1 rs=1 cs=1]
     104                  RenderBlock {msub} at (0,0) size 20x22
     105                    RenderInline {mi} at (0,0) size 8x16
     106                      RenderText {#text} at (0,3) size 8x16
     107                        text run at (0,3) width 8: "a"
     108                    RenderInline {mn} at (0,0) size 12x12
     109                      RenderText {#text} at (8,10) size 12x12
     110                        text run at (8,10) width 12: "12"
     111                RenderTableCell {mtd} at (40,0) size 20x22 [r=0 c=2 rs=1 cs=1]
     112                  RenderBlock {msub} at (0,0) size 20x22
     113                    RenderInline {mi} at (0,0) size 8x16
     114                      RenderText {#text} at (0,3) size 8x16
     115                        text run at (0,3) width 8: "a"
     116                    RenderInline {mn} at (0,0) size 12x12
     117                      RenderText {#text} at (8,10) size 12x12
     118                        text run at (8,10) width 12: "13"
     119              RenderTableRow {mtr} at (0,22) size 60x22
     120                RenderTableCell {mtd} at (0,22) size 20x22 [r=1 c=0 rs=1 cs=1]
     121                  RenderBlock {msub} at (0,0) size 20x22
     122                    RenderInline {mi} at (0,0) size 8x16
     123                      RenderText {#text} at (0,3) size 8x16
     124                        text run at (0,3) width 8: "b"
     125                    RenderInline {mn} at (0,0) size 12x12
     126                      RenderText {#text} at (8,10) size 12x12
     127                        text run at (8,10) width 12: "21"
     128                RenderTableCell {mtd} at (20,22) size 20x22 [r=1 c=1 rs=1 cs=1]
     129                  RenderBlock {msub} at (0,0) size 14x22
     130                    RenderInline {mi} at (0,0) size 8x16
     131                      RenderText {#text} at (0,3) size 8x16
     132                        text run at (0,3) width 8: "b"
     133                    RenderInline {mn} at (0,0) size 6x12
     134                      RenderText {#text} at (8,10) size 6x12
     135                        text run at (8,10) width 6: "2"
     136                RenderTableCell {mtd} at (40,22) size 20x22 [r=1 c=2 rs=1 cs=1]
     137                  RenderBlock {msub} at (0,0) size 20x22
     138                    RenderInline {mi} at (0,0) size 8x16
     139                      RenderText {#text} at (0,3) size 8x16
     140                        text run at (0,3) width 8: "b"
     141                    RenderInline {mn} at (0,0) size 12x12
     142                      RenderText {#text} at (8,10) size 12x12
     143                        text run at (8,10) width 12: "23"
     144              RenderTableRow {mtr} at (0,44) size 60x22
     145                RenderTableCell {mtd} at (0,44) size 20x22 [r=2 c=0 rs=1 cs=1]
     146                  RenderBlock {msub} at (0,0) size 19x22
     147                    RenderInline {mi} at (0,0) size 7x16
     148                      RenderText {#text} at (0,3) size 7x16
     149                        text run at (0,3) width 7: "c"
     150                    RenderInline {mn} at (0,0) size 12x12
     151                      RenderText {#text} at (7,10) size 12x12
     152                        text run at (7,10) width 12: "31"
     153                RenderTableCell {mtd} at (20,44) size 20x22 [r=2 c=1 rs=1 cs=1]
     154                  RenderBlock {msub} at (0,0) size 19x22
     155                    RenderInline {mi} at (0,0) size 7x16
     156                      RenderText {#text} at (0,3) size 7x16
     157                        text run at (0,3) width 7: "c"
     158                    RenderInline {mn} at (0,0) size 12x12
     159                      RenderText {#text} at (7,10) size 12x12
     160                        text run at (7,10) width 12: "32"
     161                RenderTableCell {mtd} at (40,44) size 20x22 [r=2 c=2 rs=1 cs=1]
     162                  RenderBlock {msub} at (0,0) size 13x22
     163                    RenderInline {mi} at (0,0) size 7x16
     164                      RenderText {#text} at (0,3) size 7x16
     165                        text run at (0,3) width 7: "c"
     166                    RenderInline {mn} at (0,0) size 6x12
     167                      RenderText {#text} at (7,10) size 6x12
     168                        text run at (7,10) width 6: "3"
     169          RenderInline {mtext} at (0,0) size 8x16
     170            RenderText {#text} at (61,29) size 8x16
     171              text run at (61,29) width 8: ", "
     172          RenderTable {mtable} at (69,0) size 60x66
     173            RenderTableSection (anonymous) at (0,0) size 60x66
     174              RenderTableRow {mtr} at (0,0) size 60x22
     175                RenderTableCell {mtd} at (0,0) size 20x22 [r=0 c=0 rs=1 cs=1]
     176                  RenderBlock {msub} at (3,0) size 14x22
     177                    RenderInline {mi} at (0,0) size 8x16
     178                      RenderText {#text} at (0,3) size 8x16
     179                        text run at (0,3) width 8: "a"
     180                    RenderInline {mn} at (0,0) size 6x12
     181                      RenderText {#text} at (8,10) size 6x12
     182                        text run at (8,10) width 6: "1"
     183                RenderTableCell {mtd} at (20,0) size 20x22 [r=0 c=1 rs=1 cs=1]
     184                  RenderBlock {msub} at (0,0) size 20x22
     185                    RenderInline {mi} at (0,0) size 8x16
     186                      RenderText {#text} at (0,3) size 8x16
     187                        text run at (0,3) width 8: "a"
     188                    RenderInline {mn} at (0,0) size 12x12
     189                      RenderText {#text} at (8,10) size 12x12
     190                        text run at (8,10) width 12: "12"
     191                RenderTableCell {mtd} at (40,0) size 20x22 [r=0 c=2 rs=1 cs=1]
     192                  RenderBlock {msub} at (0,0) size 20x22
     193                    RenderInline {mi} at (0,0) size 8x16
     194                      RenderText {#text} at (0,3) size 8x16
     195                        text run at (0,3) width 8: "a"
     196                    RenderInline {mn} at (0,0) size 12x12
     197                      RenderText {#text} at (8,10) size 12x12
     198                        text run at (8,10) width 12: "13"
     199              RenderTableRow {mtr} at (0,22) size 60x22
     200                RenderTableCell {mtd} at (0,22) size 20x22 [r=1 c=0 rs=1 cs=1]
     201                  RenderBlock {msub} at (0,0) size 20x22
     202                    RenderInline {mi} at (0,0) size 8x16
     203                      RenderText {#text} at (0,3) size 8x16
     204                        text run at (0,3) width 8: "b"
     205                    RenderInline {mn} at (0,0) size 12x12
     206                      RenderText {#text} at (8,10) size 12x12
     207                        text run at (8,10) width 12: "21"
     208                RenderTableCell {mtd} at (20,22) size 20x22 [r=1 c=1 rs=1 cs=1]
     209                  RenderBlock {msub} at (3,0) size 14x22
     210                    RenderInline {mi} at (0,0) size 8x16
     211                      RenderText {#text} at (0,3) size 8x16
     212                        text run at (0,3) width 8: "b"
     213                    RenderInline {mn} at (0,0) size 6x12
     214                      RenderText {#text} at (8,10) size 6x12
     215                        text run at (8,10) width 6: "2"
     216                RenderTableCell {mtd} at (40,22) size 20x22 [r=1 c=2 rs=1 cs=1]
     217                  RenderBlock {msub} at (0,0) size 20x22
     218                    RenderInline {mi} at (0,0) size 8x16
     219                      RenderText {#text} at (0,3) size 8x16
     220                        text run at (0,3) width 8: "b"
     221                    RenderInline {mn} at (0,0) size 12x12
     222                      RenderText {#text} at (8,10) size 12x12
     223                        text run at (8,10) width 12: "23"
     224              RenderTableRow {mtr} at (0,44) size 60x22
     225                RenderTableCell {mtd} at (0,44) size 20x22 [r=2 c=0 rs=1 cs=1]
     226                  RenderBlock {msub} at (0,0) size 19x22
     227                    RenderInline {mi} at (0,0) size 7x16
     228                      RenderText {#text} at (0,3) size 7x16
     229                        text run at (0,3) width 7: "c"
     230                    RenderInline {mn} at (0,0) size 12x12
     231                      RenderText {#text} at (7,10) size 12x12
     232                        text run at (7,10) width 12: "31"
     233                RenderTableCell {mtd} at (20,44) size 20x22 [r=2 c=1 rs=1 cs=1]
     234                  RenderBlock {msub} at (0,0) size 19x22
     235                    RenderInline {mi} at (0,0) size 7x16
     236                      RenderText {#text} at (0,3) size 7x16
     237                        text run at (0,3) width 7: "c"
     238                    RenderInline {mn} at (0,0) size 12x12
     239                      RenderText {#text} at (7,10) size 12x12
     240                        text run at (7,10) width 12: "32"
     241                RenderTableCell {mtd} at (40,44) size 20x22 [r=2 c=2 rs=1 cs=1]
     242                  RenderBlock {msub} at (3,0) size 13x22
     243                    RenderInline {mi} at (0,0) size 7x16
     244                      RenderText {#text} at (0,3) size 7x16
     245                        text run at (0,3) width 7: "c"
     246                    RenderInline {mn} at (0,0) size 6x12
     247                      RenderText {#text} at (7,10) size 6x12
     248                        text run at (7,10) width 6: "3"
     249          RenderInline {mtext} at (0,0) size 8x16
     250            RenderText {#text} at (129,29) size 8x16
     251              text run at (129,29) width 8: ", "
     252          RenderTable {mtable} at (137,0) size 60x66
     253            RenderTableSection (anonymous) at (0,0) size 60x66
     254              RenderTableRow {mtr} at (0,0) size 60x22
     255                RenderTableCell {mtd} at (0,0) size 20x22 [r=0 c=0 rs=1 cs=1]
     256                  RenderBlock {msub} at (6,0) size 14x22
     257                    RenderInline {mi} at (0,0) size 8x16
     258                      RenderText {#text} at (0,3) size 8x16
     259                        text run at (0,3) width 8: "a"
     260                    RenderInline {mn} at (0,0) size 6x12
     261                      RenderText {#text} at (8,10) size 6x12
     262                        text run at (8,10) width 6: "1"
     263                RenderTableCell {mtd} at (20,0) size 20x22 [r=0 c=1 rs=1 cs=1]
     264                  RenderBlock {msub} at (0,0) size 20x22
     265                    RenderInline {mi} at (0,0) size 8x16
     266                      RenderText {#text} at (0,3) size 8x16
     267                        text run at (0,3) width 8: "a"
     268                    RenderInline {mn} at (0,0) size 12x12
     269                      RenderText {#text} at (8,10) size 12x12
     270                        text run at (8,10) width 12: "12"
     271                RenderTableCell {mtd} at (40,0) size 20x22 [r=0 c=2 rs=1 cs=1]
     272                  RenderBlock {msub} at (0,0) size 20x22
     273                    RenderInline {mi} at (0,0) size 8x16
     274                      RenderText {#text} at (0,3) size 8x16
     275                        text run at (0,3) width 8: "a"
     276                    RenderInline {mn} at (0,0) size 12x12
     277                      RenderText {#text} at (8,10) size 12x12
     278                        text run at (8,10) width 12: "13"
     279              RenderTableRow {mtr} at (0,22) size 60x22
     280                RenderTableCell {mtd} at (0,22) size 20x22 [r=1 c=0 rs=1 cs=1]
     281                  RenderBlock {msub} at (0,0) size 20x22
     282                    RenderInline {mi} at (0,0) size 8x16
     283                      RenderText {#text} at (0,3) size 8x16
     284                        text run at (0,3) width 8: "b"
     285                    RenderInline {mn} at (0,0) size 12x12
     286                      RenderText {#text} at (8,10) size 12x12
     287                        text run at (8,10) width 12: "21"
     288                RenderTableCell {mtd} at (20,22) size 20x22 [r=1 c=1 rs=1 cs=1]
     289                  RenderBlock {msub} at (6,0) size 14x22
     290                    RenderInline {mi} at (0,0) size 8x16
     291                      RenderText {#text} at (0,3) size 8x16
     292                        text run at (0,3) width 8: "b"
     293                    RenderInline {mn} at (0,0) size 6x12
     294                      RenderText {#text} at (8,10) size 6x12
     295                        text run at (8,10) width 6: "2"
     296                RenderTableCell {mtd} at (40,22) size 20x22 [r=1 c=2 rs=1 cs=1]
     297                  RenderBlock {msub} at (0,0) size 20x22
     298                    RenderInline {mi} at (0,0) size 8x16
     299                      RenderText {#text} at (0,3) size 8x16
     300                        text run at (0,3) width 8: "b"
     301                    RenderInline {mn} at (0,0) size 12x12
     302                      RenderText {#text} at (8,10) size 12x12
     303                        text run at (8,10) width 12: "23"
     304              RenderTableRow {mtr} at (0,44) size 60x22
     305                RenderTableCell {mtd} at (0,44) size 20x22 [r=2 c=0 rs=1 cs=1]
     306                  RenderBlock {msub} at (1,0) size 19x22
     307                    RenderInline {mi} at (0,0) size 7x16
     308                      RenderText {#text} at (0,3) size 7x16
     309                        text run at (0,3) width 7: "c"
     310                    RenderInline {mn} at (0,0) size 12x12
     311                      RenderText {#text} at (7,10) size 12x12
     312                        text run at (7,10) width 12: "31"
     313                RenderTableCell {mtd} at (20,44) size 20x22 [r=2 c=1 rs=1 cs=1]
     314                  RenderBlock {msub} at (1,0) size 19x22
     315                    RenderInline {mi} at (0,0) size 7x16
     316                      RenderText {#text} at (0,3) size 7x16
     317                        text run at (0,3) width 7: "c"
     318                    RenderInline {mn} at (0,0) size 12x12
     319                      RenderText {#text} at (7,10) size 12x12
     320                        text run at (7,10) width 12: "32"
     321                RenderTableCell {mtd} at (40,44) size 20x22 [r=2 c=2 rs=1 cs=1]
     322                  RenderBlock {msub} at (7,0) size 13x22
     323                    RenderInline {mi} at (0,0) size 7x16
     324                      RenderText {#text} at (0,3) size 7x16
     325                        text run at (0,3) width 7: "c"
     326                    RenderInline {mn} at (0,0) size 6x12
     327                      RenderText {#text} at (7,10) size 6x12
     328                        text run at (7,10) width 6: "3"
     329        RenderText {#text} at (0,0) size 0x0
  • trunk/WebCore/ChangeLog

    r62944 r62945  
     12010-07-09  François Sausset  <sausset@gmail.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        Set the good default behaviour for the columalign attribute on MathML mtable element
     6        https://bugs.webkit.org/show_bug.cgi?id=41631
     7
     8        Test update: mathml/tables.xhtml
     9
     10        * css/mathml.css:
     11        (math):
     12
    1132010-07-09  Sheriff Bot  <webkit.review.bot@gmail.com>
    214
  • trunk/WebCore/css/mathml.css

    r61861 r62945  
    66    padding: 0px;
    77    margin: 0px;
     8    text-align: left;
    89    vertical-align: baseline;
    910    line-height: 1.0;
     
    1617    page-break-inside: avoid;
    1718    margin-bottom: 1em;
    18 }
    19 
    20 math * {
    21    text-align: left;
    2219}
    2320
Note: See TracChangeset for help on using the changeset viewer.