Positioned <legend> element should honor width: auto

BUG=336176

Review URL: https://codereview.chromium.org/156623004

git-svn-id: svn://svn.chromium.org/blink/trunk@166856 bbb929c8-8fbe-4397-9dbb-9b2b20218538