Skip to content

Commit 993c12b

Browse files
authored
[clang] Change style of superseded issues on C++ DR status page (#96051)
This patch changes how superseded issues inherit the color of the issues that superseded them. Now they reduce the opacity of the color from 1.0 to 0.65, to make them distinguishable. This was requested during the review of #94876. That's how it's going to look: ![a1rYVHQ](https://github.com/llvm/llvm-project/assets/12883766/00e624c0-accb-4440-9f9b-4089a157aab2)
1 parent 90779fd commit 993c12b

File tree

2 files changed

+70
-51
lines changed

2 files changed

+70
-51
lines changed

clang/www/cxx_dr_status.html

Lines changed: 36 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,19 @@
88
<link type="text/css" rel="stylesheet" href="content.css">
99
<style type="text/css">
1010
.none { background-color: #FFCCCC }
11+
.none-superseded { background-color: rgba(255, 204, 204, 0.65) }
1112
.unknown { background-color: #EBCAFE }
13+
.unknown-superseded { background-color: rgba(234, 200, 254, 0.65) }
1214
.partial { background-color: #FFE0B0 }
15+
.partial-superseded { background-color: rgba(255, 224, 179, 0.65) }
1316
.unreleased { background-color: #FFFF99 }
17+
.unreleased-superseded { background-color: rgba(255, 255, 153, 0.65) }
1418
.full { background-color: #CCFF99 }
19+
.full-superseded { background-color: rgba(214, 255, 173, 0.65) }
1520
.na { background-color: #DDDDDD }
21+
.na-superseded { background-color: rgba(222, 222, 222, 0.65) }
1622
.open * { color: #AAAAAA }
23+
.open-superseded * { color: rgba(171, 171, 171, 0.65) }
1724
//.open { filter: opacity(0.2) }
1825
tr:target { background-color: #FFFFBB }
1926
th { background-color: #FFDDAA }
@@ -110,7 +117,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
110117
<td><a href="https://cplusplus.github.io/CWG/issues/12.html">12</a></td>
111118
<td>dup</td>
112119
<td>Default arguments on different declarations for the same function and the Koenig lookup</td>
113-
<td class="full" align="center">Superseded by <a href="#239">239</a></td>
120+
<td class="full-superseded" align="center">Superseded by <a href="#239">239</a></td>
114121
</tr>
115122
<tr id="13">
116123
<td><a href="https://cplusplus.github.io/CWG/issues/13.html">13</a></td>
@@ -146,7 +153,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
146153
<td><a href="https://cplusplus.github.io/CWG/issues/18.html">18</a></td>
147154
<td>NAD</td>
148155
<td>f(TYPE) where TYPE is void should be allowed</td>
149-
<td class="full" align="center">Superseded by <a href="#577">577</a></td>
156+
<td class="full-superseded" align="center">Superseded by <a href="#577">577</a></td>
150157
</tr>
151158
<tr id="19">
152159
<td><a href="https://cplusplus.github.io/CWG/issues/19.html">19</a></td>
@@ -170,7 +177,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
170177
<td><a href="https://cplusplus.github.io/CWG/issues/22.html">22</a></td>
171178
<td>TC1</td>
172179
<td>Template parameter with a default argument that refers to itself</td>
173-
<td class="full" align="center">Superseded by <a href="#481">481</a></td>
180+
<td class="full-superseded" align="center">Superseded by <a href="#481">481</a></td>
174181
</tr>
175182
<tr id="23">
176183
<td><a href="https://cplusplus.github.io/CWG/issues/23.html">23</a></td>
@@ -218,7 +225,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
218225
<td><a href="https://cplusplus.github.io/CWG/issues/30.html">30</a></td>
219226
<td>TC1</td>
220227
<td>Valid uses of "<TT>::template</TT>"</td>
221-
<td class="full" align="center">Superseded by <a href="#468">468</a> (C++11 onwards)</td>
228+
<td class="full-superseded" align="center">Superseded by <a href="#468">468</a> (C++11 onwards)</td>
222229
</tr>
223230
<tr id="31">
224231
<td><a href="https://cplusplus.github.io/CWG/issues/31.html">31</a></td>
@@ -260,7 +267,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
260267
<td><a href="https://cplusplus.github.io/CWG/issues/37.html">37</a></td>
261268
<td>NAD</td>
262269
<td>When is uncaught_exception() true?</td>
263-
<td class="unknown" align="center">Superseded by <a href="#475">475</a></td>
270+
<td class="unknown-superseded" align="center">Superseded by <a href="#475">475</a></td>
264271
</tr>
265272
<tr id="38">
266273
<td><a href="https://cplusplus.github.io/CWG/issues/38.html">38</a></td>
@@ -302,7 +309,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
302309
<td><a href="https://cplusplus.github.io/CWG/issues/44.html">44</a></td>
303310
<td>CD1</td>
304311
<td>Member specializations</td>
305-
<td class="partial" align="center">Superseded by <a href="#727">727</a></td>
312+
<td class="partial-superseded" align="center">Superseded by <a href="#727">727</a></td>
306313
</tr>
307314
<tr id="45">
308315
<td><a href="https://cplusplus.github.io/CWG/issues/45.html">45</a></td>
@@ -320,7 +327,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
320327
<td><a href="https://cplusplus.github.io/CWG/issues/47.html">47</a></td>
321328
<td>NAD</td>
322329
<td>Template friend issues</td>
323-
<td class="full" align="center">Superseded by <a href="#329">329</a></td>
330+
<td class="full-superseded" align="center">Superseded by <a href="#329">329</a></td>
324331
</tr>
325332
<tr id="48">
326333
<td><a href="https://cplusplus.github.io/CWG/issues/48.html">48</a></td>
@@ -476,7 +483,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
476483
<td><a href="https://cplusplus.github.io/CWG/issues/73.html">73</a></td>
477484
<td>TC1</td>
478485
<td>Pointer equality</td>
479-
<td class="full" align="center">Superseded by <a href="#1652">1652</a></td>
486+
<td class="full-superseded" align="center">Superseded by <a href="#1652">1652</a></td>
480487
</tr>
481488
<tr id="74">
482489
<td><a href="https://cplusplus.github.io/CWG/issues/74.html">74</a></td>
@@ -632,7 +639,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
632639
<td><a href="https://cplusplus.github.io/CWG/issues/99.html">99</a></td>
633640
<td>NAD</td>
634641
<td>Partial ordering, references and cv-qualifiers</td>
635-
<td class="full" align="center">Superseded by <a href="#214">214</a></td>
642+
<td class="full-superseded" align="center">Superseded by <a href="#214">214</a></td>
636643
</tr>
637644
<tr id="100">
638645
<td><a href="https://cplusplus.github.io/CWG/issues/100.html">100</a></td>
@@ -674,7 +681,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
674681
<td><a href="https://cplusplus.github.io/CWG/issues/106.html">106</a></td>
675682
<td>CD1</td>
676683
<td>Creating references to references during template deduction/instantiation</td>
677-
<td class="full" align="center">Superseded by <a href="#540">540</a></td>
684+
<td class="full-superseded" align="center">Superseded by <a href="#540">540</a></td>
678685
</tr>
679686
<tr id="107">
680687
<td><a href="https://cplusplus.github.io/CWG/issues/107.html">107</a></td>
@@ -1040,7 +1047,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
10401047
<td><a href="https://cplusplus.github.io/CWG/issues/167.html">167</a></td>
10411048
<td>NAD</td>
10421049
<td>Deprecating static functions</td>
1043-
<td class="unknown" align="center">Superseded by <a href="#1012">1012</a></td>
1050+
<td class="unknown-superseded" align="center">Superseded by <a href="#1012">1012</a></td>
10441051
</tr>
10451052
<tr id="168">
10461053
<td><a href="https://cplusplus.github.io/CWG/issues/168.html">168</a></td>
@@ -1082,7 +1089,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
10821089
<td><a href="https://cplusplus.github.io/CWG/issues/174.html">174</a></td>
10831090
<td>NAD</td>
10841091
<td>Undeprecating global static</td>
1085-
<td class="unknown" align="center">Superseded by <a href="#1012">1012</a></td>
1092+
<td class="unknown-superseded" align="center">Superseded by <a href="#1012">1012</a></td>
10861093
</tr>
10871094
<tr id="175">
10881095
<td><a href="https://cplusplus.github.io/CWG/issues/175.html">175</a></td>
@@ -1136,7 +1143,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
11361143
<td><a href="https://cplusplus.github.io/CWG/issues/183.html">183</a></td>
11371144
<td>TC1</td>
11381145
<td><TT>typename</TT> in explicit specializations</td>
1139-
<td class="full" align="center">Superseded by <a href="#382">382</a></td>
1146+
<td class="full-superseded" align="center">Superseded by <a href="#382">382</a></td>
11401147
</tr>
11411148
<tr id="184">
11421149
<td><a href="https://cplusplus.github.io/CWG/issues/184.html">184</a></td>
@@ -1160,7 +1167,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
11601167
<td><a href="https://cplusplus.github.io/CWG/issues/187.html">187</a></td>
11611168
<td>TC1</td>
11621169
<td>Scope of template parameter names</td>
1163-
<td class="full" align="center">Superseded by <a href="#481">481</a></td>
1170+
<td class="full-superseded" align="center">Superseded by <a href="#481">481</a></td>
11641171
</tr>
11651172
<tr id="188">
11661173
<td><a href="https://cplusplus.github.io/CWG/issues/188.html">188</a></td>
@@ -1936,7 +1943,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
19361943
<td><a href="https://cplusplus.github.io/CWG/issues/316.html">316</a></td>
19371944
<td>NAD</td>
19381945
<td>Injected-class-name of template used as template template parameter</td>
1939-
<td class="full" align="center">Superseded by <a href="#1004">1004</a></td>
1946+
<td class="full-superseded" align="center">Superseded by <a href="#1004">1004</a></td>
19401947
</tr>
19411948
<tr id="317">
19421949
<td><a href="https://cplusplus.github.io/CWG/issues/317.html">317</a></td>
@@ -1948,7 +1955,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
19481955
<td><a href="https://cplusplus.github.io/CWG/issues/318.html">318</a></td>
19491956
<td>CD1</td>
19501957
<td><TT>struct A::A</TT> should not name the constructor of <TT>A</TT></td>
1951-
<td class="full" align="center">Superseded by <a href="#1310">1310</a></td>
1958+
<td class="full-superseded" align="center">Superseded by <a href="#1310">1310</a></td>
19521959
</tr>
19531960
<tr id="319">
19541961
<td><a href="https://cplusplus.github.io/CWG/issues/319.html">319</a></td>
@@ -2086,7 +2093,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
20862093
<td><a href="https://cplusplus.github.io/CWG/issues/341.html">341</a></td>
20872094
<td>C++11</td>
20882095
<td><TT>extern "C"</TT> namespace member function versus global variable</td>
2089-
<td class="unknown" align="center">Superseded by <a href="#1708">1708</a></td>
2096+
<td class="unknown-superseded" align="center">Superseded by <a href="#1708">1708</a></td>
20902097
</tr>
20912098
<tr id="342">
20922099
<td><a href="https://cplusplus.github.io/CWG/issues/342.html">342</a></td>
@@ -2422,7 +2429,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
24222429
<td><a href="https://cplusplus.github.io/CWG/issues/397.html">397</a></td>
24232430
<td>CD1</td>
24242431
<td>Same address for string literals from default arguments in inline functions?</td>
2425-
<td class="unknown" align="center">Superseded by <a href="#1823">1823</a></td>
2432+
<td class="unknown-superseded" align="center">Superseded by <a href="#1823">1823</a></td>
24262433
</tr>
24272434
<tr id="398">
24282435
<td><a href="https://cplusplus.github.io/CWG/issues/398.html">398</a></td>
@@ -2644,7 +2651,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
26442651
<td><a href="https://cplusplus.github.io/CWG/issues/434.html">434</a></td>
26452652
<td>NAD</td>
26462653
<td>Unclear suppression of standard conversions while binding reference to lvalue</td>
2647-
<td class="full" align="center">Superseded by <a href="#2352">2352</a></td>
2654+
<td class="full-superseded" align="center">Superseded by <a href="#2352">2352</a></td>
26482655
</tr>
26492656
<tr id="435">
26502657
<td><a href="https://cplusplus.github.io/CWG/issues/435.html">435</a></td>
@@ -2662,7 +2669,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
26622669
<td><a href="https://cplusplus.github.io/CWG/issues/437.html">437</a></td>
26632670
<td>CD1</td>
26642671
<td>Is type of class allowed in member function exception specification?</td>
2665-
<td class="full" align="center">Superseded by <a href="#1308">1308</a></td>
2672+
<td class="full-superseded-superseded" align="center">Superseded by <a href="#1308">1308</a></td>
26662673
</tr>
26672674
<tr id="438">
26682675
<td><a href="https://cplusplus.github.io/CWG/issues/438.html">438</a></td>
@@ -2692,7 +2699,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
26922699
<td><a href="https://cplusplus.github.io/CWG/issues/442.html">442</a></td>
26932700
<td>CD1</td>
26942701
<td>Incorrect use of null pointer constant in description of delete operator</td>
2695-
<td class="na" align="center">Superseded by <a href="#348">348</a></td>
2702+
<td class="na-superseded" align="center">Superseded by <a href="#348">348</a></td>
26962703
</tr>
26972704
<tr id="443">
26982705
<td><a href="https://cplusplus.github.io/CWG/issues/443.html">443</a></td>
@@ -3016,13 +3023,13 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
30163023
<td><a href="https://cplusplus.github.io/CWG/issues/496.html">496</a></td>
30173024
<td>CD3</td>
30183025
<td>Is a volatile-qualified type really a POD?</td>
3019-
<td class="full" align="center">Superseded by <a href="#2094">2094</a></td>
3026+
<td class="full-superseded" align="center">Superseded by <a href="#2094">2094</a></td>
30203027
</tr>
30213028
<tr id="497">
30223029
<td><a href="https://cplusplus.github.io/CWG/issues/497.html">497</a></td>
30233030
<td>CD1</td>
30243031
<td>Missing required initialization in example</td>
3025-
<td class="unknown" align="center">Superseded by <a href="#253">253</a></td>
3032+
<td class="unknown-superseded" align="center">Superseded by <a href="#253">253</a></td>
30263033
</tr>
30273034
<tr class="open" id="498">
30283035
<td><a href="https://cplusplus.github.io/CWG/issues/498.html">498</a></td>
@@ -3130,7 +3137,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
31303137
<td><a href="https://cplusplus.github.io/CWG/issues/515.html">515</a></td>
31313138
<td>CD1</td>
31323139
<td>Non-dependent references to base class members</td>
3133-
<td class="unknown" align="center">Superseded by <a href="#1017">1017</a></td>
3140+
<td class="unknown-superseded" align="center">Superseded by <a href="#1017">1017</a></td>
31343141
</tr>
31353142
<tr id="516">
31363143
<td><a href="https://cplusplus.github.io/CWG/issues/516.html">516</a></td>
@@ -3918,7 +3925,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
39183925
<td><a href="https://cplusplus.github.io/CWG/issues/646.html">646</a></td>
39193926
<td>NAD</td>
39203927
<td>Can a class with a constexpr copy constructor be a literal type?</td>
3921-
<td class="unknown" align="center">Superseded by <a href="#981">981</a></td>
3928+
<td class="unknown-superseded" align="center">Superseded by <a href="#981">981</a></td>
39223929
</tr>
39233930
<tr id="647">
39243931
<td><a href="https://cplusplus.github.io/CWG/issues/647.html">647</a></td>
@@ -3966,7 +3973,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
39663973
<td><a href="https://cplusplus.github.io/CWG/issues/654.html">654</a></td>
39673974
<td>CD1</td>
39683975
<td>Conversions to and from <TT>nullptr_t</TT></td>
3969-
<td class="full" align="center">Superseded by <a href="#1423">1423</a></td>
3976+
<td class="full-superseded" align="center">Superseded by <a href="#1423">1423</a></td>
39703977
</tr>
39713978
<tr id="655">
39723979
<td><a href="https://cplusplus.github.io/CWG/issues/655.html">655</a></td>
@@ -4146,7 +4153,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
41464153
<td><a href="https://cplusplus.github.io/CWG/issues/684.html">684</a></td>
41474154
<td>CD1</td>
41484155
<td>Constant expressions involving the address of an automatic variable</td>
4149-
<td class="unknown" align="center">Superseded by <a href="#1454">1454</a></td>
4156+
<td class="unknown-superseded" align="center">Superseded by <a href="#1454">1454</a></td>
41504157
</tr>
41514158
<tr id="685">
41524159
<td><a href="https://cplusplus.github.io/CWG/issues/685.html">685</a></td>
@@ -7656,7 +7663,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
76567663
<td><a href="https://cplusplus.github.io/CWG/issues/1308.html">1308</a></td>
76577664
<td>CD3</td>
76587665
<td>Completeness of class type within an <I>exception-specification</I></td>
7659-
<td class="full" align="center">Superseded by <a href="#1330">1330</a></td>
7666+
<td class="full-superseded" align="center">Superseded by <a href="#1330">1330</a></td>
76607667
</tr>
76617668
<tr id="1309">
76627669
<td><a href="https://cplusplus.github.io/CWG/issues/1309.html">1309</a></td>
@@ -7812,7 +7819,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
78127819
<td><a href="https://cplusplus.github.io/CWG/issues/1334.html">1334</a></td>
78137820
<td>NAD</td>
78147821
<td>Layout compatibility and cv-qualification</td>
7815-
<td class="unreleased" align="center">Superseded by <a href="#1719">1719</a></td>
7822+
<td class="unreleased-superseded" align="center">Superseded by <a href="#1719">1719</a></td>
78167823
</tr>
78177824
<tr id="1335">
78187825
<td><a href="https://cplusplus.github.io/CWG/issues/1335.html">1335</a></td>

0 commit comments

Comments
 (0)