mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
Issue #1757 - Reinstate "dom.details_element.enabled" preference
The removal of this preference was botched, all other surrounding plumbing changes appear to be working okay. The ability to use prefs to control this stylesheet might be useful in the future, so perhaps this is one of those "if it ain't broke, don't fix it" bugs where leaving well enough alone in the first place would have been the best choice.
This commit is contained in:
parent
be539ad8fc
commit
618fa768c8
15 changed files with 111 additions and 19 deletions
11
layout/reftests/details-summary/disabled-no-summary-ref.html
Normal file
11
layout/reftests/details-summary/disabled-no-summary-ref.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Any copyright is dedicated to the Public Domain.
|
||||
- http://creativecommons.org/publicdomain/zero/1.0/ -->
|
||||
|
||||
<html>
|
||||
<body>
|
||||
<div>
|
||||
<p>This is the details.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- Any copyright is dedicated to the Public Domain.
|
||||
- http://creativecommons.org/publicdomain/zero/1.0/ -->
|
||||
|
||||
<html>
|
||||
<body>
|
||||
<div>
|
||||
<div>Summary</div>
|
||||
<p>This is the details.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,3 +1,10 @@
|
|||
default-preferences pref(dom.details_element.enabled,true)
|
||||
|
||||
# Disable <details> and <summary>
|
||||
pref(dom.details_element.enabled,false) == single-summary.html disabled-single-summary-ref.html
|
||||
pref(dom.details_element.enabled,false) == open-single-summary.html disabled-single-summary-ref.html
|
||||
pref(dom.details_element.enabled,false) == no-summary.html disabled-no-summary-ref.html
|
||||
|
||||
# Basic <summary> handling
|
||||
== multiple-summary.html single-summary.html
|
||||
== open-multiple-summary.html open-multiple-summary-ref.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue