diff --git a/cssom/Overview.bs b/cssom/Overview.bs index a667bcdb0fb..5b854d91b41 100644 --- a/cssom/Overview.bs +++ b/cssom/Overview.bs @@ -229,7 +229,7 @@ are always serialized with '"' (U+0022). To serialize a URL means to create a string represented by "url(", followed by the -string escaped value of the given +serialization of the URL as a string, followed by ")". To serialize a comma-separated list concatenate all items of @@ -301,8 +301,8 @@ finally return s:
  • If the media query is negated append "not", followed by a single SPACE (U+0020), to s. -
  • Let type be the media type of the media query, - escaped and +
  • Let type be the serialization + as an identifier of the media type of the media query, converted to ASCII lowercase.
  • If the media query does not contain media features append @@ -526,8 +526,8 @@ To serialize a group of selectors serialize each selector in the group of selectors and then -serialize the -group. +serialize a +comma-separated list of these serializations. To serialize a selector let s be the empty string, run the steps below for each @@ -579,9 +579,9 @@ finally return s:
  • If the namespace prefix maps to a namespace that is not the default namespace and is not the null namespace (not in a namespace) append the - escaped - namespace prefix, followed by a "|" (U+007C) - to s. + serialization of the + namespace prefix as an identifier, followed by a + "|" (U+007C) to s.
  • If the namespace prefix maps to a namespace that is the null namespace (not in a namespace) append @@ -589,8 +589,8 @@ finally return s:
  • If this is a type selector append the - escaped element name to - s. + serialization of the element name + as an identifier to s.
  • If this is a universal selector append "*" (U+002A) to s. @@ -605,12 +605,12 @@ finally return s:
  • If the namespace prefix maps to a namespace that is not the null namespace (not in a namespace) append the - escaped - namespace prefix, followed by a "|" (U+007C) - to s. + serialization of the + namespace prefix as an identifier, followed by a + "|" (U+007C) to s. -
  • Append the escaped - attribute name to s. +
  • Append the serialization + of the attribute name as an identifier to s.
  • If there is an attribute value specified, append "=", @@ -620,8 +620,8 @@ finally return s: "$=", or "*=" as appropriate (depending on the type of attribute selector), followed - by the string escaped - attribute value, to s. + by the serialization of the + attribute value as a string, to s.
  • If the attribute selector has the case-sensitivity flag present, append " i" (U+0020 U+0069) to s. @@ -633,13 +633,13 @@ finally return s:
    class selector
    Append a "." (U+002E), followed by the - escaped class name to - s. + serialization of the class name + as an identifier to s.
    ID selector
    Append a "#" (U+0023), followed by the - escaped ID to - s. + serialization of the ID + as an identifier to s.
    pseudo-class
    @@ -654,9 +654,10 @@ finally return s:
    :lang() -
    The value of each argument string escaped, - preserving relative order, - separated by ", " (U+002C U+0020). +
    The serialization of a + comma-separated list of each argument's + serialization as a string, preserving + relative order.
    :nth-child()
    :nth-last-child() @@ -1458,11 +1459,11 @@ To serialize a CSS rule, perform one of the following in accordance w
    {{CSSNamespaceRule}}
    The literal string "@namespace", followed by a single SPACE - (U+0020), followed by the - identifier escaped value of the + (U+0020), followed by the + serialization as an identifier of the {{CSSNamespaceRule/prefix}} attribute (if any), followed by a single SPACE (U+0020) if there is a prefix, followed by the - URL escaped value of the + serialization as URL of the {{CSSNamespaceRule/namespaceURI}} attribute, followed the character ";" (U+003B).
    @@ -2400,7 +2401,7 @@ depends on the component, as follows:
    <identifier>
    The identifier - escaped. + serialized as an identifier.
    <integer>
    A base-ten integer using digits 0-9 (U+0030 to U+0039) in the @@ -2457,7 +2458,7 @@ depends on the component, as follows:
    <family-name>
    <specific-voice>
    The string - string escaped. + serialized as a string.
    <time>
    The time in seconds serialized as per <number> followed by @@ -2465,7 +2466,7 @@ depends on the component, as follows:
    <uri>
    The absolute URL - URL escaped. + serialized as URL. @@ -2635,7 +2636,7 @@ The escape(ident) method must return the re ident.
    - For example, to escape a string for use as part of a selector, the {{CSS/escape()}} method can be used: + For example, to serialize a string for use as part of a selector, the {{CSS/escape()}} method can be used:
    var element = document.querySelector('#' + CSS.escape(id) + ' > img');