WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Suggested api test changes
apitest (text/plain), 992 bytes, created by
Emil A Eklund
on 2013-01-17 19:36:08 PST
(
hide
)
Description:
Suggested api test changes
Filename:
MIME Type:
Creator:
Emil A Eklund
Created:
2013-01-17 19:36:08 PST
Size:
992 bytes
patch
obsolete
>Index: Tools/TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp >=================================================================== >--- Tools/TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp (revision 139810) >+++ Tools/TestWebKitAPI/Tests/WebCore/LayoutUnit.cpp (working copy) >@@ -81,11 +81,15 @@ > > TEST(WebCoreLayoutUnit, LayoutUnitRounding) > { >- ASSERT_EQ(LayoutUnit(-1.5f).round(), -2); >+ ASSERT_EQ(LayoutUnit(-1.9f).round(), -2); >+ ASSERT_EQ(LayoutUnit(-1.6f).round(), -2); >+ ASSERT_EQ(LayoutUnit(-1.52f).round(), -2); >+ ASSERT_EQ(LayoutUnit(-1.5f).round(), -1); > ASSERT_EQ(LayoutUnit(-1.49f).round(), -1); > ASSERT_EQ(LayoutUnit(-1.0f).round(), -1); > ASSERT_EQ(LayoutUnit(-0.99f).round(), -1); >- ASSERT_EQ(LayoutUnit(-0.50f).round(), -1); >+ ASSERT_EQ(LayoutUnit(-0.51f).round(), 0); >+ ASSERT_EQ(LayoutUnit(-0.50f).round(), 0); > ASSERT_EQ(LayoutUnit(-0.49f).round(), 0); > ASSERT_EQ(LayoutUnit(-0.1f).round(), 0); > ASSERT_EQ(LayoutUnit(0.0f).round(), 0);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 107208
:
183334
|
183354
|
183510
|
183521