WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
74008
add css parsing for flex-flow: wrap and wrap-reverse
https://bugs.webkit.org/show_bug.cgi?id=74008
Summary
add css parsing for flex-flow: wrap and wrap-reverse
Tony Chang
Reported
2011-12-07 10:20:36 PST
add css parsing for flex-flow: wrap and wrap-reverse
Attachments
Patch
(19.46 KB, patch)
2011-12-07 10:26 PST
,
Tony Chang
no flags
Details
Formatted Diff
Diff
Patch
(21.79 KB, patch)
2011-12-07 13:42 PST
,
Tony Chang
no flags
Details
Formatted Diff
Diff
Patch for landing
(21.79 KB, patch)
2011-12-09 15:44 PST
,
Tony Chang
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Tony Chang
Comment 1
2011-12-07 10:26:05 PST
Created
attachment 118229
[details]
Patch
Ojan Vafai
Comment 2
2011-12-07 10:54:03 PST
Comment on
attachment 118229
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=118229&action=review
> Source/WebCore/css/CSSPrimitiveValueMappings.h:1246 > + m_value.ident = CSSValueNone;
Should this be CSSValueNoWrap?
WebKit Review Bot
Comment 3
2011-12-07 12:45:22 PST
Comment on
attachment 118229
[details]
Patch
Attachment 118229
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/10747260
New failing tests: svg/css/getComputedStyle-basic.xhtml
Tony Chang
Comment 4
2011-12-07 13:42:33 PST
Created
attachment 118267
[details]
Patch
Tony Chang
Comment 5
2011-12-07 13:43:13 PST
New version to hand the new syntax: [ row | row-reverse | column | column-reverse ] || [ nowrap | wrap | wrap-reverse ]?
Darin Adler
Comment 6
2011-12-07 14:33:46 PST
Comment on
attachment 118267
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=118267&action=review
> Source/WebCore/css/CSSParser.cpp:1639 > + if (value->id == CSSValueNowrap || value->id == CSSValueWrap || value->id == CSSValueWrapReverse) { > + list->append(cssValuePool()->createIdentifierValue(value->id)); > + addProperty(propId, list, important); > + return true; > + } > + return false;
We normally use early return for the failure case. Reversing this if would make it easier to read the normal flow.
WebKit Review Bot
Comment 7
2011-12-07 18:24:44 PST
Comment on
attachment 118267
[details]
Patch
Attachment 118267
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/10780029
New failing tests: svg/css/getComputedStyle-basic.xhtml fast/css/getComputedStyle/computed-style.html fast/css/getComputedStyle/computed-style-without-renderer.html
Tony Chang
Comment 8
2011-12-09 15:44:55 PST
Created
attachment 118660
[details]
Patch for landing
Ojan Vafai
Comment 9
2011-12-09 15:50:25 PST
Comment on
attachment 118660
[details]
Patch for landing Clearing flags on attachment: 118660 Committed
r102486
: <
http://trac.webkit.org/changeset/102486
>
Ojan Vafai
Comment 10
2011-12-09 15:50:30 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug