Skip to content

Commit 0d5312d

Browse files
authored
Put browser-compat info in front-runner for api/s* (mdn#5426)
* Put browser-compat info in front-runner for api/s* * Fix requested changes (due to a lazy regexp)
1 parent 0c91a1c commit 0d5312d

File tree

539 files changed

+1078
-539
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

539 files changed

+1078
-539
lines changed

files/en-us/web/api/sanitizer/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- HTML Sanitizer API
66
- Interface
77
- sanitize
8+
browser-compat: api.Sanitizer
89
---
910
<div>{{draft}}{{securecontext_header}}{{DefaultAPISidebar("HTML Sanitizer API")}}</div>
1011

@@ -57,4 +58,4 @@ <h2 id="Specifications">Specifications</h2>
5758

5859
<h2 id="Browser_compatibility">Browser compatibility</h2>
5960

60-
<p>{{Compat("api.Sanitizer")}}</p>
61+
<p>{{Compat}}</p>

files/en-us/web/api/sanitizer/sanitize/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- HTML Sanitizer API
66
- Method
77
- sanitize
8+
browser-compat: api.Sanitizer.sanitize
89
---
910
<div>{{draft}}{{securecontext_header}}{{DefaultAPISidebar("HTML Sanitizer API")}}</div>
1011

@@ -63,4 +64,4 @@ <h2 id="Specifications">Specifications</h2>
6364

6465
<h2 id="Browser_compatibility">Browser compatibility</h2>
6566

66-
<p>{{Compat("api.Sanitizer.sanitize")}}</p>
67+
<p>{{Compat}}</p>

files/en-us/web/api/sanitizer/sanitizer/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Constructor
66
- HTML Sanitizer API
77
- sanitize
8+
browser-compat: api.Sanitizer.Sanitizer
89
---
910
<div>{{draft}}{{securecontext_header}}{{DefaultAPISidebar("HTML Sanitizer API")}}</div>
1011

@@ -92,4 +93,4 @@ <h2 id="Specifications">Specifications</h2>
9293

9394
<h2 id="Browser_compatibility">Browser compatibility</h2>
9495

95-
<p>{{Compat("api.Sanitizer.Sanitizer")}}</p>
96+
<p>{{Compat}}</p>

files/en-us/web/api/sanitizer/sanitizetostring/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- HTML Sanitizer API
66
- Method
77
- sanitize
8+
browser-compat: api.Sanitizer.sanitizeToString
89
---
910
<div>{{draft}}{{securecontext_header}}{{DefaultAPISidebar("HTML Sanitizer API")}}</div>
1011

@@ -64,4 +65,4 @@ <h2 id="Specifications">Specifications</h2>
6465

6566
<h2 id="Browser_compatibility">Browser compatibility</h2>
6667

67-
<p>{{Compat("api.Sanitizer.sanitizeToString")}}</p>
68+
<p>{{Compat}}</p>

files/en-us/web/api/screen/availheight/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- Reference
99
- Screen size
1010
- availHeight
11+
browser-compat: api.Screen.availHeight
1112
---
1213
<p>{{APIRef("CSSOM")}}</p>
1314

@@ -93,7 +94,7 @@ <h2 id="Specifications">Specifications</h2>
9394

9495
<h2 id="Browser_compatibility">Browser compatibility</h2>
9596

96-
<p>{{Compat("api.Screen.availHeight")}}</p>
97+
<p>{{Compat}}</p>
9798

9899
<h2 id="See_also">See also</h2>
99100

files/en-us/web/api/screen/availleft/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- DOM
99
- Non-standard
1010
- Property
11+
browser-compat: api.Screen.availLeft
1112
---
1213
<div>{{APIRef("CSSOM")}}{{Non-standard_Header}}</div>
1314

@@ -47,4 +48,4 @@ <h2 id="Notes">Notes</h2>
4748

4849
<h2 id="Browser_compatibility">Browser compatibility</h2>
4950

50-
<p>{{Compat("api.Screen.availLeft")}}</p>
51+
<p>{{Compat}}</p>

files/en-us/web/api/screen/availtop/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- DOM
99
- Non-standard
1010
- Property
11+
browser-compat: api.Screen.availTop
1112
---
1213
<p>{{APIRef("CSSOM")}}{{Non-standard_Header}}</p>
1314

@@ -32,4 +33,4 @@ <h2 id="Notes">Notes</h2>
3233

3334
<h2 id="Browser_compatibility">Browser compatibility</h2>
3435

35-
<p>{{Compat("api.Screen.availTop")}}</p>
36+
<p>{{Compat}}</p>

files/en-us/web/api/screen/availwidth/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- CSSOM View
77
- Property
88
- Reference
9+
browser-compat: api.Screen.availWidth
910
---
1011
<div>{{APIRef("CSSOM View")}}</div>
1112

@@ -44,4 +45,4 @@ <h2 id="Specifications">Specifications</h2>
4445

4546
<h2 id="Browser_compatibility">Browser compatibility</h2>
4647

47-
<p>{{Compat("api.Screen.availWidth")}}</p>
48+
<p>{{Compat}}</p>

files/en-us/web/api/screen/colordepth/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- CSSOM View
77
- Property
88
- Reference
9+
browser-compat: api.Screen.colorDepth
910
---
1011
<p>{{APIRef("CSSOM")}}</p>
1112

@@ -50,7 +51,7 @@ <h2 id="Specifications">Specifications</h2>
5051

5152
<h2 id="Browser_compatibility">Browser compatibility</h2>
5253

53-
<p>{{Compat("api.Screen.colorDepth")}}</p>
54+
<p>{{Compat}}</p>
5455

5556
<h2 id="See_also">See also</h2>
5657

files/en-us/web/api/screen/height/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- NeedsMobileBrowserCompatibility
99
- Property
1010
- Reference
11+
browser-compat: api.Screen.height
1112
---
1213
<p>{{APIRef("CSSOM")}}</p>
1314

@@ -59,4 +60,4 @@ <h2 id="Specifications">Specifications</h2>
5960

6061
<h2 id="Browser_compatibility">Browser compatibility</h2>
6162

62-
<p>{{Compat("api.Screen.height")}}</p>
63+
<p>{{Compat}}</p>

0 commit comments

Comments
 (0)