Skip to content

Commit

Permalink
test: recent nekohtml versions do not consider 'a' to be inline
Browse files Browse the repository at this point in the history
so let's pick an unambiguously-inline element to test.
  • Loading branch information
flavorjones committed Apr 10, 2022
1 parent 2af2a87 commit db72b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/html4/test_element_description.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_deprecated?
end

def test_inline?
assert_predicate(ElementDescription["a"], :inline?)
assert_predicate(ElementDescription["strong"], :inline?)
refute_predicate(ElementDescription["div"], :inline?)
end

Expand Down

0 comments on commit db72b90

Please sign in to comment.