| This is a testharness.js-based test. |
| PASS div[align=left] legend |
| PASS div[align=center] legend |
| PASS div[align=right] legend |
| PASS div[align=justify] legend |
| FAIL div[style="text-align: center"] legend assert_equals: expected legend[align=left] expected 24 but got 395 |
| FAIL div[style="text-align: center"][align=center] legend assert_equals: expected legend[align=left] expected 24 but got 395 |
| PASS legend[style="margin: 0 auto"] |
| PASS legend[style="margin: 0 0 0 auto"] |
| PASS fieldset[dir=rtl] legend |
| FAIL fieldset[dir=rtl] legend[style="text-align: left"] assert_equals: expected legend[align=right] expected 765 but got 24 |
| Harness: the test ran to completion. |
| |