XML viewer: cannot collapse (sub)trees
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox106 | --- | wontfix |
firefox107 | --- | verified |
firefox108 | --- | verified |
People
(Reporter: pufiad, Assigned: emilio)
References
(Regression, )
Details
(Keywords: regression)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
|
Details | Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0
Steps to reproduce:
-
Open an XML file in Firefox. The XML file is displayed in a tab with the message "This XML file does not appear to have any style information associated with it. The document tree is shown below."
-
Click on a minus sign or tag to collapse a (sub)tree.
Actual results:
Nothing. The (sub)tree does not collapse. It did in previous versions.
Expected results:
The (sub)tree should collapse.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Set release status flags based on info from the regressing bug 1308080
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
That's the only place where we have a non-anonymous summary in an UA
widget, which the code didn't handle correctly (it assumed that if we
were in an UA widget we were in a details shadow tree).
I could try to write a test for this if you think it's worth it but we
don't have many existing tests (non-reftest) for the XML prettyprinter
that I can see...
Updated•2 years ago
|
Comment 6•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a318c353f36b
https://hg.mozilla.org/mozilla-central/rev/5ae004964f8e
Comment 7•2 years ago
|
||
The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox107
towontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 8•2 years ago
|
||
Comment on attachment 9300817 [details]
Bug 1797957 - Fix HTMLSummaryElement::GetDetails() for XML pretty print. r=edgar,smaug
Beta/Release Uplift Approval Request
- User impact if declined: comment 0
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: Open https://www.w3schools.com/xml/note.xml, click note, ensure it collapses and expands
- List of other uplifts needed: none
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Very scoped patch + test.
- String changes made/needed: none
- Is Android affected?: Yes
Assignee | ||
Updated•2 years ago
|
Comment 9•2 years ago
|
||
Comment on attachment 9300817 [details]
Bug 1797957 - Fix HTMLSummaryElement::GetDetails() for XML pretty print. r=edgar,smaug
Approved for 107.0b8.
Comment 10•2 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/28cc3ee6f585
https://hg.mozilla.org/releases/mozilla-beta/rev/c94009894587
Updated•2 years ago
|
Comment 12•2 years ago
|
||
I can confirm the fix in Nightly v108.0a1 and Beta v107.0b8 on Windows 10, Mac OS 11.6 and Ubuntu 22.
The XML tree will expand and collapse correctly when clicking both the +/- or the tree's main tag.
Description
•