New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-ruby-1] Bikeshed improvements related to property values #224
Merged
Merged
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -160,14 +160,10 @@ Ruby-specific 'display' Values</h3> | |
authors must map document language elements to ruby elements; | ||
this is done with the 'display' property. | ||
|
||
<table class="propdef"> | ||
<tr> | ||
<th>Name: | ||
<td>display | ||
<tr> | ||
<th><a href="#values">New Values</a>: | ||
<td>ruby | ruby-base | ruby-text | ruby-base-container | ruby-text-container | ||
</table> | ||
<pre class="propdef"> | ||
Name: display | ||
New values: ruby | ruby-base | ruby-text | ruby-base-container | ruby-text-container | ||
</pre> | ||
|
||
<p>The following new 'display' values assign ruby layout roles to an arbitrary element: | ||
|
||
|
@@ -897,38 +893,13 @@ Ruby Formatting Properties</h2> | |
<h3 id="rubypos"> | ||
Ruby Positioning: the 'ruby-position' property</h3> | ||
|
||
<table class="propdef"> | ||
<tr> | ||
<th>Name: | ||
<td><dfn>ruby-position</dfn> | ||
<tr> | ||
<th><a href="#values">Value</a>: | ||
<td>[ over | under | inter-character ] | ||
<tr> | ||
<th>Initial: | ||
<td>over | ||
<tr> | ||
<th>Applies to: | ||
<td>ruby annotation containers | ||
<tr> | ||
<th>Inherited: | ||
<td>yes | ||
<tr> | ||
<th>Percentages: | ||
<td>N/A | ||
<tr> | ||
<th>Media: | ||
<td>visual | ||
<tr> | ||
<th>Computed value: | ||
<td>specified value | ||
<tr> | ||
<th>Animatable: | ||
<td>no | ||
<tr> | ||
<th>Canonical order: | ||
<td><abbr title="follows order of property value definition">per grammar</abbr> | ||
</table> | ||
<pre class="propdef"> | ||
Name: ruby-position | ||
Value: [ over | under | inter-character ] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove the brackets. |
||
Initial: over | ||
Applies to: ruby annotation containers | ||
Inherited: yes | ||
</pre> | ||
|
||
<p>This property controls position of the ruby text with respect to its base. | ||
Values have the following meanings: | ||
|
@@ -994,38 +965,13 @@ Ruby Positioning: the 'ruby-position' property</h3> | |
<h3 id="collapsed-ruby"> | ||
Sharing Annotation Space: the 'ruby-merge' property</h3> | ||
|
||
<table class="propdef"> | ||
<tr> | ||
<th>Name: | ||
<td><dfn>ruby-merge</dfn> | ||
<tr> | ||
<th><a href="#values">Value</a>: | ||
<td>separate | collapse | auto | ||
<tr> | ||
<th>Initial: | ||
<td>separate | ||
<tr> | ||
<th>Applies to: | ||
<td>ruby annotation containers | ||
<tr> | ||
<th>Inherited: | ||
<td>yes | ||
<tr> | ||
<th>Percentages: | ||
<td>N/A | ||
<tr> | ||
<th>Media: | ||
<td>visual | ||
<tr> | ||
<th>Computed value: | ||
<td>specified value | ||
<tr> | ||
<th>Animatable: | ||
<td>no | ||
<tr> | ||
<th>Canonical order: | ||
<td><abbr title="follows order of property value definition">per grammar</abbr> | ||
</table> | ||
<pre class="propdef"> | ||
Name: ruby-merge | ||
Value: separate | collapse | auto | ||
Initial: separate | ||
Applies to: ruby annotation containers | ||
Inherited: yes | ||
</pre> | ||
|
||
<p> | ||
This property controls how ruby annotation boxes should be rendered | ||
|
@@ -1096,32 +1042,14 @@ Sharing Annotation Space: the 'ruby-merge' property</h3> | |
<h3 id="ruby-align-property"><span id="rubyalign"></span> | ||
Ruby Text Distribution: the 'ruby-align' property</h3> | ||
|
||
<table class="propdef"> | ||
<tr> | ||
<th>Name: | ||
<td><dfn>ruby-align</dfn> | ||
<tr> | ||
<th><a href="#values">Value</a>: | ||
<td>start | center | space-between | space-around | ||
<tr> | ||
<th>Initial: | ||
<td>space-around | ||
<tr> | ||
<th>Applies to: | ||
<td>ruby bases, ruby annotations, ruby base containers, ruby annotation containers | ||
<tr> | ||
<th>Inherited: | ||
<td>yes | ||
<tr> | ||
<th>Percentages: | ||
<td>N/A | ||
<tr> | ||
<th>Media: | ||
<td>visual | ||
<tr> | ||
<th>Computed value: | ||
<td>specified value (except for initial and inherit) | ||
</table> | ||
<pre class="propdef"> | ||
Name: ruby-align | ||
Value: start | center | space-between | space-around | ||
Initial: space-around | ||
Applies to: ruby bases, ruby annotations, ruby base containers, ruby annotation containers | ||
Inherited: yes | ||
Computed value: specified value (except for ''initial'' and ''inherit'') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove the parenthetical. |
||
</pre> | ||
|
||
<p>This property specifies how text is distributed within the various ruby boxes | ||
when their contents do not exactly fill their respective boxes. | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put a "partial" class on this as well, so it doesn't try to claim to be defining the 'display' property.