Folding input type hidden with div

Viewed 1172

GitHub layout uses such constructs for CSRF protection of forms (can be seen in sign up form on main page for example):

<div style="margin:0;padding:0;display:inline">
    <input type="hidden" value="somerandombase64" name="authenticity_token">
</div>

What is the reason to fold <input type="hidden" ...> with inline-styled <div>? Isn't that <div> redundant?

2 Answers
Related