Rune LillesveenHey yall, I realized that there are a bunch of tests unexpectedly failing after I made this patch to remove the overlay property: https://chromium-review.googlesource.com/c/chromium/src/+/7133219
You can see what the failures look like: https://chromium-layout-test-archives.storage.googleapis.com/results.html?json=chromium/try/linux-rel/2493697/headless_shell_wpt_tests%20%28with%20patch%29/full_results_jsonp.js
It looks like some tests which are supposed to have scroll markers don't have them anymore, and some tests which weren't supposed to have a scrollbar now have a scrollbar. Did I miss something in my patch to put overlay behind a flag?
Daniil SakhapovMy guess is that it's a side-effect of this one now being IsEmpty() more often now:
Adding sakhapov@ for what the proper condition for creating a ::scroll-marker is.
Joey ArharThis is probably the same reason as - https://issues.chromium.org/issues/464010034, will fix.
Rune LillesveenThanks for the patch! It looks like there are still some more tests failing
Joey ArharThanks for the patch! It looks like there are still some more tests failing
That's probably expected. There's a second CL needed which hasn't landed yet.
Daniil SakhapovThanks for the second patch!
I still see 29 tests failing, including one scroll marker test: https://ci.chromium.org/ui/p/chromium/builders/try/linux-rel/2510728/test-results
Joey ArharThe last scroll marker test is on my list.
The other tests are unknown to me, but given the (probably) common root issue I'll try to fix them as well.
Stay tuned for the next CLs! 😊
Joey ArharThank you Daniil!
Joey ArharFrom offline discussion, it looks like the remaining failures like missing scrollbars are due to other issues which are different from the scroll marker ones.
I tried to debug one of the test failures, menu-elements-default-style.html, which looks like the anchor positioned element is positioned in the top left corner instead of under its anchor. However, when I open the test in chrome or content_shell, the top layer element is positioned correctly - the issue only happens when running it as a test, and it didn't help to add a double rAF before taking the screenshot.
I'm not sure what's wrong with this or all the other failures, so now I'm looking at other ways to get the performance gain: https://chromium-review.googlesource.com/c/chromium/src/+/7277167
Joey ArharNevermind, I'm starting to make more progress :)
I've fixed a bunch of them with the latest patch set, but I'll have another patch to continue working on the remaining ones
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
bool SupportsTopLayerStyle() const override;What does SupportsTopLayerStyle() mean? Documentation?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |