[CSS Grid Layout] Columns set in percentages collapse to auto width

Based on a patch by svillar@igalia.com.

RenderGrid::gridTrackSize() was not checking properly if the grid has or
not an indefinite size.

The condition was including auto which is not indefinite per se. For
example, auto is definite if the containing block is definite.

This patch adds 2 new new methods in RenderBox to determine if the grid
is definite or not.


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

git-svn-id: svn://svn.chromium.org/blink/trunk@189895 bbb929c8-8fbe-4397-9dbb-9b2b20218538
6 files changed
tree: ed790f8a2fd35fe08e3214ccd20d9ec1653f5898
  1. third_party/