Skip to content

Commit f2f1b2a

Browse files
authored
Adds ruby annotation layout properties and group (#1898)
* Adds ruby annotation layout properties and group * Updates from feedback * Removes css-ruby-1 draft spec
1 parent 6b011d7 commit f2f1b2a

10 files changed

+86
-50
lines changed

features/draft/spec/css-ruby-1.yml

-14
This file was deleted.

features/draft/spec/css-ruby-1.yml.dist

-35
This file was deleted.

features/ruby-align.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: ruby-align
2+
description: The `ruby-align` CSS property sets the spacing and alignment of ruby annotation text when it does not fill its available space.
3+
spec: https://drafts.csswg.org/css-ruby-1/#ruby-align-property
4+
group: ruby
5+
compat_features:
6+
- css.properties.ruby-align
7+
- css.properties.ruby-align.center
8+
- css.properties.ruby-align.space-around
9+
- css.properties.ruby-align.space-between
10+
- css.properties.ruby-align.start

features/ruby-align.yml.dist

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated from: ruby-align.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support:
7+
chrome: "128"
8+
chrome_android: "128"
9+
edge: "128"
10+
firefox: "38"
11+
firefox_android: "38"
12+
compat_features:
13+
- css.properties.ruby-align
14+
- css.properties.ruby-align.center
15+
- css.properties.ruby-align.space-around
16+
- css.properties.ruby-align.space-between
17+
- css.properties.ruby-align.start

features/ruby-overhang.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: ruby-overhang
2+
description: The `ruby-overhang` CSS property sets whether ruby annotations may overlap adjacent text.
3+
spec: https://drafts.csswg.org/css-ruby-1/#ruby-overhang
4+
group: ruby
5+
compat_features:
6+
- css.properties.ruby-overhang
7+
- css.properties.ruby-overhang.auto
8+
- css.properties.ruby-overhang.none

features/ruby-overhang.yml.dist

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Generated from: ruby-overhang.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support: {}
7+
compat_features:
8+
- css.properties.ruby-overhang
9+
- css.properties.ruby-overhang.auto
10+
- css.properties.ruby-overhang.none

features/ruby-position.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: ruby-position
2+
description: The `ruby-position` CSS property sets the position of a ruby annotation in relation to its base text. Annotations can display over, under, or interleaved with the base text.
3+
spec: https://drafts.csswg.org/css-ruby-1/#rubypos
4+
group: ruby
5+
status:
6+
compute_from: css.properties.ruby-position
7+
compat_features:
8+
- css.properties.ruby-position
9+
- css.properties.ruby-position.alternate

features/ruby-position.yml.dist

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Generated from: ruby-position.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support:
7+
chrome: "84"
8+
chrome_android: "84"
9+
edge: "84"
10+
firefox: "38"
11+
firefox_android: "38"
12+
compat_features:
13+
# ⬇️ Same status as overall feature ⬇️
14+
# baseline: false
15+
# support:
16+
# chrome: "84"
17+
# chrome_android: "84"
18+
# edge: "84"
19+
# firefox: "38"
20+
# firefox_android: "38"
21+
- css.properties.ruby-position
22+
23+
# baseline: false
24+
# support:
25+
# firefox: "88"
26+
# firefox_android: "88"
27+
- css.properties.ruby-position.alternate

features/ruby.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ spec:
44
- https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-rp-element
55
- https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-rt-element
66
- https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-ruby-element
7-
group: html
7+
group:
8+
- html
9+
- ruby
810
caniuse: ruby
911
compat_features:
1012
- html.elements.rp

groups/ruby.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Features related to ruby annotation
2+
name: Ruby

0 commit comments

Comments
 (0)