Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upInconsistent :hover background rendering (manual testcase) #16559
Comments
|
This problem still seems to exist in the most recent Servo nightly builds. |
|
This is a regression from #16336. cc @mrobinson |
|
I think the issue here is that hit testing is no longer taking into account overflow:hidden clipping, since the previous code wasn't taking into account overflow:scroll clipping before. This should be possible to fix by testing whether the cursor position is clipped out when processing scroll roots. |
|
This appears to have been fixed in the latest nightlies. I'm not sure when exactly but it is no longer an issue! Yipee! |
|
Does this need a new test added to cover potential regressions? |
1 similar comment
|
Does this need a new test added to cover potential regressions? |
|
I don't think we can test hover behavior yet. |
Hi guys.
Using the manual test included below. Hover over the first list element and it will correctly render with a red background. We would expect the same to be true of the second but this isn't the case with Servo. It is intermittently rendered with a red background as the mouse is moved around within the visual bounds of the element but it isn't consistently kept red while the cursor is within the visual bounds of the element. If either the overflow or position rules are removed it renders correctly.
This case renders as expected in both Firefox and Chrome.
Unfortunately it isn't really possible to screenshot this effect as it only happens when hovering but I was able to provide a gif snapshot of the screen while performing the test above.
This was found on the latest nightly build.