It is my dialog.

Summary

Harness status: OK

Found 10 tests

Details

ResultTest NameMessage
PassshowModal() should center in the viewport
Asserts run
Pass
assert_approx_equals(350.5, 350.5, 1)
    at checkVerticallyCentered ( /html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html:49:5)
PassDialog should be recentered if showModal() is called after close()
Asserts run
Pass
assert_approx_equals(350.5, 350.5, 1)
    at checkVerticallyCentered ( /html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html:49:5)
PassDialog should not recenter on relayout.
Asserts run
Pass
assert_equals(350.5, 350.5)
    at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html:96:5)
PassA tall dialog should be positioned at the top of the viewport.
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html:104:5)
PassThe dialog should be centered regardless of the presence of a horizontal scrollbar.
Asserts run
Pass
assert_approx_equals(350.5, 350.5, 1)
    at checkVerticallyCentered ( /html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html:49:5)
PassCentering should work when dialog is inside positioned containers.
Asserts run
Pass
assert_approx_equals(350.5, 350.5, 1)
    at checkVerticallyCentered ( /html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html:49:5)
Pass
assert_approx_equals(350.5, 350.5, 1)
    at checkVerticallyCentered ( /html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html:49:5)
PassA centered dialog's position should survive becoming display:none temporarily.
Asserts run
Pass
assert_equals(350.5, 350.5)
    at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html:138:5)
PassDialog should not still be centered when removed, and re-added to the document.
Asserts run
Pass
assert_approx_equals(350.5, 350.5, 1)
    at checkVerticallyCentered ( /html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html:49:5)
Pass
assert_equals(320, 320)
    at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html:153:5)
PassDialog's specified position should survive after close() and showModal().
Asserts run
Pass
assert_equals(350.5, 350.5)
    at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html:164:5)
PassDialog should be recentered if showModal() is called after removing 'open'.
Asserts run
Pass
assert_approx_equals(350.5, 350.5, 1)
    at checkVerticallyCentered ( /html/semantics/interactive-elements/the-dialog-element/abspos-dialog-layout.html:49:5)