silexlabs / Cocktail

An HTML/CSS rendering engine for the Haxe language
http://www.silexlabs.org/haxe/cocktail/
Other
192 stars 34 forks source link

css styles are case sensitive #344

Closed codam closed 11 years ago

yanhick commented 11 years ago

After a few research and some tests, it turns out that css values should be case-sensitive in HTML5 : http://stackoverflow.com/questions/3190119/css-style-sheet-is-not-working

The bug was caused because I think the html5 doctype was missing in you document.

However the name of the attribute should be case-insensitive, I'll add another bug for that