Skip to content

Commit

Permalink
[e] (0) Add (LF) and similar annotations in more places that mention …
Browse files Browse the repository at this point in the history
…characters.

git-svn-id: http://svn.whatwg.org/webapps@4080 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 5, 2009
1 parent ab5910e commit 0b62a15
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
12 changes: 6 additions & 6 deletions index
Expand Up @@ -12655,16 +12655,16 @@ line-comment = slash slash *not-newline

; characters
tab = %x0009 ; U+0009 TAB
newline = %x000A ; U+000A LINE FEED
newline = %x000A ; U+000A LINE FEED (LF)
space = %x0020 ; U+0020 SPACE
star = %x002A ; U+002A ASTERISK
slash = %x002F ; U+002F SOLIDUS
star = %x002A ; U+002A ASTERISK (*)
slash = %x002F ; U+002F SOLIDUS (/)
not-newline = %x0000-0009 / %x000B-10FFFF
; a Unicode character other than U+000A LINE FEED
; a Unicode character other than U+000A LINE FEED (LF)
not-star = %x0000-0029 / %x002B-10FFFF
; a Unicode character other than U+002A ASTERISK
; a Unicode character other than U+002A ASTERISK (*)
not-slash = %x0000-002E / %x0030-10FFFF
; a Unicode character other than U+002F SOLIDUS</pre>
; a Unicode character other than U+002F SOLIDUS (/)</pre>

<p class=note>This corresponds to putting the contents of the
element in JavaScript comments.</p>
Expand Down
32 changes: 16 additions & 16 deletions source
Expand Up @@ -13472,16 +13472,16 @@ line-comment = slash slash *not-newline

; characters
tab = %x0009 ; U+0009 TAB
newline = %x000A ; U+000A LINE FEED
newline = %x000A ; U+000A LINE FEED (LF)
space = %x0020 ; U+0020 SPACE
star = %x002A ; U+002A ASTERISK
slash = %x002F ; U+002F SOLIDUS
star = %x002A ; U+002A ASTERISK (*)
slash = %x002F ; U+002F SOLIDUS (/)
not-newline = %x0000-0009 / %x000B-10FFFF
; a Unicode character other than U+000A LINE FEED
; a Unicode character other than U+000A LINE FEED (LF)
not-star = %x0000-0029 / %x002B-10FFFF
; a Unicode character other than U+002A ASTERISK
; a Unicode character other than U+002A ASTERISK (*)
not-slash = %x0000-002E / %x0030-10FFFF
; a Unicode character other than U+002F SOLIDUS</pre>
; a Unicode character other than U+002F SOLIDUS (/)</pre>

<p class="note">This corresponds to putting the contents of the
element in JavaScript comments.</p>
Expand Down Expand Up @@ -73172,15 +73172,15 @@ end-of-line = ( cr lf / cr / lf / eof )
eof = &lt; matches repeatedly at the end of the stream >

; characters
lf = %x000A ; U+000A LINE FEED
cr = %x000D ; U+000D CARRIAGE RETURN
lf = %x000A ; U+000A LINE FEED (LF)
cr = %x000D ; U+000D CARRIAGE RETURN (CR)
space = %x0020 ; U+0020 SPACE
colon = %x003A ; U+003A COLON
colon = %x003A ; U+003A COLON (:)
bom = %xFEFF ; U+FEFF BYTE ORDER MARK
name-char = %x0000-0009 / %x000B-000C / %x000E-0039 / %x003B-10FFFF
; a Unicode character other than U+000A LINE FEED, U+000D CARRIAGE RETURN, or U+003A COLON
; a Unicode character other than U+000A LINE FEED (LF), U+000D CARRIAGE RETURN (CR), or U+003A COLON (:)
any-char = %x0000-0009 / %x000B-000C / %x000E-10FFFF
; a Unicode character other than U+000A LINE FEED or U+000D CARRIAGE RETURN</pre>
; a Unicode character other than U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN (CR)</pre>

<p>Event streams in this format must always be encoded as
UTF-8.</p>
Expand All @@ -73192,7 +73192,7 @@ any-char = %x0000-0009 / %x000B-000C / %x000E-10FFFF
<p>Since connections established to remote servers for such
resources are expected to be long-lived, UAs should ensure that
appropriate buffering is used. In particular, while line buffering
with lines are defined to end with a single U+000A LINE FEED
with lines are defined to end with a single U+000A LINE FEED (LF)
character is safe, block buffering or line buffering with different
expected line endings can cause delays in event dispatch.</p>

Expand Down Expand Up @@ -73286,8 +73286,8 @@ any-char = %x0000-0009 / %x000B-000C / %x000E-10FFFF
<dt>If the field name is "data"</dt>

<dd><p>Append the field value to the <var title="">data</var>
buffer, then append a single U+000A LINE FEED character to the <var
title="">data</var> buffer.</p></dd>
buffer, then append a single U+000A LINE FEED (LF) character to the
<var title="">data</var> buffer.</p></dd>


<dt>If the field name is "id"</dt>
Expand Down Expand Up @@ -73336,8 +73336,8 @@ any-char = %x0000-0009 / %x000B-000C / %x000E-10FFFF
steps.</p></li>

<li>If the <var title="">data</var> buffer's last character is a
U+000A LINE FEED character, then remove the last character from the
<var title="">data</var> buffer.</p>
U+000A LINE FEED (LF) character, then remove the last character
from the <var title="">data</var> buffer.</p>

<li><p>If the <var title="">event name</var> buffer is not the
empty string but is also not a valid event type name, as defined by
Expand Down

0 comments on commit 0b62a15

Please sign in to comment.