New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] group-tab.html resizing window and overlap issues #3361
Comments
Thanks! This looks to be a bug of Firefox itself so I've reported it to bugzilla.mozilla.org. |
@Arthaey, you obviously have some CSS at work there. Can you reproduce the overlap without any CSS applied in the sidebar? |
1744363 - Firefox print preview and resulting print out are truncating the last few table rows contained in div (the bug I filed was resolved as a duplication of it) is fixed at Firefox 122, thus I close this. |
@piroor I re-tested this with FF122 and it is MUCH better now with the Firefox changes. However, there does seem to be 1 edge case and I am not sure if it is Firefox related or TST related. Whenever there is a virtual folder inside another folder, the favico for the nested folder does not stay locked to the name. This seems to be the only scenario that doesn't work at this point. In this example, watch the folder "Sort Me" at the top of the 2nd column. I am just resizing the window to show the changes. 2024-01-23.10-43-11a.mp4 |
TST's built-in icons like "folder", "globe" and so on are regularly rendered as "colored box, clipped with SVG mask", to render icons with arbitrary color. Firefox looks to be able to render such a box as sliced parts. On the other hand, favicons of webpages are rendered as an |
I opened a new bug on this ... https://bugzilla.mozilla.org/show_bug.cgi?id=1876348 Below is what they said ... the "break-inside:avoid" sounds interesting. I'll see if I can test that. Thanks for the report! It is good to know bug 1744363 helps.
Without a testcase showing the issue, it is hard for me to know exactly the problem. However, with the description above and the observation of the video, I guess the built-in icon is a <div>, and Firefox can slice it across the column boundary. For <img> and text, Firefox treats them as monolithic elements, and won't slice it; if they are not fit in current column, it will be pushed to next column. If you still have access to the testcase, could you try if adding break-inside:avoid [1] to the built-in icon makes any difference? An alternative idea is to add break-inside:avoid to the box that contains the built-in icon and the text. [1] https://developer.mozilla.org/en-US/docs/Web/CSS/break-inside |
Looks like at a minimum, we can apply some CSS to avoid this situation. I was able to successfully keep the default icon from slicing and the icon and label together all by applying "break-inside:avoid" to the "li". I updated this information in the defect as well. Not sure if they will want to do anything else on their end, but at least there is a workaround. Applying it to just the icon itself prevented it from slicing, but I was able to get the icon and label to split from each other. |
They have closed the issue on their end which is what I kind of expected given the specific situation. |
I've changed to set the |
Abstract
On group-tab.html, when having more tabs than a column can handle, the relationship between UL and LI elements sometimes causes the different sections to overlap.
Steps to reproduce
I suspect this is related to the space at the bottom of the previous column. The most overlap in the 2nd column is when the free space of the previous one is at its largest. I do not believe this is a new bug, but has existed for quite some time.
Expected result
Regardless of the window height, none of the tab lines should be any closer to overlapping.
Actual result
Notice the overlap examples in columns 2 and 3.
2023-07-12_13-12-29.mp4
Environment
The text was updated successfully, but these errors were encountered: