View Single Post
Old 01-10-2026, 09:17 AM   #1
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 609
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Error check: "expected selector X to come before Y"

The "Check books" error for malordered CSS rules says:

Expected selector "X" to come before selector "Y"

However, the associated details only give the position of rule X, not rule Y (compare with the error for mismatched tags, which gives the position of both tags).

Would it be possible to show the position of both selectors in the error message to make it easier to locate Y? (Or better still, since the checker can obviously recognise the expected order of rules, have an autofix option which reorders all the rules automatically?)
Phssthpok is offline   Reply With Quote