gecko-dev/dom/base/test/file_bug590812-ref.xhtml
Ian Moody e7bd29e890 Bug 1432636 - Switch XMLPrettyPrint to use HTML <details> instead of click handlers for expandables. r=ntim,peterv
Also remove duplicate import from the XMLMonoPrint sheet (unnamed default sheets
stay applied when switching to alternates, only named are unapplied).

Additionally fix some regressions from bug 379683:
* top-level collapsed and uncollapsible elements weren't monospaced in monospace
  style.
* top-level uncollapsible elements weren't indented.
* there was an extra space between PIs and their expander control.

Based on prototype by bgrins.

MozReview-Commit-ID: 2Pikm41FMWY

--HG--
extra : rebase_source : a8fb7dd9f40a267e93d50342c51728dcc98c4918
2018-02-08 19:03:31 +00:00

4 lines
499 B
HTML

<out><div id="top" xmlns="http://www.w3.org/1999/xhtml"><link href="chrome://global/content/xml/XMLPrettyPrint.css" type="text/css" rel="stylesheet"/><div id="header"><p>
This XML file does not appear to have any style information associated with it. The document tree is shown below.
</p></div><main id="tree" class="highlight"><div>&lt;<span class="start-tag">out</span>&gt;<span class="text">Here be sea hags</span>&lt;/<span class="end-tag">out</span>&gt;</div></main></div></out>