Re: [csswg-drafts] [css-nav-1] Remove kAlignWeight? (#4567)

Thanks for explaining how you came up with 5.

From also reading http://crbug.com/1032430, I understand you chose 5 to compensate for the  removal of `navigation_axis_distance`?

Perhaps it's cleaner to keep `navigation_axis_distance` in the formula (Chrome has had it for years) and make `kAlignWeight`  = 1?

Having hardcoded pixels in the formula seems unscalable anyway?

To better handle different layouts, zoom levels etc the forumla should, ideally, only use ratios based on actual rects (focus candidate's and current focus' size) - not hardcoded pixel values? 

-- 
GitHub Notification of comment by hugoholgersson
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4567#issuecomment-564027012 using your GitHub account

Received on Tuesday, 10 December 2019 13:15:47 UTC