Single-test chrome mochitest harness frame extends 30px below the window
Categories
(Testing :: Mochitest, defect)
Tracking
(firefox162 fixed)
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: florian, Assigned: florian, NeedInfo)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
When a single chrome mochitest runs (as in every mochitest-chrome-standalone job), testing/mochitest/static/harness.css gives #xulharness height: 100% through the body[singletest="true"] rule. #xulharness is also position: fixed; top: 30px; bottom: 0, so the body becomes as tall as the viewport but starts 30px down, and the test frame ends 30px below the window.
When the window fills the screen height, part of the test frame is off-screen. Popups in the frame are constrained to its visible part, so tall popups come out shorter than requested in test_popupanchor.xhtml ("height is what we requested") and test_popupincontent.xhtml ("large menu bottom"). Both have been skipped on Windows standalone since bug 2026600.
Fix: set height: auto in the #xulharness rule so the fixed-position box keeps its top/bottom constraints.
| Assignee | ||
Comment 1•1 month ago
|
||
#xulharness is fixed-positioned with a top offset, but the singletest rule also made it as tall as the viewport, pushing the bottom of the test frame below the window. Popups in the frame are constrained to its on-screen part, so tall popups came out shorter than requested in test_popupanchor.xhtml and test_popupincontent.xhtml when run alone (skipped on Windows standalone in bug 2026600).
Comment 2•25 days ago
|
||
The severity field is not set for this bug.
:florian, could you have a look please?
For more information, please visit BugBot documentation.
Description
•