Summary: | Fix IR->SR typo in enum value (and resulting style fails) | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mike Lawther <mikelawther> | ||||
Component: | New Bugs | Assignee: | Mike Lawther <mikelawther> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Other | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Mike Lawther
2011-04-28 22:35:07 PDT
Created attachment 91638 [details]
Patch
The real fix here is the typo between the ImageRendering and ShapeRendering enum values. I also de-dented the case statements to fix the resulting style fails. Comment on attachment 91638 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=91638&action=review Code change looks fine. Please write a layout test if it's possible. If it's not possible, feel free to remark cq?. > Source/WebCore/css/CSSPrimitiveValueMappings.h:2918 > + case SR_AUTO: > + m_value.ident = CSSValueAuto; > + break; > + case SR_OPTIMIZESPEED: Is it not possible to write a layout test that tests these values? It would be nice to see a test go green here if possible. Comment on attachment 91638 [details]
Patch
Oh. nm. I see now that the enum values are actually the same.
Comment on attachment 91638 [details] Patch Clearing flags on attachment: 91638 Committed r85327: <http://trac.webkit.org/changeset/85327> All reviewed patches have been landed. Closing bug. |