Bug 119229

Summary: [CSS Shapes] Stop using internals in shape-outside tests
Product: WebKit Reporter: Bem Jones-Bey <bjonesbe>
Component: New BugsAssignee: Bem Jones-Bey <bjonesbe>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 117898    
Attachments:
Description Flags
Patch
none
Patch none

Description Bem Jones-Bey 2013-07-29 16:11:36 PDT
[CSS Shapes] Stop using internals in shape-outside tests
Comment 1 Bem Jones-Bey 2013-07-29 16:15:43 PDT
Created attachment 207678 [details]
Patch

Remove use of internals, since it isn't needed anymore, and makes csswg tests cleaner
Comment 2 Alexandru Chiculita 2013-07-31 09:53:25 PDT
Comment on attachment 207678 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=207678&action=review

Looks a lot better. Please update SUBPIXELS_FOR_PIXEL back to SUBPIXELS_PER_PIXEL before committing.

> LayoutTests/csswg/submitted/shapes/shape-outside/resources/subpixel-utils.js:21
> +            return isEnabled() ? Math.floor(f * SUBPIXELS_FOR_PIXEL) / SUBPIXELS_FOR_PIXEL : Math.floor(f); // as in LayoutUnit(f).toFloat()

Why do you need this change?

> LayoutTests/csswg/submitted/shapes/shape-outside/resources/subpixel-utils.js:24
> +            return isEnabled() ? Math.ceil(f * SUBPIXELS_FOR_PIXEL) / SUBPIXELS_FOR_PIXEL : Math.ceil(f); // see ceiledLayoutUnit(), LayoutUnit.h

ditto
Comment 3 Bem Jones-Bey 2013-07-31 09:56:20 PDT
Created attachment 207855 [details]
Patch

Update for review comments
Comment 4 WebKit Commit Bot 2013-07-31 09:57:16 PDT
Comment on attachment 207855 [details]
Patch

Rejecting attachment 207855 [details] from commit-queue.

bjonesbe@adobe.com does not have committer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py.

- If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags.

- If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/committers.py by adding yourself to the file (no review needed).  The commit-queue restarts itself every 2 hours.  After restart the commit-queue will correctly respect your committer rights.
Comment 5 Bem Jones-Bey 2013-07-31 11:14:12 PDT
Comment on attachment 207855 [details]
Patch

This time with feeling. (It seems like the bot has been restarted in the meantime. :-)
Comment 6 WebKit Commit Bot 2013-07-31 11:17:26 PDT
Comment on attachment 207855 [details]
Patch

Clearing flags on attachment: 207855

Committed r153528: <http://trac.webkit.org/changeset/153528>
Comment 7 WebKit Commit Bot 2013-07-31 11:17:27 PDT
All reviewed patches have been landed.  Closing bug.