phax/ph-css

:lang with empty expression list parsed incorrectly

shagkur opened this issue · 3 comments

An incorrectly empty lang function type pseudo class like:

:lang() {
	color: black;
}

is parsed incorrectly (should probably even dropped) to this:
:lang( { color:black; }

phax commented

Part of 6.4.1

phax commented

(I don't want to add specific rules to all pseudo classes, except where specific syntax requirements are provided)