THPDFHTMLImporter.OnDiagnostic

Event raised for every diagnostic produced during an import run

property OnDiagnostic: THPDFHTMLDiagnosticEvent read FOnDiagnostic
  write FOnDiagnostic;

The unit is HPDFHTMLImport; the handler receives the same THPDFHTMLDiagnostic record that gets appended to Diagnostics, and its Kind is a THPDFHTMLDiagnosticKind value

The event keeps firing after the retention list reaches MaxDiagnostics, so live logging remains complete

With StrictCSS switched on the event fires before the EHPDFHTMLUnsupportedCSS exception propagates