Open Bug 2014098 Opened 9 days ago Updated 8 days ago

Support nested expressions and boolean operations within @container style() queries

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

People

(Reporter: jfkthame, Unassigned)

References

(Blocks 1 open bug)

Details

Currently it appears that we support @container style(--foo) or style(--bar) but not @container style((--foo) or (--bar)). (Even style((--foo)), just with nested parens, fails to parse.)

I think a way to handle this will be to wrap StyleFeature in a StyleQuery enum that supports nesting and boolean ops, similar to the top-level QueryCondition.

You need to log in before you can comment on or make changes to this bug.