Skip to content

Commit

Permalink
remove deprecated align and char attributes from table functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrichau committed Jul 13, 2024
1 parent 28f50f5 commit 4cab783
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,5 @@ renderCurrencyTableBodyOn: html
do: [ :each |
html
tableRow: [
html tableHeading: each first. "https://bugzilla.mozilla.org/show_bug.cgi?id=2212
https://bugzilla.mozilla.org/show_bug.cgi?id=915"
html tableData
align: 'char';
character: $.;
with: (numberPrinter print: each second) ] ] ]
html tableHeading: each first.
html tableData: (numberPrinter print: each second) ] ] ]
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ renderCurrencyTableOn: html
with: [
html tableCaption: 'Currencies against Swiss Franc (CHF)'.
html tableColumnGroup.
html tableColumnGroup width: '100px'; align: 'char'; character: $..
html tableColumnGroup.
self renderCurrencyTableHeadOn: html.
self renderCurrencyTableBodyOn: html ]
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ renderEntityTableBodyOn: html
eachEntity second do: [ :each |
html tableData: each ].
eachEntity second do: [ :each |
html tableData align: 'center';
html tableData
class: 'wacanvastabletest-aligncenter';
with: [ html html: each ] ] ] ] ]
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ rendering
renderEntityTableColumnGroupsOn: html
html tableColumnGroup.
html tableColumnGroup span: 3.
html tableColumnGroup span: 3; align: 'center'
html tableColumnGroup span: 3; class: 'wacanvastabletest-aligncenter'
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ rendering
renderEntityTableFootOn: html
html tableFoot: [
html tableRow: [
html tableData align: 'center'; colSpan: 7;
html tableData colSpan: 7;
class: 'wacanvastabletest-aligncenter';
with: '5 entities shown' ] ]
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ style
padding: 3px;
border:1px solid black;
}
.wacanvastabletest-aligncenter {
text-align: center;
}
'

0 comments on commit 4cab783

Please sign in to comment.