| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>This tests that th is text-align centered when parent has initial value.</title> |
| <style> |
| table { |
| width: 500px; border: 1px solid green; |
| } |
| </style> |
| <table><tbody> |
| <tr><th style="text-align: center">no explicit style</th></tr> |
| <tr><th style="text-align: left">th initial</th></tr> |
| <tr><th style="text-align: left">th start</th></tr> |
| <tr><th style="text-align: center">th center</th></tr> |
| <tr><th style="text-align: left">th initial</th></tr> |
| <tr><th style="text-align: right">th end</th></tr> |
| <tr><th style="text-align: center">tr initial</th></tr> |
| <tr><th style="text-align: center">tr start</th></tr> |
| <tr><th style="text-align: center">tr center</th></tr> |
| <tr><th style="text-align: right">tr end</th></tr> |
| <tr><th style="text-align: right">tr end</th></tr> |
| <tr><th style="text-align: left">tr initial, th initial</th></tr> |
| <tr><th style="text-align: left">tr initial, th start</th></tr> |
| <tr><th style="text-align: left">tr start, th start</th></tr> |
| <tr><th style="text-align: left">tr end, th initial</th></tr> |
| <tr><th style="text-align: left">tr end, th start</th></tr> |
| </tbody></table> |
| </body> |
| </html> |