CSSMin: Do not escape U+FFFD as code point
authorFomafix <fomafix@googlemail.com>
Thu, 17 May 2018 10:18:27 +0000 (12:18 +0200)
committerFomafix <fomafix@googlemail.com>
Thu, 17 May 2018 10:22:59 +0000 (12:22 +0200)
commita9c11c473b547b17f5366aa7b7514d32cf34a873
tree01845ec11f5d281704a61f1c0736251582c3f513
parent490ffb5cb3b00eee5170a6c942af59e87ad28c36
CSSMin: Do not escape U+FFFD as code point

The current editors draft from 23 April 2018 does not require to escape
the REPLACEMENT CHARACTER (U+FFFD) as code point anymore.

https://drafts.csswg.org/cssom/#serialize-a-string
  If the character is NULL (U+0000), then the REPLACEMENT CHARACTER
  (U+FFFD).

https://www.w3.org/TR/2016/WD-cssom-1-20160317/#serialize-a-string
  If the character is NULL (U+0000), then the REPLACEMENT CHARACTER
  (U+FFFD) escaped as code point.

Change-Id: Ia67e89b3c9561ca29e133d61a2eca8f3db306d8c
includes/libs/CSSMin.php
tests/phpunit/includes/libs/CSSMinTest.php