File tree Expand file tree Collapse file tree 3 files changed +52
-2
lines changed
Expand file tree Collapse file tree 3 files changed +52
-2
lines changed Original file line number Diff line number Diff line change @@ -46,16 +46,18 @@ TESTS = \
4646 render/table-td-width-percent.html \
4747 render/table-thead-tfoot.html \
4848 render/table-thead-tfoot-open-tag.html \
49+ render/text-align-center.html \
4950 render/white-space.html
5051
5152# To be fixed
5253XFAIL_TESTS = \
5354 render/div-100-percent-with-padding.html \
5455 render/float-img-justify.html \
55- render/margin-rounding.html \
5656 render/margin-auto.html \
57+ render/margin-rounding.html \
5758 render/max-width-html.html \
5859 render/min-width-html.html \
5960 render/multiple-floats.html \
6061 render/span-padding.html \
61- render/table-td-width-percent.html
62+ render/table-td-width-percent.html \
63+ render/text-align-center.html
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < title > Test text-align: center</ title >
5+ < style >
6+ .outer {
7+ background-color : coral;
8+ width : 400px ;
9+ }
10+ .inner {
11+ background-color : aquamarine;
12+ text-align : center;
13+ width : 100px ;
14+ }
15+ </ style >
16+ </ head >
17+ < body >
18+ < div class ="outer ">
19+ < div class ="inner "> center</ div >
20+ </ div >
21+ </ html >
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < title > Test text-align: center</ title >
5+ < style >
6+ table , tr , td {
7+ border-spacing : 0 ;
8+ margin : 0 ;
9+ padding : 0 ;
10+ }
11+ .outer {
12+ background-color : coral;
13+ width : 400px ;
14+ }
15+ .inner {
16+ background-color : aquamarine;
17+ text-align : center;
18+ width : 100px ;
19+ }
20+ </ style >
21+ </ head >
22+ < body >
23+ < table class ="outer ">
24+ < tr > < td class ="inner "> center</ td > < td > </ td > </ tr >
25+ </ table >
26+ </ body >
27+ </ html >
You can’t perform that action at this time.
0 commit comments