Bug 127990

Summary: [CSS Grid Layout] Rename named areas property
Product: WebKit Reporter: Javier Fernandez <jfernandez>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: allan.jensen, bunhere, commit-queue, esprehn+autocc, glenn, gyuyoung.kim, jfernandez, kling, macpherson, menard, rakuco, rego, sergio, svillar, syoichi
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 127987    
Attachments:
Description Flags
Patch
none
Patch rebased and added suggested changes.
none
Patch
none
Patch
none
Patch rebased. none

Description Javier Fernandez 2014-01-31 02:50:30 PST
The property has been renamed from grid-template to grid-template-areas in the last two versions of the spec.
Comment 1 Javier Fernandez 2014-02-06 16:22:23 PST
Created attachment 223401 [details]
Patch
Comment 2 WebKit Commit Bot 2014-02-06 16:23:25 PST
Attachment 223401 [details] did not pass style-queue:


ERROR: Source/WebCore/css/CSSParser.cpp:5138:  Wrong number of spaces before statement. (expected: 24)  [whitespace/indent] [4]
Total errors found: 1 in 26 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Sergio Villar Senin 2014-02-07 01:20:21 PST
Comment on attachment 223401 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=223401&action=review

Looks good, added some nits.

> Source/WebCore/css/CSSGridTemplateAreasValue.cpp:3
> + * Copyright (C) 2013 Igalia S.L.

You might want to add 2014 here

> Source/WebCore/css/CSSGridTemplateAreasValue.h:3
> + * Copyright (C) 2013 Igalia S.L.

ditto.

> LayoutTests/fast/css-grid-layout/grid-item-area-get-set.html:12
>                             "thirdArea thirdArea";

Add spaces here to align both strings

> LayoutTests/fast/css-grid-layout/grid-item-column-row-get-set.html:12
>                             "thirdArea thirdArea";

ditto.

> LayoutTests/fast/css-grid-layout/grid-item-named-grid-area-resolution.html:16
> +    -webkit-grid-template-areas: "first second third"

ditto

> LayoutTests/fast/css-grid-layout/grid-item-named-grid-area-resolution.html:22
>                             "fourth fourth third";

ditto.
Comment 4 Javier Fernandez 2014-02-07 06:53:37 PST
Created attachment 223453 [details]
Patch rebased and added suggested changes.
Comment 5 WebKit Commit Bot 2014-02-07 06:56:33 PST
Attachment 223453 [details] did not pass style-queue:


ERROR: Source/WebCore/css/CSSParser.cpp:5138:  Wrong number of spaces before statement. (expected: 24)  [whitespace/indent] [4]
Total errors found: 1 in 26 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 6 Javier Fernandez 2014-02-10 02:54:15 PST
(In reply to comment #5)
> Attachment 223453 [details] did not pass style-queue:
> 
> 
> ERROR: Source/WebCore/css/CSSParser.cpp:5138:  Wrong number of spaces before statement. (expected: 24)  [whitespace/indent] [4]
> Total errors found: 1 in 26 files
> 
> 
> If any of these errors are false positives, please file a bug against check-webkit-style.

It's a bug in the check-webkit-style. I think the root cause is the ifdef clause immediately above, but still not able to reproduce it with a simpler case.
Comment 7 Javier Fernandez 2014-02-10 12:37:25 PST
Created attachment 223734 [details]
Patch
Comment 8 WebKit Commit Bot 2014-02-10 12:39:45 PST
Attachment 223734 [details] did not pass style-queue:


ERROR: Source/WebCore/css/CSSParser.cpp:5133:  Wrong number of spaces before statement. (expected: 24)  [whitespace/indent] [4]
Total errors found: 1 in 26 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 9 Sergio Villar Senin 2014-02-13 05:10:24 PST
Comment on attachment 223734 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=223734&action=review

Thanks for keeping this up to date !

> Source/WebCore/css/CSSGridTemplateAreasValue.cpp:4
> + * Copyright (C) 2014 Igalia S.L.

Use a single line for these two, something like 

Copyright (C) 2013, 2014 Igalia S.L.
Comment 10 Javier Fernandez 2014-02-13 06:04:32 PST
Created attachment 224063 [details]
Patch
Comment 11 WebKit Commit Bot 2014-02-13 07:56:26 PST
Comment on attachment 224063 [details]
Patch

Rejecting attachment 224063 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-02', 'apply-attachment', '--no-update', '--non-interactive', 224063, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit

Last 500 characters of output:
s-grid-layout/grid-item-end-after-get-set.html
patching file LayoutTests/fast/css-grid-layout/grid-item-named-grid-area-resolution.html
patching file LayoutTests/fast/css-grid-layout/grid-item-start-before-get-set.html
patching file LayoutTests/fast/css-grid-layout/grid-template-get-set-expected.txt
patching file LayoutTests/fast/css-grid-layout/grid-template-get-set.html

Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

Full output: http://webkit-queues.appspot.com/results/4816108091604992
Comment 12 Javier Fernandez 2014-02-13 09:19:37 PST
Created attachment 224077 [details]
Patch rebased.
Comment 13 WebKit Commit Bot 2014-02-13 09:22:24 PST
Attachment 224077 [details] did not pass style-queue:


ERROR: Source/WebCore/css/CSSParser.cpp:5133:  Wrong number of spaces before statement. (expected: 24)  [whitespace/indent] [4]
Total errors found: 1 in 26 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 14 Sergio Villar Senin 2014-02-13 09:29:59 PST
(In reply to comment #13)
> Attachment 224077 [details] did not pass style-queue:
> 
> 
> ERROR: Source/WebCore/css/CSSParser.cpp:5133:  Wrong number of spaces before statement. (expected: 24)  [whitespace/indent] [4]
> Total errors found: 1 in 26 files
> 
> 
> If any of these errors are false positives, please file a bug against check-webkit-style.

BTW file a bug for this issue please.
Comment 15 WebKit Commit Bot 2014-02-13 10:02:00 PST
Comment on attachment 224077 [details]
Patch rebased.

Clearing flags on attachment: 224077

Committed r164035: <http://trac.webkit.org/changeset/164035>
Comment 16 WebKit Commit Bot 2014-02-13 10:02:05 PST
All reviewed patches have been landed.  Closing bug.
Comment 17 Javier Fernandez 2014-02-13 11:34:02 PST
(In reply to comment #14)
> (In reply to comment #13)
> > Attachment 224077 [details] [details] did not pass style-queue:
> > 
> > 
> > ERROR: Source/WebCore/css/CSSParser.cpp:5133:  Wrong number of spaces before statement. (expected: 24)  [whitespace/indent] [4]
> > Total errors found: 1 in 26 files
> > 
> > 
> > If any of these errors are false positives, please file a bug against check-webkit-style.
> 
> BTW file a bug for this issue please.

See bug #128751for details.