Bug 135162 - Merge FixedIntegerConversion and FixedFloatConversion for CSSPrimitiveValue::convertToLength
Summary: Merge FixedIntegerConversion and FixedFloatConversion for CSSPrimitiveValue::...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-22 10:17 PDT by Martin Hodovan
Modified: 2022-07-13 17:23 PDT (History)
8 users (show)

See Also:


Attachments
Proposed patch (12.47 KB, patch)
2014-07-22 10:27 PDT, Martin Hodovan
bfulgham: review-
buildbot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 (571.05 KB, application/zip)
2014-07-22 16:07 PDT, Build Bot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Hodovan 2014-07-22 10:17:03 PDT
Merge FixedIntegerConversion and FixedFloatConversion for CSSPrimitiveValue::convertToLength
Comment 1 Martin Hodovan 2014-07-22 10:27:01 PDT
Created attachment 235296 [details]
Proposed patch

Patch by Timothy Loh, backported from Blink: https://codereview.chromium.org/68203023
Comment 2 Build Bot 2014-07-22 16:07:51 PDT
Comment on attachment 235296 [details]
Proposed patch

Attachment 235296 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/6545296393764864

New failing tests:
media/W3C/video/paused/paused_false_during_play.html
transforms/cssmatrix-2d-interface.xhtml
Comment 3 Build Bot 2014-07-22 16:07:54 PDT
Created attachment 235324 [details]
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-09  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.5
Comment 4 Darin Adler 2014-07-23 09:39:45 PDT
Comment on attachment 235296 [details]
Proposed patch

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

> Source/WebCore/ChangeLog:14
> +        differences. The FixedIntegerConversion clamps to about the range of
> +        LayoutUnits (+-32mil) and doesn't actually convert to an integer.
> +        FixedFloatConversion simple doesn't clamp.

This describes a difference.

> Source/WebCore/ChangeLog:23
> +        No change in functionality, no new tests.

This claims there is no change. Which is it?
Comment 5 Brent Fulgham 2016-03-14 11:32:36 PDT
(In reply to comment #4)
> > Source/WebCore/ChangeLog:23
> > +        No change in functionality, no new tests.
> 
> This claims there is no change. Which is it?

The fact that it introduced test failures indicates there is a change! :-)
Comment 6 Brent Fulgham 2016-03-14 11:33:30 PDT
Comment on attachment 235296 [details]
Proposed patch

This change doesn't apply against current sources, and introduces at least one test regression. Please rebaseline the patch against current sources and correct the test failure.
Comment 7 Brent Fulgham 2022-07-13 17:23:34 PDT
This code has been significantly refactored since this patch was proposed. There doesn't seem to be any action we can take here.