|
1 | | -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| 1 | +<!DOCTYPE html> |
| 2 | +<meta charset="utf-8"> |
2 | 3 | <title>CSS Flexible Box Layout Module Level 1 Disposition of Comments for 2014-03-25 LCWD</title> |
3 | 4 | <style type="text/css"> |
4 | 5 | .a { background: lightgreen } |
@@ -31,144 +32,203 @@ <h1>CSS Flexible Box Layout Module Level 1 Disposition of Comments for 2014-03-2 |
31 | 32 | <code>Invalid</code>, <code>Rejected</code>, or <code>Retracted</code>. |
32 | 33 | <code>Verified</code> indicates commentor's acceptance of the response.</p> |
33 | 34 | <pre class='oi' id='issue-1'> |
34 | | -Issue 1. <a href="#issue-1">#</a> |
| 35 | +Issue 1. <a href='#issue-1'>#</a> |
35 | 36 | Summary: Which size do percentage heights on flex items resolve against? |
36 | 37 | From: Greg Whitworth |
37 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0062.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0062.html</a> |
38 | | -Response: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0073.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0073.html</a> |
| 38 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0062.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0062.html</a> |
| 39 | +Response: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0073.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0073.html</a> |
39 | 40 | Closed: Invalid |
40 | 41 | Resolved: Editor's discretion |
41 | 42 | </pre> |
42 | 43 | <pre class='a' id='issue-2'> |
43 | | -Issue 2. <a href="#issue-2">#</a> |
| 44 | +Issue 2. <a href='#issue-2'>#</a> |
44 | 45 | Summary: Typos |
45 | 46 | From: Daniel Holbert |
46 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0090.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0090.html</a> |
47 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0091.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0091.html</a> |
48 | | -Response: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0100.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0100.html</a> |
| 47 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0090.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0090.html</a> |
| 48 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0091.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0091.html</a> |
| 49 | +Response: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0100.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0100.html</a> |
49 | 50 | Closed: Accepted |
50 | 51 | Resolved: Editorial |
51 | 52 | </pre> |
52 | 53 | <pre class='a' id='issue-3'> |
53 | | -Issue 3. <a href="#issue-3">#</a> |
| 54 | +Issue 3. <a href='#issue-3'>#</a> |
54 | 55 | Summary: Excessive recalculation of free space |
55 | 56 | From: Daniel Holbert |
56 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0097.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0097.html</a> |
57 | | -Response: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0098.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0098.html</a> |
| 57 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0097.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0097.html</a> |
| 58 | +Response: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0098.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0098.html</a> |
58 | 59 | Closed: Accepted |
59 | | -Verified: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0099.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0099.html</a> |
| 60 | +Verified: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0099.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0099.html</a> |
60 | 61 | Resolved: Bugfix |
61 | 62 | </pre> |
62 | 63 | <pre class='a' id='issue-4'> |
63 | | -Issue 4. <a href="#issue-4">#</a> |
| 64 | +Issue 4. <a href='#issue-4'>#</a> |
64 | 65 | Summary: Mishandling of zero free space |
65 | 66 | From: Daniel Holbert |
66 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0106.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0106.html</a> |
67 | | -Response: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0113.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0113.html</a> |
| 67 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0106.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0106.html</a> |
| 68 | +Response: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0113.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0113.html</a> |
68 | 69 | Closed: Accepted |
69 | 70 | Resolved: Bugfix |
70 | 71 | </pre> |
71 | 72 | <pre class='a' id='issue-5'> |
72 | | -Issue 5. <a href="#issue-5">#</a> |
| 73 | +Issue 5. <a href='#issue-5'>#</a> |
73 | 74 | Summary: Change 'flex' animatability to "yes, always" |
74 | 75 | From: Daniel Holbert |
75 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0169.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0169.html</a> |
76 | | -Response: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0175.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0175.html</a> |
| 76 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0169.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0169.html</a> |
| 77 | +Response: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0175.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0175.html</a> |
77 | 78 | Closed: Accepted |
78 | 79 | Resolved: Bugfix |
79 | 80 | </pre> |
80 | 81 | <pre class='r' id='issue-6'> |
81 | | -Issue 6. <a href="#issue-6">#</a> |
| 82 | +Issue 6. <a href='#issue-6'>#</a> |
82 | 83 | Summary: Use inline size for block-axis percentage padding |
83 | 84 | From: Christian Biesinger |
84 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0184.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0184.html</a> |
85 | | -Response: <a href="http://lists.w3.org/Archives/Public/www-style/2014May/0015.html">http://lists.w3.org/Archives/Public/www-style/2014May/0015.html</a> |
| 85 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0184.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0184.html</a> |
| 86 | +Response: <a href='http://lists.w3.org/Archives/Public/www-style/2014May/0015.html'>http://lists.w3.org/Archives/Public/www-style/2014May/0015.html</a> |
86 | 87 | Closed: Rejected |
87 | | -Resolved: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0373.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0373.html</a> |
| 88 | +Resolved: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0373.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0373.html</a> |
88 | 89 | </pre> |
89 | 90 | <pre class='a' id='issue-7'> |
90 | | -Issue 7. <a href="#issue-7">#</a> |
| 91 | +Issue 7. <a href='#issue-7'>#</a> |
91 | 92 | Summary: Alternate wording for resolving flex lengths |
92 | 93 | From: Daniel Holbert |
93 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0223.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0223.html</a> |
| 94 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0223.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0223.html</a> |
94 | 95 | Closed: Retracted |
95 | | -Verified: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0252.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0252.html</a> |
| 96 | +Verified: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0252.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0252.html</a> |
96 | 97 | </pre> |
97 | 98 | <pre class='open' id='issue-8'> |
98 | | -Issue 8. <a href="#issue-8">#</a> |
| 99 | +Issue 8. <a href='#issue-8'>#</a> |
99 | 100 | Summary: Alternate wording for resolving flex lengths Take II |
100 | 101 | From: Daniel Holbert |
101 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0253.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0253.html</a> |
102 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0398.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0398.html</a> |
| 102 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0253.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0253.html</a> |
| 103 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0398.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0398.html</a> |
103 | 104 | Open |
104 | 105 | Note: Current spec has both variants available for review. |
105 | 106 | </pre> |
106 | 107 | <pre class='a' id='issue-9'> |
107 | | -Issue 9. <a href="#issue-9">#</a> |
| 108 | +Issue 9. <a href='#issue-9'>#</a> |
108 | 109 | Summary: Better handling of max-height on flex containers |
109 | 110 | From: Greg Whitworth |
110 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0292.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0292.html</a> |
111 | | -Response: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0293.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0293.html</a> |
112 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0294.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0294.html</a> |
113 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0297.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0297.html</a> |
| 111 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0292.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0292.html</a> |
| 112 | +Response: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0293.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0293.html</a> |
| 113 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0294.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0294.html</a> |
| 114 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0297.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0297.html</a> |
114 | 115 | Closed: Accepted |
115 | | -Resolved: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0373.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0373.html</a> |
| 116 | +Resolved: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0373.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0373.html</a> |
116 | 117 | </pre> |
117 | 118 | <pre class='a' id='issue-10'> |
118 | | -Issue 10. <a href="#issue-10">#</a> |
| 119 | +Issue 10. <a href='#issue-10'>#</a> |
119 | 120 | Summary: Regression in flex resolution algorithm |
120 | 121 | From: Daniel Holbert |
121 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0311.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0311.html</a> |
122 | | -Proposal: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0397.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0397.html</a> |
| 122 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0311.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0311.html</a> |
| 123 | +Proposal: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0397.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0397.html</a> |
123 | 124 | Closed: Accepted |
124 | 125 | Verified: (In IRC) |
125 | 126 | Resolved: Editor's discretion |
126 | 127 | </pre> |
127 | 128 | <pre class='a' id='issue-11'> |
128 | | -Issue 11. <a href="#issue-11">#</a> |
| 129 | +Issue 11. <a href='#issue-11'>#</a> |
129 | 130 | Summary: Missing negation in description of 'auto' |
130 | 131 | From: Greg Whitworth |
131 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014Apr/0430.html">http://lists.w3.org/Archives/Public/www-style/2014Apr/0430.html</a> |
132 | | -Response: <a href="http://lists.w3.org/Archives/Public/www-style/2014May/0016.html">http://lists.w3.org/Archives/Public/www-style/2014May/0016.html</a> |
| 132 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Apr/0430.html'>http://lists.w3.org/Archives/Public/www-style/2014Apr/0430.html</a> |
| 133 | +Response: <a href='http://lists.w3.org/Archives/Public/www-style/2014May/0016.html'>http://lists.w3.org/Archives/Public/www-style/2014May/0016.html</a> |
133 | 134 | Closed: Accepted |
134 | 135 | Resolved: Bugfix |
135 | 136 | </pre> |
136 | 137 | <pre class='open' id='issue-12'> |
137 | | -Issue 12. <a href="#issue-12">#</a> |
| 138 | +Issue 12. <a href='#issue-12'>#</a> |
138 | 139 | Summary: Clarify impact of alignment properties on abspos items |
139 | 140 | From: Rossen Atanassov |
140 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014May/0043.html">http://lists.w3.org/Archives/Public/www-style/2014May/0043.html</a> |
| 141 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014May/0043.html'>http://lists.w3.org/Archives/Public/www-style/2014May/0043.html</a> |
141 | 142 | Open |
142 | 143 | </pre> |
143 | | -<pre class='open' id='issue-13'> |
144 | | -Issue 13. <a href="#issue-13">#</a> |
| 144 | +<pre class='r' id='issue-13'> |
| 145 | +Issue 13. <a href='#issue-13'>#</a> |
145 | 146 | Summary: Make 'flex-basis: auto' compute through to main size property value |
146 | 147 | From: Tab Atkins |
147 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014May/0046.html">http://lists.w3.org/Archives/Public/www-style/2014May/0046.html</a> |
| 148 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014May/0046.html'>http://lists.w3.org/Archives/Public/www-style/2014May/0046.html</a> |
148 | 149 | Note: This was discussed earlier, see |
149 | | - <a href="http://lists.w3.org/Archives/Public/www-style/2012Jun/0029.html">http://lists.w3.org/Archives/Public/www-style/2012Jun/0029.html</a> |
150 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014May/0192.html">http://lists.w3.org/Archives/Public/www-style/2014May/0192.html</a> |
151 | | -Open |
| 150 | + <a href='http://lists.w3.org/Archives/Public/www-style/2012Jun/0029.html'>http://lists.w3.org/Archives/Public/www-style/2012Jun/0029.html</a> |
| 151 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014May/0192.html'>http://lists.w3.org/Archives/Public/www-style/2014May/0192.html</a> |
| 152 | +Response: |
| 153 | +Closed: Rejected |
152 | 154 | </pre> |
153 | 155 | <pre class='' id='issue-14'> |
154 | | -Issue 14. <a href="#issue-14">#</a> |
| 156 | +Issue 14. <a href='#issue-14'>#</a> |
155 | 157 | Summary: Editorial comments |
156 | 158 | From: Alan Stearns |
157 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014May/0057.html">http://lists.w3.org/Archives/Public/www-style/2014May/0057.html</a> |
158 | | -Response: <a href="http://lists.w3.org/Archives/Public/www-style/2014May/0195.html">http://lists.w3.org/Archives/Public/www-style/2014May/0195.html</a> |
| 159 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014May/0057.html'>http://lists.w3.org/Archives/Public/www-style/2014May/0057.html</a> |
| 160 | +Response: <a href='http://lists.w3.org/Archives/Public/www-style/2014May/0195.html'>http://lists.w3.org/Archives/Public/www-style/2014May/0195.html</a> |
159 | 161 | Closed: Rejected/Accepted |
160 | 162 | </pre> |
161 | 163 | <pre class='open' id='issue-15'> |
162 | | -Issue 15. <a href="#issue-15">#</a> |
| 164 | +Issue 15. <a href='#issue-15'>#</a> |
163 | 165 | Summary: Editorial simplification of flex distribution step |
164 | 166 | From: Daniel Holbert |
165 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014May/0169.html">http://lists.w3.org/Archives/Public/www-style/2014May/0169.html</a> |
| 167 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014May/0169.html'>http://lists.w3.org/Archives/Public/www-style/2014May/0169.html</a> |
166 | 168 | Open |
167 | 169 | </pre> |
168 | 170 | <pre class='open' id='issue-16'> |
169 | | -Issue 16. <a href="#issue-16">#</a> |
| 171 | +Issue 16. <a href='#issue-16'>#</a> |
170 | 172 | Summary: Min-height tweak to skip intrinsic aspect ratio items |
171 | 173 | From: Greg Whitworth |
172 | | -Comment: <a href="http://lists.w3.org/Archives/Public/www-style/2014May/0177.html">http://lists.w3.org/Archives/Public/www-style/2014May/0177.html</a> |
| 174 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014May/0177.html'>http://lists.w3.org/Archives/Public/www-style/2014May/0177.html</a> |
173 | 175 | Open |
174 | 176 | </pre> |
| 177 | +<pre class='a' id='issue-17'> |
| 178 | +Issue 17. <a href='#issue-17'>#</a> |
| 179 | +Summary: Typo |
| 180 | +From: Daniel Holbert |
| 181 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Jun/0424.html'>http://lists.w3.org/Archives/Public/www-style/2014Jun/0424.html</a> |
| 182 | +Response: <a href='http://lists.w3.org/Archives/Public/www-style/2014Jun/0425.html'>http://lists.w3.org/Archives/Public/www-style/2014Jun/0425.html</a> |
| 183 | +Closed: Accepted |
| 184 | +Resolved: Editorial |
| 185 | +</pre> |
| 186 | +<pre class='a' id='issue-18'> |
| 187 | +Issue 18. <a href='#issue-18'>#</a> |
| 188 | +Summary: min-size: auto rules should be main-axis specific |
| 189 | +From: Daniel Holbert |
| 190 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Jun/0074.html'>http://lists.w3.org/Archives/Public/www-style/2014Jun/0074.html</a> |
| 191 | +Response: <a href='http://lists.w3.org/Archives/Public/www-style/2014Jun/0076.html'>http://lists.w3.org/Archives/Public/www-style/2014Jun/0076.html</a> |
| 192 | +Closed: Accepted |
| 193 | +Resolved: Bugfix |
| 194 | +</pre> |
| 195 | +<pre class='a' id='issue-19'> |
| 196 | +Issue 19. <a href='#issue-19'>#</a> |
| 197 | +Summary: min-size: auto should reference 'width' only for flex-basis: auto |
| 198 | +From: Daniel Holbert |
| 199 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Jun/0459.html'>http://lists.w3.org/Archives/Public/www-style/2014Jun/0459.html</a> |
| 200 | +Response: <a href='http://lists.w3.org/Archives/Public/www-style/2014Jul/0007.html'>http://lists.w3.org/Archives/Public/www-style/2014Jul/0007.html</a> |
| 201 | +Closed: Accepted |
| 202 | +Resolved: Editors' discretion; PENDING WG RESOLUTION |
| 203 | +</pre> |
| 204 | +<pre class='a' id='issue-20'> |
| 205 | +Issue 20. <a href='#issue-20'>#</a> |
| 206 | +Summary: Need keyword for 'auto' flex-basis, which no longer = max-content |
| 207 | +Proposal: Rename 'auto' to something else, make 'auto' the auto keywordl. |
| 208 | +Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2014Jun/0107.html'>http://lists.w3.org/Archives/Public/www-style/2014Jun/0107.html</a> |
| 209 | +Response: <a href='http://lists.w3.org/Archives/Public/www-style/2014Jul/0008.html'>http://lists.w3.org/Archives/Public/www-style/2014Jul/0008.html</a> |
| 210 | +Closed: Accepted |
| 211 | +Resolved: PENDING WG DISCUSSION |
| 212 | +</pre> |
| 213 | +<script> |
| 214 | +(function () { |
| 215 | + var sheet = document.styleSheets[0]; |
| 216 | + function addCheckbox(className) { |
| 217 | + var element = document.querySelector('*.' + className); |
| 218 | + var span = document.createElement('span'); |
| 219 | + span.innerHTML = element.innerHTML; |
| 220 | + element.innerHTML = null; |
| 221 | + var check = document.createElement('input'); |
| 222 | + check.type = 'checkbox'; |
| 223 | + check.checked = true; |
| 224 | + sheet.addRule('pre.' + className, ''); |
| 225 | + var rule = sheet.rules[sheet.rules.length - 1]; |
| 226 | + check.onchange = function (e) { |
| 227 | + rule.style.display = this.checked ? 'block' : 'none'; |
| 228 | + } |
| 229 | + element.appendChild(check); |
| 230 | + element.appendChild(span); |
| 231 | + } |
| 232 | + ['a', 'd', 'fo', 'oi', 'r', 'open'].forEach(addCheckbox); |
| 233 | +}()); |
| 234 | +</script> |
0 commit comments