Update XML Entity Definitions for Characters - rang/lang (bug 603716); r=hsivonen,karlt
authorFrédéric Wang <fred.wang@free.fr>
Fri, 08 Apr 2011 11:56:43 -0700
changeset 67718 ca93335759fc8329cec2ed181be1e5cb61f6a49b
parent 67717 1a9a58693f6f97254638feedd540ff34449aaba7
child 67719 ee41fa88ae5462c1d1a8230379eaa8bb3209cc13
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershsivonen, karlt
bugs603716
milestone2.2a1pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Update XML Entity Definitions for Characters - rang/lang (bug 603716); r=hsivonen,karlt
content/base/test/file_xhtmlserializer_2_basic.xhtml
content/base/test/file_xhtmlserializer_2_latin1.xhtml
parser/htmlparser/src/nsHTMLEntityList.h
--- a/content/base/test/file_xhtmlserializer_2_basic.xhtml
+++ b/content/base/test/file_xhtmlserializer_2_basic.xhtml
@@ -15,17 +15,17 @@
 Ù Ú Û Ü Ý Þ ß à á â ã ä å æ ç è é ê 
 ë ì í î ï ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý 
 þ ÿ </p>
 <p>symbols, math.. ƒ Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ
 Φ Χ Ψ Ω α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ ς
 σ τ υ φ χ ψ ω ϑ ϒ ϖ • … ′ ″ ‾ ⁄ ℘ ℑ ℜ
 ™ ℵ ← ↑ → ↓ ↔ ↵ ⇐ ⇑ ⇒ ⇓ ⇔ ∀ ∂ ∃ ∅ ∇ ∈ ∉
 ∋ ∏ ∑ − ∗ √ ∝ ∞ ∠ ∧ ∨ ∩ ∪ ∫ ∴ ∼ ≅ ≈ ≠ ≡ ≤ ≥
-⊂ ⊃ ⊄ ⊆ ⊇ ⊕ ⊗ ⊥ ⋅ ⌈ ⌉ ⌊ ⌋ 〈 〉 ◊ ♠ ♣ ♥ ♦
+⊂ ⊃ ⊄ ⊆ ⊇ ⊕ ⊗ ⊥ ⋅ ⌈ ⌉ ⌊ ⌋ ⟨ ⟩ ◊ ♠ ♣ ♥ ♦
 </p>
 <p> others
 Œ œ Š š Ÿ ˆ ˜       ‌ ‍ ‎ ‏–— ‘ ’
 ‚“ ” „ † ‡ ‰ ‹ › €
 </p>
 
 </body>
 </html>
\ No newline at end of file
--- a/content/base/test/file_xhtmlserializer_2_latin1.xhtml
+++ b/content/base/test/file_xhtmlserializer_2_latin1.xhtml
@@ -25,17 +25,17 @@
  &ocirc; &otilde; &ouml; &divide; &oslash; &ugrave; &uacute; &ucirc; 
 &uuml; &yacute; 
 &thorn; &yuml; </p>
 <p>symbols, math.. ƒ Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ
 Φ Χ Ψ Ω α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ ς
 σ τ υ φ χ ψ ω ϑ ϒ ϖ • … ′ ″ ‾ ⁄ ℘ ℑ ℜ
 ™ ℵ ← ↑ → ↓ ↔ ↵ ⇐ ⇑ ⇒ ⇓ ⇔ ∀ ∂ ∃ ∅ ∇ ∈ ∉
 ∋ ∏ ∑ − ∗ √ ∝ ∞ ∠ ∧ ∨ ∩ ∪ ∫ ∴ ∼ ≅ ≈ ≠ ≡ ≤ ≥
-⊂ ⊃ ⊄ ⊆ ⊇ ⊕ ⊗ ⊥ ⋅ ⌈ ⌉ ⌊ ⌋ 〈 〉 ◊ ♠ ♣ ♥ ♦
+⊂ ⊃ ⊄ ⊆ ⊇ ⊕ ⊗ ⊥ ⋅ ⌈ ⌉ ⌊ ⌋ ⟨ ⟩ ◊ ♠ ♣ ♥ ♦
 </p>
 <p> others
 Œ œ Š š Ÿ ˆ ˜       ‌ ‍ ‎ ‏–— ‘ ’
 ‚“ ” „ † ‡ ‰ ‹ › €
 </p>
 
 </body>
 </html>
\ No newline at end of file
--- a/parser/htmlparser/src/nsHTMLEntityList.h
+++ b/parser/htmlparser/src/nsHTMLEntityList.h
@@ -267,18 +267,20 @@ HTML_ENTITY(supe, 8839)
 HTML_ENTITY(oplus, 8853)
 HTML_ENTITY(otimes, 8855)
 HTML_ENTITY(perp, 8869)
 HTML_ENTITY(sdot, 8901)
 HTML_ENTITY(lceil, 8968)
 HTML_ENTITY(rceil, 8969)
 HTML_ENTITY(lfloor, 8970)
 HTML_ENTITY(rfloor, 8971)
-HTML_ENTITY(lang, 9001)
-HTML_ENTITY(rang, 9002)
+// Bug 603716: expansions of &lang; and &rang; have been modified in HTML5.
+// See http://www.w3.org/2003/entities/2007/htmlmathml-f.ent
+HTML_ENTITY(lang, 0x27E8)
+HTML_ENTITY(rang, 0x27E9)
 HTML_ENTITY(loz, 9674)
 HTML_ENTITY(spades, 9824)
 HTML_ENTITY(clubs, 9827)
 HTML_ENTITY(hearts, 9829)
 HTML_ENTITY(diams, 9830)
 
 // Markup-significant and internationalization characters
 // See the HTML4.0 spec for this list in it's DTD form