Bug 126896

Summary: Subpixel layout: 100000px overflows while calculating layout positions.
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bunhere, cdumez, commit-queue, gyuyoung.kim, rakuco
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description zalan 2014-01-13 07:32:01 PST
fast/spatial-navigation/snav-unit-overflow-and-scroll-in-direction.html
Comment 1 zalan 2014-01-16 10:46:31 PST
Test case requires an adjustment to not to overflow subpixel boundary. (with the current denominator (64) it's ~2^25)

@@ -92,7 +92,7 @@
   </head>
   <body id="some-content" xmlns="http://www.w3.org/1999/xhtml">
     <a id="start" href="a">Start</a>
-    <div style='margin-top:100000000px'>
+    <div style='margin-top:33554309px'>
         <a id="end" href="a">End</a>
     </div>
     <div id="console"></div>
Comment 2 zalan 2014-01-20 14:27:54 PST
Created attachment 221692 [details]
Patch
Comment 3 WebKit Commit Bot 2014-01-20 15:33:47 PST
Comment on attachment 221692 [details]
Patch

Clearing flags on attachment: 221692

Committed r162381: <http://trac.webkit.org/changeset/162381>
Comment 4 WebKit Commit Bot 2014-01-20 15:33:50 PST
All reviewed patches have been landed.  Closing bug.