A green 10px offset underline 4px thick
A blue 20px offset underline 2px thick

Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassgetComputedStyle() for root element
Asserts run
Pass
assert_equals("8px", "8px", "Text underline offset is 8px.")
    at Test.<anonymous> ( /css/css-highlight-api/highlight-pseudo-from-font-computed.html:43:5)
Pass
assert_equals("4px", "4px", "Text decoration thickness is 4px.")
    at Test.<anonymous> ( /css/css-highlight-api/highlight-pseudo-from-font-computed.html:44:5)
PassgetComputedStyle() for root highlight applied to div
Asserts run
Pass
assert_equals("10px", "10px", "Text underline offset is 10px.")
    at Test.<anonymous> ( /css/css-highlight-api/highlight-pseudo-from-font-computed.html:49:5)
Pass
assert_equals("4px", "4px", "Text decoration thickness is 4px.")
    at Test.<anonymous> ( /css/css-highlight-api/highlight-pseudo-from-font-computed.html:50:5)
PassgetComputedStyle() for div specific highlight
Asserts run
Pass
assert_equals("20px", "20px", "Text underline offset is 20px.")
    at Test.<anonymous> ( /css/css-highlight-api/highlight-pseudo-from-font-computed.html:55:5)
Pass
assert_equals("2px", "2px", "Text decoration thickness is 2px.")
    at Test.<anonymous> ( /css/css-highlight-api/highlight-pseudo-from-font-computed.html:56:5)