Bug 15827 - Two opposing linear transitions don't compute to the same value
Summary: Two opposing linear transitions don't compute to the same value
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac (Intel) OS X 10.5
: P2 Trivial
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-04 01:20 PST by Nicholas Shanks
Modified: 2022-07-11 16:09 PDT (History)
4 users (show)

See Also:


Attachments
Testcase (596 bytes, text/html)
2009-01-03 17:12 PST, Simon Fraser (smfr)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Shanks 2007-11-04 01:20:53 PST
Try out the following HTML. You will notice that the edges of the 'dock' don't stay in fixed positions, but jostle around by one pixel during the animation, as the mouse passes from one icon to the next. You can use whatever square image you like for "icon.png".


<!DOCTYPE html>
<style type="text/css">
	#dock { width: 100%; text-align: center; position: fixed; bottom: 0px; }
	img { width: 64px; -webkit-transition: width 0.15s linear; }
	img:hover { width: 128px; }
</style>
<div id="dock"><img src="icon.png"><img src="icon.png"><img src="icon.png"><img src="icon.png"><img src="icon.png"><img src="icon.png"></div>
Comment 1 Simon Fraser (smfr) 2009-01-03 17:12:24 PST
Created attachment 26397 [details]
Testcase
Comment 2 Simon Fraser (smfr) 2009-01-03 17:13:08 PST
Because of rounding and synchronization issues, I don't think we can guarantee that the total width of two transitioning elements can add up to some constant value.
Comment 3 Brent Fulgham 2022-07-11 16:09:25 PDT
Safari, Chrome, and Firefox show the same rendering behavior for this test case. I do not believe any further compatibility issue remains.