codec/webvtt: make some css properties case-insensitive
commit6f728b8b70247d3bac9b4f882e4d69ce814984b3
authorFilip Roséen <filip@atch.se>
Tue, 7 Nov 2017 17:39:41 +0000 (7 18:39 +0100)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 8 Nov 2017 19:34:33 +0000 (8 20:34 +0100)
tree683dca918a22b6a365ffa8422a89f352a56273a0
parent601289ef4626d3bb25e555a31174b8192e74df76
codec/webvtt: make some css properties case-insensitive

Property names, and some possible values, are case-insensitive in CSS,
meaning that the previous implementation woulc/could reject a legal
document due to casing.

See 4.1.3 in W3/CSS22 or the equivalent section in CSS3 (8.1).

 - https://www.w3.org/TR/CSS22/syndata.html#characters
 - https://www.w3.org/TR/css-syntax-3/#style-rule

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
modules/codec/webvtt/css_style.c