Bug 149116 - [css-grid] Percentage columns should remove scrollbar's width
Summary: [css-grid] Percentage columns should remove scrollbar's width
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Manuel Rego Casasnovas
Depends on:
Blocks: 60731
  Show dependency treegraph
Reported: 2015-09-14 01:14 PDT by Manuel Rego Casasnovas
Modified: 2015-09-14 02:46 PDT (History)
6 users (show)

See Also:

Patch (4.97 KB, patch)
2015-09-14 01:22 PDT, Manuel Rego Casasnovas
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rego Casasnovas 2015-09-14 01:14:33 PDT
If you've a column with 100% but the grid has a vertical scrollbar, scrollbar's width should be reduced from the track breadth.

Example to reproduce the issue:
<div style="display: -webkit-grid; overflow: scroll; -webkit-grid: 100% / 100%; width: 200px; height: 200px;">
  <div style="background: lime;">item</div>

The width of the item is "200px", when it should be "200px - scrollbar's width".

Note that the height is working as expected.

This was already reported and fixed in Blink:
Comment 1 Manuel Rego Casasnovas 2015-09-14 01:22:53 PDT
Created attachment 261110 [details]
Comment 2 WebKit Commit Bot 2015-09-14 02:46:51 PDT
Comment on attachment 261110 [details]

Clearing flags on attachment: 261110

Committed r189702: <http://trac.webkit.org/changeset/189702>
Comment 3 WebKit Commit Bot 2015-09-14 02:46:55 PDT
All reviewed patches have been landed.  Closing bug.