PRD-5140 - Prevent illegal inline-layout declarations to break reports.