| Summary: | [CSS Shapes] Basic shapes' computed position should be a horizontal and vertical offset | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Bear Travis <betravis> | ||||||||||
| Component: | CSS | Assignee: | Bear Travis <betravis> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | buildbot, commit-queue, dino, dstockwell, esprehn+autocc, glenn, gyuyoung.kim, kondapallykalyan, macpherson, menard, rniwa, simon.fraser | ||||||||||
| Priority: | P2 | ||||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Bug Depends on: | |||||||||||||
| Bug Blocks: | 124173 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Bear Travis
2014-01-14 14:07:45 PST
Created attachment 221203 [details]
Initial Patch
Attachment 221203 [details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/animations/resources/animation-test-helpers.js', u'LayoutTests/fast/shapes/parsing/parsing-shape-inside-expected.txt', u'LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt', u'LayoutTests/fast/shapes/parsing/parsing-test-utils.js', u'LayoutTests/fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt', u'LayoutTests/fast/shapes/shape-outside-floats/shape-outside-animation.html', u'Source/WebCore/ChangeLog', u'Source/WebCore/css/BasicShapeFunctions.cpp', u'Source/WebCore/page/animation/CSSPropertyAnimation.cpp', u'Source/WebCore/rendering/style/BasicShapes.cpp', u'Source/WebCore/rendering/style/BasicShapes.h', '--commit-queue']" exit_code: 1
ERROR: LayoutTests/ChangeLog:8: Line contains tab character. [whitespace/tab] [5]
Total errors found: 1 in 12 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 221205 [details]
Fixing Changelog
Comment on attachment 221205 [details] Fixing Changelog Attachment 221205 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/5156392377778176 Comment on attachment 221205 [details] Fixing Changelog Attachment 221205 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/5076589335281664 Comment on attachment 221205 [details] Fixing Changelog View in context: https://bugs.webkit.org/attachment.cgi?id=221205&action=review Looks good overall, glad to see RenderBox params go. As you see I just have some questions left. > Source/WebCore/rendering/style/BasicShapes.h:128 > + Flipped I am not sure that is the best naming. Why would top/left be the default? Maybe "Normal" is better? > LayoutTests/fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt:26 > +PASS - "webkitShapeOutside" property for "circle-to-bottomright-extended-using-keyword-2-box" element at 1s saw something close to: circle(35% at calc((50% * 0.5) + ((100% - 10%) * 0.5)) calc((50% * 0.5) + ((100% - 10px) * 0.5))) The calc() stuff takes some getting used to :) How does calc() know what box (border/content/etc) to apply the calculations to? Comment on attachment 221205 [details]
Fixing Changelog
astearns pointed out on irc that my reference box calculation comment is invalid. That only leaves the naming, which I encourage you to have a look at before landing.
Created attachment 221398 [details]
Renaming Direction Types
Renamed to TopLeft and BottomRight.
Comment on attachment 221398 [details] Renaming Direction Types Attachment 221398 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/5298898050482176 Comment on attachment 221398 [details] Renaming Direction Types Attachment 221398 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/4767758436794368 Created attachment 221430 [details]
Fixing up unused params
Comment on attachment 221430 [details] Fixing up unused params Clearing flags on attachment: 221430 Committed r162210: <http://trac.webkit.org/changeset/162210> All reviewed patches have been landed. Closing bug. |