Bug 86518

Summary: Change ascents and descent back to ints for now
Product: WebKit Reporter: Emil A Eklund <eae>
Component: Layout and RenderingAssignee: Emil A Eklund <eae>
Status: RESOLVED FIXED    
Severity: Normal CC: eric, leviw, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing
none
Archive of layout-test-results from ec2-cq-02 none

Description Emil A Eklund 2012-05-15 13:36:24 PDT
Change ascents and descent calculation back to integers for now. 

As it looks like we'll need to support both the 1/60 and 1/1 implementations of FractionalLayoutUnit for the immediate future to ensure that text is rendered at the same offset and with the height regardless of the ENABLE_SUBPIXEL_LAYOUT flag. This ensures that most websites will look the same at 100% zoom regardless of the flag and also allows us to the same test expectations for the vast majority of layout tests.

Eventually we want to move those back to FractionalLayoutUnits as that will result in more correct rendering.
Comment 1 Emil A Eklund 2012-05-15 13:55:31 PDT
Created attachment 142047 [details]
Patch
Comment 2 Eric Seidel (no email) 2012-05-15 13:59:40 PDT
Comment on attachment 142047 [details]
Patch

LGTM.
Comment 3 Emil A Eklund 2012-05-15 14:16:11 PDT
Created attachment 142051 [details]
Patch for landing
Comment 4 WebKit Review Bot 2012-05-15 17:40:48 PDT
Comment on attachment 142051 [details]
Patch for landing

Rejecting attachment 142051 [details] from commit-queue.

New failing tests:
fast/block/float/overhanging-tall-block.html
Full output: http://queues.webkit.org/results/12701649
Comment 5 WebKit Review Bot 2012-05-15 17:40:52 PDT
Created attachment 142110 [details]
Archive of layout-test-results from ec2-cq-02

The attached test failures were seen while running run-webkit-tests on the commit-queue.
Bot: ec2-cq-02  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Comment 6 Emil A Eklund 2012-05-15 17:50:01 PDT
(In reply to comment #4)
> (From update of attachment 142051 [details])
> Rejecting attachment 142051 [details] from commit-queue.
> 
> New failing tests:
> fast/block/float/overhanging-tall-block.html
> Full output: http://queues.webkit.org/results/12701649

Needs rebaselining as expected. Will commit and rebaseline tomorrow.
Comment 7 Emil A Eklund 2012-05-16 11:29:17 PDT
Committed r117310: <http://trac.webkit.org/changeset/117310>