Skip to content

Commit

Permalink
Adds features from CSS 2 (@charset, float & clear, vertical-align) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
vwallen authored Nov 14, 2024
1 parent 0c87d48 commit 2bedeab
Show file tree
Hide file tree
Showing 8 changed files with 181 additions and 0 deletions.
6 changes: 6 additions & 0 deletions features/charset.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: "@charset"
description: The `@charset` CSS at-rule specifies the character encoding of an external style sheet.
spec: https://drafts.csswg.org/css2/#charset
group: css
compat_features:
- css.at-rules.charset
17 changes: 17 additions & 0 deletions features/charset.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated from: charset.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2015-07-29
baseline_high_date: 2018-01-29
support:
chrome: "2"
chrome_android: "18"
edge: "12"
firefox: "1.5"
firefox_android: "4"
safari: "4"
safari_ios: "4"
compat_features:
- css.at-rules.charset
15 changes: 15 additions & 0 deletions features/float-clear.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: float and clear
description: The `float` CSS property aligns an element to either side of its container, allowing text and inline elements to flow around it. The `clear` CSS property sets whether an element is moved below floating elements that proceed it.
spec:
- https://drafts.csswg.org/css2/#propdef-float
- https://drafts.csswg.org/css2/#propdef-clear
group: css
compat_features:
- css.properties.clear
- css.properties.clear.both
- css.properties.clear.left
- css.properties.clear.right
- css.properties.float
- css.properties.float.left
- css.properties.float.none
- css.properties.float.right
24 changes: 24 additions & 0 deletions features/float-clear.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated from: float-clear.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2015-07-29
baseline_high_date: 2018-01-29
support:
chrome: "1"
chrome_android: "18"
edge: "12"
firefox: "1"
firefox_android: "4"
safari: "1"
safari_ios: "1"
compat_features:
- css.properties.clear
- css.properties.clear.both
- css.properties.clear.left
- css.properties.clear.right
- css.properties.float
- css.properties.float.left
- css.properties.float.none
- css.properties.float.right
12 changes: 12 additions & 0 deletions features/table.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,15 @@ compat_features:
- html.elements.th.scope
- html.elements.thead
- html.elements.tr
- css.properties.border-collapse
- css.properties.border-collapse.collapse
- css.properties.border-collapse.separate
- css.properties.border-spacing
- css.properties.caption-side
- css.properties.caption-side.bottom
- css.properties.caption-side.bottom-outside
- css.properties.caption-side.top
- css.properties.caption-side.top-outside
- css.properties.caption-side.writing-mode_relative_values
- css.properties.empty-cells
- css.properties.table-layout
68 changes: 68 additions & 0 deletions features/table.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ compat_features:
# firefox_android: "4"
# safari: "1"
# safari_ios: "1"
- css.properties.border-spacing
- css.properties.caption-side
- html.elements.table
- html.elements.tbody
- html.elements.td
Expand All @@ -42,6 +44,32 @@ compat_features:
- html.elements.thead
- html.elements.tr

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "1"
# firefox_android: "4"
# safari: "1.2"
# safari_ios: "1"
- css.properties.empty-cells

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "1"
# firefox_android: "4"
# safari: "1.2"
# safari_ios: "3"
- css.properties.border-collapse

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
Expand Down Expand Up @@ -131,6 +159,19 @@ compat_features:
- api.HTMLTableRowElement.insertCell.index_parameter_negative_one
- api.HTMLTableRowElement.insertCell.index_parameter_optional

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "14"
# chrome_android: "18"
# edge: "12"
# firefox: "1"
# firefox_android: "4"
# safari: "1"
# safari_ios: "3"
- css.properties.table-layout

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
Expand All @@ -144,6 +185,22 @@ compat_features:
# safari_ios: "6"
- api.HTMLTableElement.createTBody

# baseline: high
# baseline_low_date: 2020-07-28
# baseline_high_date: 2023-01-28
# support:
# chrome: ≤80
# chrome_android: "80"
# edge: "80"
# firefox: ≤72
# firefox_android: "79"
# safari: ≤13.1
# safari_ios: ≤13.4
- css.properties.border-collapse.collapse
- css.properties.border-collapse.separate
- css.properties.caption-side.bottom
- css.properties.caption-side.top

# baseline: false
# support:
# chrome: "65"
Expand All @@ -153,8 +210,19 @@ compat_features:
# firefox_android: "55"
- html.elements.td.rowspan.rowspan_zero

# baseline: false
# support:
# firefox: "42"
# firefox_android: "42"
- css.properties.caption-side.writing-mode_relative_values

# baseline: false
# support:
# firefox: ≤55
# firefox_android: "55"
- html.elements.th.rowspan.rowspan_zero

# baseline: false
# support: {}
- css.properties.caption-side.bottom-outside
- css.properties.caption-side.top-outside
14 changes: 14 additions & 0 deletions features/vertical-align.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: vertical-align
description: The `vertical-align` CSS property sets the vertical alignment of inline, inline-block, and table cell elements. It has no effect on block-level elements.
spec: https://drafts.csswg.org/css2/#propdef-vertical-align
group: css
compat_features:
- css.properties.vertical-align
- css.properties.vertical-align.baseline
- css.properties.vertical-align.bottom
- css.properties.vertical-align.middle
- css.properties.vertical-align.sub
- css.properties.vertical-align.super
- css.properties.vertical-align.text-bottom
- css.properties.vertical-align.text-top
- css.properties.vertical-align.top
25 changes: 25 additions & 0 deletions features/vertical-align.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Generated from: vertical-align.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2015-07-29
baseline_high_date: 2018-01-29
support:
chrome: "1"
chrome_android: "18"
edge: "12"
firefox: "1"
firefox_android: "4"
safari: "1"
safari_ios: "1"
compat_features:
- css.properties.vertical-align
- css.properties.vertical-align.baseline
- css.properties.vertical-align.bottom
- css.properties.vertical-align.middle
- css.properties.vertical-align.sub
- css.properties.vertical-align.super
- css.properties.vertical-align.text-bottom
- css.properties.vertical-align.text-top
- css.properties.vertical-align.top

0 comments on commit 2bedeab

Please sign in to comment.