|
|
Created:
6 years, 4 months ago by Sunil Ratnu Modified:
6 years, 4 months ago CC:
blink-reviews, jfernandez, Manuel Rego, svillar Base URL:
https://chromium.googlesource.com/chromium/blink.git@master Visibility:
Public. |
Description[CSS Grid Layout] Test coverage for column-* properties.
According to the spec: all of the column-* properties in the Multicol module
have no effect on a grid container.
This was already working as expected but we were missing test for this.
TEST:fast/css-grid-layout/column-property-should-not-apply-on-grid-container.html
BUG=395788
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180814
Patch Set 1 #
Total comments: 2
Patch Set 2 : Incorporated review comments #
Total comments: 2
Patch Set 3 : Adding more content to show the bug #
Messages
Total messages: 28 (0 generated)
Please review this. Thanks!
lgtm https://codereview.chromium.org/493683002/diff/1/LayoutTests/fast/css-grid-la... File LayoutTests/fast/css-grid-layout/column-property-should-not-apply-on-grid-container.html (right): https://codereview.chromium.org/493683002/diff/1/LayoutTests/fast/css-grid-la... LayoutTests/fast/css-grid-layout/column-property-should-not-apply-on-grid-container.html:15: column-width: 1em; Let's get rid of the implicit assumption that the grid width is the viewport's by adding an explicit width here. I would also just set the column-count as it's easier to see what's going on (and avoids having a lot of columns). My take would be: width: 20em; column-count:2; (which would nicely split the content into 2 columns, thus showing the issue a lot more than a lot of columns).
https://codereview.chromium.org/493683002/diff/1/LayoutTests/fast/css-grid-la... File LayoutTests/fast/css-grid-layout/column-property-should-not-apply-on-grid-container.html (right): https://codereview.chromium.org/493683002/diff/1/LayoutTests/fast/css-grid-la... LayoutTests/fast/css-grid-layout/column-property-should-not-apply-on-grid-container.html:15: column-width: 1em; Thanks Julien for the review. I have made the suggested changes. Also, 1. I have removed column-width property as column-count itself is sufficient enough. 2. Added column-gap so that this CL tests more than one column-* property as mentioned in the title. Please have an another look before commiting. On 2014/08/20 18:14:48, Julien Chaffraix - PST wrote: > Let's get rid of the implicit assumption that the grid width is the viewport's > by adding an explicit width here. I would also just set the column-count as it's > easier to see what's going on (and avoids having a lot of columns). > > My take would be: > width: 20em; > column-count:2; > > (which would nicely split the content into 2 columns, thus showing the issue a > lot more than a lot of columns).
lgtm with more content to show the bug. https://codereview.chromium.org/493683002/diff/20001/LayoutTests/fast/css-gri... File LayoutTests/fast/css-grid-layout/column-property-should-not-apply-on-grid-container.html (right): https://codereview.chromium.org/493683002/diff/20001/LayoutTests/fast/css-gri... LayoutTests/fast/css-grid-layout/column-property-should-not-apply-on-grid-container.html:21: AAAAAAAAAA BBBBBBBBBB I would have left the content untouched. The reason is that if you don't have enough content to fill a second line in your multi-column, we wouldn't see the difference visually.
https://codereview.chromium.org/493683002/diff/20001/LayoutTests/fast/css-gri... File LayoutTests/fast/css-grid-layout/column-property-should-not-apply-on-grid-container.html (right): https://codereview.chromium.org/493683002/diff/20001/LayoutTests/fast/css-gri... LayoutTests/fast/css-grid-layout/column-property-should-not-apply-on-grid-container.html:21: AAAAAAAAAA BBBBBBBBBB On 2014/08/21 15:23:48, Julien Chaffraix - PST wrote: > I would have left the content untouched. The reason is that if you don't have > enough content to fill a second line in your multi-column, we wouldn't see the > difference visually. Done.
The CQ bit was checked by sunil.ratnu@samsung.com
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sunil.ratnu@samsung.com/493683002/40001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/android_chromium_gn_comp...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/android_chromium_gn_comp...)
The CQ bit was checked by sunil.ratnu@samsung.com
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sunil.ratnu@samsung.com/493683002/40001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/android_chromium_gn_comp...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/android_chromium_gn_comp...)
The CQ bit was checked by sunil.ratnu@samsung.com
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sunil.ratnu@samsung.com/493683002/40001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/android_chromium_gn_comp...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/android_chromium_gn_comp...)
The CQ bit was checked by sunil.ratnu@samsung.com
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sunil.ratnu@samsung.com/493683002/40001
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/android_chromium_gn_comp...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/android_chromium_gn_comp...)
The CQ bit was checked by sunil.ratnu@samsung.com
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sunil.ratnu@samsung.com/493683002/40001
Message was sent while issue was closed.
Committed patchset #3 (40001) as 180814 |