sabberworm / PHP-CSS-Parser

A Parser for CSS Files written in PHP. Allows extraction of CSS files into a data structure, manipulation of said structure and output as (optimized) CSS

Home Page:http://www.sabberworm.com/blog/2010/6/10/php-css-parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with value of background-position with multiple images

eternoendless opened this issue · comments

Using 8.1.0

Tested CSS:

div { background-position: top left, right bottom }

Interpreted rule for background-position:

screen shot 2017-12-13 at 16 22 55

It looks like the value is being interpreted roughly as

top (left, right) bottom

...instead of

(top left), (right bottom)

This makes processing the position for each image really hard