Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-grid] Fix auto repeat with multiple tracks and gutters #14718

Merged
merged 1 commit into from Jan 7, 2019

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Jan 4, 2019

The code that computes the number of auto repeat tracks wrongly assumes
that the second argument of the repeat() notation is a single track
function. That was true in the beginning, however specs were later on
modified to allow a <track-list>. We support a <track-list> as a second
argument since long ago but the code that computes the number of
auto-repeat tracks was never updated.

This patch modifies two places that relates to the gaps between the
auto-repeat tracks, which ensures the proper total length. 4 test
expected values in the auto-repeat-huge-grid.html are also modified.

BUG=813511

Change-Id: Iaf00e7d595a800f07cbe630868f30b82ad7fbd4d
Reviewed-on: https://chromium-review.googlesource.com/c/1393136
Commit-Queue: Manuel Rego <rego@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#620278}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already reviewed downstream.

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-1393136 branch 2 times, most recently from c6bd4d0 to 9836664 Compare January 5, 2019 03:10
The code that computes the number of auto repeat tracks wrongly assumes
that the second argument of the repeat() notation is a single track
function. That was true in the beginning, however specs were later on
modified to allow a <track-list>. We support a <track-list> as a second
argument since long ago but the code that computes the number of
auto-repeat tracks was never updated.

This patch modifies two places that relates to the gaps between the
auto-repeat tracks, which ensures the proper total length. 4 test
expected values in the auto-repeat-huge-grid.html are also modified.

BUG=813511

Change-Id: Iaf00e7d595a800f07cbe630868f30b82ad7fbd4d
Reviewed-on: https://chromium-review.googlesource.com/c/1393136
Commit-Queue: Manuel Rego <rego@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#620278}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants