Bug #5040
closedixsl:contains() returns true for missing 'value' property
0%
Description
I made a test that handles ixsl:onclick
for an empty input (<input id="empty-value"/>
). The stylesheet is here.
Calling ixsl:contains(., 'value')
always returns true()
-- with or without entering the value. (It's being printed out to console in the test.)
I suspect this is because HTML elements (or at least inputs) contain an implicit value
property? Was trying to find a confirmation of this on MDN but couldn't so far.
In any case such behavior of ixsl:contains()
is rather counter-intuitive.
Please register to edit this issue
Also available in: Atom PDF Tracking page