Given CSS with declarations like :hover, :focus and :active, calling the
"inlinify" method results in a number of warnings being raised:
Pseudoclass :hover not supported at .../HTML/Query.pm line 284.
Pseudoclass :focus not supported at .../HTML/Query.pm line 284.
Pseudoclass :last-of-type not supported at .../HTML/Query.pm line 284.
Pseudoclass :nth-child not supported at .../HTML/Query.pm line 284.
Pseudoclass :first-of-type not supported at .../HTML/Query.pm line 284.
Pseudoclass :active not supported at .../HTML/Query.pm line 284.
In my case, these are propagating into cron output and triggering emails
every time I'm using this distribution.
I realise that these errors are coming from HTML::Query rather than from
CSS::Inliner directly, but since these features just aren't supported in
inlined CSS, I wonder whether CSS::Inliner should somehow be responsible
for preventing these warnings from occurring rather than HTML::Query.
I'm happy to be told that this needs to be filed as an HTML::Query bug
instead.
My current workaround is to use Capture::Tiny to capture STDERR while
the "inlinify" method runs, then use a regex to filter out pseudoclass-
related warnings (and propagate any remaining warnings).