The whole comment was added in
fc359e16f1 together with a strtolower().
In
dcd44cdf7d the strtolower() and a part of the comment was removed.
The rest of the comment makes no sense without a strtolower().
Change-Id: Ifa0d88a618e31f4a558bc93a098aabad35761569
*/
public function addStyle( $style, $media = '', $condition = '', $dir = '' ) {
$options = array();
- // Even though we expect the media type to be lowercase, but here we
- // force it to lowercase to be safe.
if ( $media ) {
$options['media'] = $media;
}