| Summary: | [CSS Shapes] Preserve box-shape order when serializing shape values | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Bear Travis <betravis> | ||||||||
| Component: | CSS | Assignee: | Bear Travis <betravis> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | commit-queue, dino, dstockwell, esprehn+autocc, glenn, gyuyoung.kim, kondapallykalyan, macpherson, menard, simon.fraser | ||||||||
| Priority: | P2 | ||||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 124173 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Bear Travis
2014-01-17 15:40:07 PST
Created attachment 221505 [details]
Initial Patch
Created attachment 221688 [details]
Factoring code common to shapes and clipping
Comment on attachment 221688 [details] Factoring code common to shapes and clipping View in context: https://bugs.webkit.org/attachment.cgi?id=221688&action=review Patch looks great! Just some smaller snippets. > Source/WebCore/css/CSSParser.cpp:5862 > +PassRefPtr<CSSValue> CSSParser::parseBasicShapeAndOrBox(bool allowBoundingBox) Could you make that a static function or inline function please? Could you replace the boolean with a CSSPropertyID and check the id instead? That makes understanding the code easier. > Source/WebCore/css/CSSParser.h:182 > + PassRefPtr<CSSValue> parseBasicShapeAndOrBox(bool allowBoundingBox); See comment above Created attachment 221780 [details]
Swapping boolean for CSSPropertyID
Comment on attachment 221780 [details]
Swapping boolean for CSSPropertyID
r=me
Comment on attachment 221780 [details] Swapping boolean for CSSPropertyID Clearing flags on attachment: 221780 Committed r162475: <http://trac.webkit.org/changeset/162475> All reviewed patches have been landed. Closing bug. |