Skip to content
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

Serialization description for position property #463

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions css-typed-om/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ The <dfn method for=StylePropertyMap>append(DOMString <var>property</var>,

3. If {{StylePropertyMap}}’s [=property model=] contains an entry for |property|,
return the first value found in that entry.

4. Else, return `null`.
</div>

Expand Down Expand Up @@ -2273,7 +2273,7 @@ objects, the {{CSSURLImageValue/url}} attribute contains the URL that references
when called,
perform the following steps:

1. If the |url| passed into the constructor doesn't correctly
1. If the |url| passed into the constructor doesn't correctly
parse as a <<url>>, throw a {{TypeError}} and exit this algorithm.
2. Else, return a new {{CSSURLImageValue}}
with its {{CSSURLImageValue/url}} internal slot
Expand Down Expand Up @@ -2877,7 +2877,7 @@ depending on the property they came from:
3. If 'border-image-slice' does not specify ''100%'' for all sides and omits the ''border-image-slice/fill'' keyword,
serialize 'border-image-slice' and append it to |values|.
4. If 'border-image-width' does not specify ''1'' for all sides,
append "/ " (U+002F FORWARD SLASH followed by U+0020 SPACE)
append "/ " (U+002F FORWARD SLASH followed by U+0020 SPACE)
to the result of serializing 'border-image-width' and append it to |values|.
5. If 'border-image-outset' does not specify ''0'' for all sides:
1. If the previous 'border-image-width' step did not append anything to |values|,
Expand All @@ -2886,7 +2886,7 @@ depending on the property they came from:
otherwise let |prefix| be <nobr>"/ "</nobr>
(U+002F FORWARD SLASH followed by U+0020 SPACE)
2. Append |prefix|
to the result of serializing 'border-image-outset'
to the result of serializing 'border-image-outset'
and append it to |values|.
6. If 'border-image-repeat' is not ''border-image-repeat/stretch'' in both axises,
serialize 'border-image-repeat' and append it to |values|.
Expand Down Expand Up @@ -2917,6 +2917,10 @@ depending on the property they came from:
return the result of serializing the <<length>> value.
3. Otherwise, return the result of serializing the <<percentage>> value.

: 'position'
::
1. Return the serialization of 'position'.

: 'right'
::
1. If the value is the ''auto'' keyword,
Expand Down