Bug 63361 - add flexbox and inline-flexbox as possible CSS display values
Summary: add flexbox and inline-flexbox as possible CSS display values
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tony Chang
URL:
Keywords:
Depends on:
Blocks: 62048
  Show dependency treegraph
 
Reported: 2011-06-24 15:41 PDT by Tony Chang
Modified: 2011-06-24 16:39 PDT (History)
2 users (show)

See Also:


Attachments
Patch (5.63 KB, patch)
2011-06-24 15:42 PDT, Tony Chang
no flags Details | Formatted Diff | Diff
Patch for landing (5.55 KB, patch)
2011-06-24 15:57 PDT, Tony Chang
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.