Bug 63361

Summary: add flexbox and inline-flexbox as possible CSS display values
Product: WebKit Reporter: Tony Chang <tony>
Component: New BugsAssignee: Tony Chang <tony>
Status: RESOLVED FIXED    
Severity: Normal CC: eric, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 62048    
Attachments:
Description Flags
Patch
none
Patch for landing none

Description Tony Chang 2011-06-24 15:41:46 PDT
add flexbox and inline-flexbox as possible CSS display values
Comment 1 Tony Chang 2011-06-24 15:42:17 PDT
Created attachment 98554 [details]
Patch
Comment 2 Ojan Vafai 2011-06-24 15:54:10 PDT
Comment on attachment 98554 [details]
Patch

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

> LayoutTests/css3/flexbox/script-tests/display-property.js:6
> +function testFlex(displayValue)
> +{
> +    return div.style[styleAttribute];
> +}

Unused.

> LayoutTests/css3/flexbox/script-tests/display-property.js:11
> +div.style.display = '-webkit-flexbox';
> +shouldBeEqualToString('div.style.display', '-webkit-flexbox');

You could move this into testFlex.

> Source/WebCore/css/CSSParser.cpp:972
> +        // table-column-group | table-column | table-cell | table-caption | -webkit-box | -webkit-inline-box | none | inherit

Should this include -webkit-flexbox and -webkit-inline-flexbox?

Not really sure this comment is useful though.
Comment 3 Tony Chang 2011-06-24 15:57:15 PDT
Created attachment 98556 [details]
Patch for landing
Comment 4 WebKit Review Bot 2011-06-24 16:39:47 PDT
Comment on attachment 98556 [details]
Patch for landing

Clearing flags on attachment: 98556

Committed r89712: <http://trac.webkit.org/changeset/89712>
Comment 5 WebKit Review Bot 2011-06-24 16:39:52 PDT
All reviewed patches have been landed.  Closing bug.