{"issue":{"created_at":"2011-11-29T20:37:58Z","state":"open","updated_at":"2011-11-29T20:38:00Z","user":{"gravatar_id":"36e772d37d096b77e4a0f47df1286991","id":343404,"url":"https://api.github.com/users/tristanlins","avatar_url":"https://secure.gravatar.com/avatar/36e772d37d096b77e4a0f47df1286991?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"tristanlins"},"comments":2,"body":"Die CSS Spec sieht vor (wie eigentlich auch jede Programmiersprache), dass bei Dezimalzahlen die führende 0 weg gelassen werden kann.\n\nz.B. anstatt 0.5 kann man auch .5 schreiben.\n\nWird ein Stylesheet über den Quelltexteditor bearbeitet und man vergisst die führende 0 wird die Deklaration ignoriert.\n\n--- _Originally created on March 31st, 2011, at 11:36am (ID 2973)_","assignee":null,"id":2392507,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":2973,"labels":[{"name":"backend","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/backend"},{"name":"Defect","color":"bd2c00","url":"https://api.github.com/repos/contao/import/labels/Defect"},{"name":"Invalid","color":"ffdd00","url":"https://api.github.com/repos/contao/import/labels/Invalid"}],"title":"CSS Quelltexteditor, .X Werte ohne führende 0","closed_at":null,"html_url":"https://github.com/contao/import/issues/2973","url":"https://api.github.com/repos/contao/import/issues/2973","milestone":null},"action":"created","comment":{"created_at":"2011-11-29T20:38:00Z","updated_at":"2011-11-29T20:38:00Z","user":{"gravatar_id":"36e772d37d096b77e4a0f47df1286991","id":343404,"url":"https://api.github.com/users/tristanlins","avatar_url":"https://secure.gravatar.com/avatar/36e772d37d096b77e4a0f47df1286991?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"tristanlins"},"body":"Also das Contao damit nicht klar kommt, das ist ja genau das Problem, PHP hat damit überhaupt keine Probleme:\n\n$ php -r '$v = floatval(\".5\"); var_dump($v);'\nfloat(0.5)\n\n$ php -r '$v = \".5\"; $v ++; var_dump($v);'\nfloat(1.5)\n\nPS: Mein Problem ist halt, das Contao die Definition dann komplett löscht, das ist aber imo kein gutes verhalten ^^\n\n--- _Originally created on March 31st, 2011, at 01:10pm_","id":2946809,"url":"https://api.github.com/repos/contao/import/issues/comments/2946809"}}