Bug 149210

Summary: [css-grid] Grid container's height should include scrollbar
Product: WebKit Reporter: Manuel Rego Casasnovas <rego>
Component: Layout and RenderingAssignee: Manuel Rego Casasnovas <rego>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, jfernandez, kondapallykalyan, svillar
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 60731    
Attachments:
Description Flags
Patch none

Description Manuel Rego Casasnovas 2015-09-16 01:12:38 PDT
Scrollbar size is not included in the grid container's height and it should be.

Example to reproduce the issue:
<div style="display: -webkit-grid; overflow: scroll;">
  <div style="background: lime;">item</div>
</div>

The grid's height should be the item's height + the scrollbar.

Note that this is working properly for the width.

This was already reported and fixed in Blink:
https://code.google.com/p/chromium/issues/detail?id=532032
Comment 1 Manuel Rego Casasnovas 2015-09-16 01:15:42 PDT
Created attachment 261302 [details]
Patch
Comment 2 WebKit Commit Bot 2015-09-16 03:09:38 PDT
Comment on attachment 261302 [details]
Patch

Clearing flags on attachment: 261302

Committed r189860: <http://trac.webkit.org/changeset/189860>
Comment 3 WebKit Commit Bot 2015-09-16 03:09:41 PDT
All reviewed patches have been landed.  Closing bug.