# HG changeset patch # User Simon Sapin # Date 1376317053 -3600 # Node ID 059a3bea5563e068d76f744cbf8a157b196db633 # Parent bfc93c31b96161920ecda20d302c5a1c0e119d93 [css-syntax] Return U+FFFD for escaped surrogate code points. diff -r bfc93c31b961 -r 059a3bea5563 css-syntax/Overview.html --- a/css-syntax/Overview.html Mon Aug 12 13:22:47 2013 +0200 +++ b/css-syntax/Overview.html Mon Aug 12 15:17:33 2013 +0100 @@ -12,7 +12,7 @@

CSS Syntax Module Level 3

Editor's Draft, - 9 August 2013

+ 12 August 2013
This version:
http://dev.w3.org/csswg/css-syntax
Editor's Draft:
http://dev.w3.org/csswg/css-syntax
Feedback:
www-style@w3.org @@ -1306,10 +1306,15 @@ consume it as well. Interpret the hex digits as a hexadecimal number. If this number is zero, + or is between U+D800 and U+DFFF included, or is greater than the maximum allowed codepoint, return U+FFFD REPLACEMENT CHARACTER (�). Otherwise, return the character with that codepoint. +

+ U+D800 to U+DFFF are the + surrogate code points. +

EOF character
Return U+FFFD REPLACEMENT CHARACTER (�). diff -r bfc93c31b961 -r 059a3bea5563 css-syntax/Overview.src.html --- a/css-syntax/Overview.src.html Mon Aug 12 13:22:47 2013 +0200 +++ b/css-syntax/Overview.src.html Mon Aug 12 15:17:33 2013 +0100 @@ -1189,10 +1189,15 @@ consume it as well. Interpret the hex digits as a hexadecimal number. If this number is zero, + or is between U+D800 and U+DFFF included, or is greater than the maximum allowed codepoint, return U+FFFD REPLACEMENT CHARACTER (�). Otherwise, return the character with that codepoint. +

+ U+D800 to U+DFFF are the + surrogate code points. +

EOF character
Return U+FFFD REPLACEMENT CHARACTER (�).