Originally reported for blink https://code.google.com/p/chromium/issues/detail?id=463079 it's also failing in WebKit with the following test case. <!DOCTYPE html> <style> * { display: -webkit-inline-grid; height: calc(100% - 10px); grid-template-rows: minmax(100%, -webkit-max-content); } </style> <summary> <style></style> </summary> The problem is that when computing the height of the grid container we can get -1 and we aren't handling that case properly.
Created attachment 247856 [details] Patch
Comment on attachment 247856 [details] Patch Attachment 247856 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/6398349741654016 New failing tests: fast/css-grid-layout/grid-indefinite-calculated-height-crash.html
Created attachment 247857 [details] Archive of layout-test-results from ews101 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-mavericks Platform: Mac OS X 10.9.5
Comment on attachment 247856 [details] Patch Attachment 247856 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/6572637098606592 New failing tests: fast/css-grid-layout/grid-indefinite-calculated-height-crash.html
Created attachment 247858 [details] Archive of layout-test-results from ews107 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Created attachment 247859 [details] Removed an invalid carry return added by mistake in the expectations file
Comment on attachment 247859 [details] Removed an invalid carry return added by mistake in the expectations file Clearing flags on attachment: 247859 Committed r181141: <http://trac.webkit.org/changeset/181141>
All reviewed patches have been landed. Closing bug.