Commit 0337d29
Meta: Update the dfn panels to match Bikeshed's output more closely
This change removes the HTML-specific styles dealing with the dfn
panels, and changes html-dfn.js to have those panels match Bikeshed's
output more closely. The particular changes are:
- Panels have the "dfn-panel" class, rather than "dfnPanel". They also
have the "on" class, to make them visible.
- Moved panels gain the "activated" class, instead of gaining inline
styles.
- The elements that can open a dfn panel when clicked now include
headings with the "data-dfn-type" attribute (corresponding to a "dfn"
attribute in the source).
See whatwg/whatwg.org#343, which adds Bikeshed's dfn panel styles to
standard.css.1 parent c69ec0f commit 0337d29
2 files changed
+5
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
84 | | - | |
| 86 | + | |
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
| |||
162 | 164 | | |
163 | 165 | | |
164 | 166 | | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
| 167 | + | |
171 | 168 | | |
172 | 169 | | |
173 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 1 | | |
25 | 2 | | |
26 | 3 | | |
| |||
0 commit comments