futtta / ao_critcss_aas

Autoptimize power-up to integrate with criticalcss.com
9 stars 1 forks source link

type rule execution order #43

Closed futtta closed 6 years ago

futtta commented 6 years ago

if an is_page-rule was created before an is_front_page one, the front-page (if a page) never gets the CCSS from the is_front_page rule but the one of is_page.

futtta commented 6 years ago

better ordering in https://github.com/futtta/ao_critcss_aas/commit/708934ab4187c592c992fb734eec9d39d005725a

and making sure ao_ccss_rules is ordered correctly in the first place as per https://github.com/futtta/ao_critcss_aas/commit/c592fcb9eca3467793fbe784b8317d09db26588c