{"action":"created","issue":{"url":"https://api.github.com/repos/litehtml/litehtml/issues/39","labels_url":"https://api.github.com/repos/litehtml/litehtml/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/litehtml/litehtml/issues/39/comments","events_url":"https://api.github.com/repos/litehtml/litehtml/issues/39/events","html_url":"https://github.com/litehtml/litehtml/issues/39","id":111993695,"number":39,"title":"Can't get it working consistently.","user":{"login":"blitz-research","id":3487554,"avatar_url":"https://avatars.githubusercontent.com/u/3487554?v=3","gravatar_id":"","url":"https://api.github.com/users/blitz-research","html_url":"https://github.com/blitz-research","followers_url":"https://api.github.com/users/blitz-research/followers","following_url":"https://api.github.com/users/blitz-research/following{/other_user}","gists_url":"https://api.github.com/users/blitz-research/gists{/gist_id}","starred_url":"https://api.github.com/users/blitz-research/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blitz-research/subscriptions","organizations_url":"https://api.github.com/users/blitz-research/orgs","repos_url":"https://api.github.com/users/blitz-research/repos","events_url":"https://api.github.com/users/blitz-research/events{/privacy}","received_events_url":"https://api.github.com/users/blitz-research/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-10-18T01:10:02Z","updated_at":"2015-10-18T20:05:01Z","closed_at":null,"body":"I've got this working OK on Mac, but for some reason I can't get it working consistently on Windows/Linux.\r\n\r\nThe page I'm trying to load is here:\r\n\r\nhttp://www.monkey-x.com/docs/html/Home.html\r\n\r\nEach time I load it, something is slightly wong, like a border is added to the top table, or margins are 0, or font size is wrong. This seems like it must be an uninitialized var issue, but I can't find anything - even checked with valgrind.\r\n\r\nThe page works OK(ish) in litebrowser - but then, that didn't appear to leak memory either. Is litebrowser built with *exactly* the same version of litehtml as the one in github? The windows container code in the github source seems slightly wrong - eg: it uses cssborder instead of border in places etc. Is that out of date?\r\n"},"comment":{"url":"https://api.github.com/repos/litehtml/litehtml/issues/comments/149042548","html_url":"https://github.com/litehtml/litehtml/issues/39#issuecomment-149042548","issue_url":"https://api.github.com/repos/litehtml/litehtml/issues/39","id":149042548,"user":{"login":"Kwizatz","id":2333297,"avatar_url":"https://avatars.githubusercontent.com/u/2333297?v=3","gravatar_id":"","url":"https://api.github.com/users/Kwizatz","html_url":"https://github.com/Kwizatz","followers_url":"https://api.github.com/users/Kwizatz/followers","following_url":"https://api.github.com/users/Kwizatz/following{/other_user}","gists_url":"https://api.github.com/users/Kwizatz/gists{/gist_id}","starred_url":"https://api.github.com/users/Kwizatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kwizatz/subscriptions","organizations_url":"https://api.github.com/users/Kwizatz/orgs","repos_url":"https://api.github.com/users/Kwizatz/repos","events_url":"https://api.github.com/users/Kwizatz/events{/privacy}","received_events_url":"https://api.github.com/users/Kwizatz/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T20:05:01Z","updated_at":"2015-10-18T20:05:01Z","body":"Or gcc related. There is template magic mixed with the inline magic of the operator in there, gcc has bitten me in the rear before with inline functions. may be the case that when less is instanced it has not seen the declaration of the operator for some reason and thus it uses plain pointer comparison.\r\n\r\nI like removing less as a solution because it is less code to worry about, but it is your call.\r\n\r\nIt may be worth something trying the original code with a non inline operator < just to narrow the cause of the issue."}}