Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Issue 2885003002: [css-grid] Properly reset auto repeat style attributes (Closed)

Created:
3 years, 7 months ago by svillar
Modified:
3 years, 7 months ago
CC:
chromium-reviews, blink-reviews, jfernandez, blink-reviews-style_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[css-grid] Properly reset auto repeat style attributes All the auto repeat attributes stored in ComputedStyle were not properly initialized/set up whenever initial or inherit were used in grid-template-{columns|rows}. This means that any previous value would be incorrectly used by the grid layout logic like for example to compute the number of auto repeat tracks. This was causing crashes as we were trying to access invalid indexes in the Vectors storing the style information for tracks. BUG=722054 Review-Url: https://codereview.chromium.org/2885003002 Cr-Commit-Position: refs/heads/master@{#472396} Committed: https://chromium.googlesource.com/chromium/src/+/b3a11019e6709be450e8dc92130e53920c0e5717

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-repeat-inherit-initial-crash.html View 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-repeat-inherit-initial-crash-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
svillar
Sending out for review
3 years, 7 months ago (2017-05-16 14:30:47 UTC) #2
Manuel Rego
I'm wondering if this is enough or not. What happens if you do "grid-template-columns: inherit;" ...
3 years, 7 months ago (2017-05-16 15:32:46 UTC) #3
svillar
On 2017/05/16 15:32:46, Manuel Rego wrote: > I'm wondering if this is enough or not. ...
3 years, 7 months ago (2017-05-16 15:35:57 UTC) #4
Manuel Rego
On 2017/05/16 15:35:57, svillar wrote: > On 2017/05/16 15:32:46, Manuel Rego wrote: > > I'm ...
3 years, 7 months ago (2017-05-16 15:44:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2885003002/1
3 years, 7 months ago (2017-05-17 07:47:33 UTC) #8
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 09:30:53 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/b3a11019e6709be450e8dc92130e...

Powered by Google App Engine
This is Rietveld 408576698