Bug 953408 - switch to unprefixed hyphens property in tests. r=jfkthame
authorJohn Daggett <jdaggett@mozilla.com>
Tue, 15 Sep 2015 10:09:30 +0900
changeset 262507 583b3c9b6e0e81126099a6d0b2efda174744a0f5
parent 262506 f3994cb9aa507a754f90e78d9e5e8e6ae91bd75c
child 262508 8dbe5f85a00892167aac0e68dc58354b0f3e9ca9
push id29375
push usercbook@mozilla.com
push dateTue, 15 Sep 2015 13:05:38 +0000
treeherdermozilla-central@5d61714cf5c3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjfkthame
bugs953408
milestone43.0a1
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
Bug 953408 - switch to unprefixed hyphens property in tests. r=jfkthame
layout/reftests/bugs/1127107-1a-nowrap.html
layout/reftests/bugs/1127107-1b-pre.html
layout/reftests/text/auto-hyphenation-1-ref.html
layout/reftests/text/auto-hyphenation-1.html
layout/reftests/text/auto-hyphenation-10-ref.html
layout/reftests/text/auto-hyphenation-10.html
layout/reftests/text/auto-hyphenation-1a.html
layout/reftests/text/auto-hyphenation-2-ref.html
layout/reftests/text/auto-hyphenation-2.html
layout/reftests/text/auto-hyphenation-3.html
layout/reftests/text/auto-hyphenation-4-ref.html
layout/reftests/text/auto-hyphenation-4.html
layout/reftests/text/auto-hyphenation-5-ref.html
layout/reftests/text/auto-hyphenation-5.html
layout/reftests/text/auto-hyphenation-6-ref.html
layout/reftests/text/auto-hyphenation-6.html
layout/reftests/text/auto-hyphenation-7-ref.html
layout/reftests/text/auto-hyphenation-7.html
layout/reftests/text/auto-hyphenation-8-ref.html
layout/reftests/text/auto-hyphenation-8.html
layout/reftests/text/auto-hyphenation-9-ref.html
layout/reftests/text/auto-hyphenation-9.html
layout/reftests/text/auto-hyphenation-af-1-ref.html
layout/reftests/text/auto-hyphenation-af-1.html
layout/reftests/text/auto-hyphenation-bg-1-ref.html
layout/reftests/text/auto-hyphenation-bg-1.html
layout/reftests/text/auto-hyphenation-ca-1-ref.html
layout/reftests/text/auto-hyphenation-ca-1.html
layout/reftests/text/auto-hyphenation-cy-1-ref.html
layout/reftests/text/auto-hyphenation-cy-1.html
layout/reftests/text/auto-hyphenation-da-1-ref.html
layout/reftests/text/auto-hyphenation-da-1.html
layout/reftests/text/auto-hyphenation-de-1901-1-ref.html
layout/reftests/text/auto-hyphenation-de-1901-1.html
layout/reftests/text/auto-hyphenation-de-1996-1-ref.html
layout/reftests/text/auto-hyphenation-de-1996-1.html
layout/reftests/text/auto-hyphenation-de-ch-1-ref.html
layout/reftests/text/auto-hyphenation-de-ch-1.html
layout/reftests/text/auto-hyphenation-eo-1-ref.html
layout/reftests/text/auto-hyphenation-eo-1.html
layout/reftests/text/auto-hyphenation-es-1-ref.html
layout/reftests/text/auto-hyphenation-es-1.html
layout/reftests/text/auto-hyphenation-et-1-ref.html
layout/reftests/text/auto-hyphenation-et-1.html
layout/reftests/text/auto-hyphenation-fi-1-ref.html
layout/reftests/text/auto-hyphenation-fi-1.html
layout/reftests/text/auto-hyphenation-fr-1-ref.html
layout/reftests/text/auto-hyphenation-fr-1.html
layout/reftests/text/auto-hyphenation-gl-1-ref.html
layout/reftests/text/auto-hyphenation-gl-1.html
layout/reftests/text/auto-hyphenation-hr-1-ref.html
layout/reftests/text/auto-hyphenation-hr-1.html
layout/reftests/text/auto-hyphenation-hsb-1-ref.html
layout/reftests/text/auto-hyphenation-hsb-1.html
layout/reftests/text/auto-hyphenation-hu-1-ref.html
layout/reftests/text/auto-hyphenation-hu-1.html
layout/reftests/text/auto-hyphenation-ia-1-ref.html
layout/reftests/text/auto-hyphenation-ia-1.html
layout/reftests/text/auto-hyphenation-is-1-ref.html
layout/reftests/text/auto-hyphenation-is-1.html
layout/reftests/text/auto-hyphenation-it-1-ref.html
layout/reftests/text/auto-hyphenation-it-1.html
layout/reftests/text/auto-hyphenation-kmr-1-ref.html
layout/reftests/text/auto-hyphenation-kmr-1.html
layout/reftests/text/auto-hyphenation-la-1-ref.html
layout/reftests/text/auto-hyphenation-la-1.html
layout/reftests/text/auto-hyphenation-lt-1-ref.html
layout/reftests/text/auto-hyphenation-lt-1.html
layout/reftests/text/auto-hyphenation-mn-1-ref.html
layout/reftests/text/auto-hyphenation-mn-1.html
layout/reftests/text/auto-hyphenation-nb-1-ref.html
layout/reftests/text/auto-hyphenation-nb-1.html
layout/reftests/text/auto-hyphenation-nl-1-ref.html
layout/reftests/text/auto-hyphenation-nl-1.html
layout/reftests/text/auto-hyphenation-nn-1-ref.html
layout/reftests/text/auto-hyphenation-nn-1.html
layout/reftests/text/auto-hyphenation-pl-1.html
layout/reftests/text/auto-hyphenation-pt-1-ref.html
layout/reftests/text/auto-hyphenation-pt-1.html
layout/reftests/text/auto-hyphenation-ru-1-ref.html
layout/reftests/text/auto-hyphenation-ru-1.html
layout/reftests/text/auto-hyphenation-sh-1-ref.html
layout/reftests/text/auto-hyphenation-sh-1.html
layout/reftests/text/auto-hyphenation-sl-1-ref.html
layout/reftests/text/auto-hyphenation-sl-1.html
layout/reftests/text/auto-hyphenation-sr-1-ref.html
layout/reftests/text/auto-hyphenation-sr-1.html
layout/reftests/text/auto-hyphenation-sv-1-notref.html
layout/reftests/text/auto-hyphenation-sv-1-ref.html
layout/reftests/text/auto-hyphenation-sv-1.html
layout/reftests/text/auto-hyphenation-tr-1-ref.html
layout/reftests/text/auto-hyphenation-tr-1.html
layout/reftests/text/auto-hyphenation-transformed-1.html
layout/reftests/text/auto-hyphenation-uk-1-ref.html
layout/reftests/text/auto-hyphenation-uk-1.html
layout/reftests/text/auto-hyphenation-xmllang-1.xhtml
layout/reftests/text/auto-hyphenation-xmllang-10.xhtml
layout/reftests/text/auto-hyphenation-xmllang-11a.xhtml
layout/reftests/text/auto-hyphenation-xmllang-11b.xhtml
layout/reftests/text/auto-hyphenation-xmllang-12a.xhtml
layout/reftests/text/auto-hyphenation-xmllang-12b.xhtml
layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml
layout/reftests/text/auto-hyphenation-xmllang-13b.xhtml
layout/reftests/text/auto-hyphenation-xmllang-14a.xhtml
layout/reftests/text/auto-hyphenation-xmllang-14b.xhtml
layout/reftests/text/auto-hyphenation-xmllang-1a.xhtml
layout/reftests/text/auto-hyphenation-xmllang-2.xhtml
layout/reftests/text/auto-hyphenation-xmllang-3.xhtml
layout/reftests/text/auto-hyphenation-xmllang-4.xhtml
layout/reftests/text/auto-hyphenation-xmllang-5.xhtml
layout/reftests/text/auto-hyphenation-xmllang-6.xhtml
layout/reftests/text/auto-hyphenation-xmllang-7.xhtml
layout/reftests/text/auto-hyphenation-xmllang-8.xhtml
layout/reftests/text/auto-hyphenation-xmllang-9.xhtml
layout/reftests/text/reftest.list
--- a/layout/reftests/bugs/1127107-1a-nowrap.html
+++ b/layout/reftests/bugs/1127107-1a-nowrap.html
@@ -3,17 +3,16 @@
 <head>
   <style>
     div.test {
       /* Author expects this to prevent wrapping, and may add
          "overflow:hidden;text-overflow:ellipsis" for nice effect: */
       white-space: nowrap;
 
       /* BUT these (combined) seem to allow wrapping: */
-      -moz-hyphens: auto;
       -ms-hyphens: auto;
       -webkit-hyphens: auto;
       hyphens: auto;
       word-break: break-all;
 
       width: 200px;
       border: 1px solid black;
     }
--- a/layout/reftests/bugs/1127107-1b-pre.html
+++ b/layout/reftests/bugs/1127107-1b-pre.html
@@ -3,17 +3,16 @@
 <head>
   <style>
     div.test {
       /* Author expects this to prevent wrapping, and may add
          "overflow:hidden;text-overflow:ellipsis" for nice effect: */
       white-space: pre;
 
       /* BUT these (combined) seem to allow wrapping: */
-      -moz-hyphens: auto;
       -ms-hyphens: auto;
       -webkit-hyphens: auto;
       hyphens: auto;
       word-break: break-all;
 
       width: 200px;
       border: 1px solid black;
     }
--- a/layout/reftests/text/auto-hyphenation-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-1-ref.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <html>
 <body lang="en-us">
-<div style="width: 5em; -moz-hyphens: manual; font-family:sans-serif;">
+<div style="width: 5em; hyphens: manual; font-family:sans-serif;">
 su&shy;per&shy;cal&shy;ifrag&shy;ilis&shy;tic&shy;ex&shy;pi&shy;ali&shy;do&shy;cious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-1.html
+++ b/layout/reftests/text/auto-hyphenation-1.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html>
 <!-- simple test for automatic hyphenation -->
 <body lang="en-us">
-<div style="width: 5em; -moz-hyphens: auto; font-family:sans-serif;">
+<div style="width: 5em; hyphens: auto; font-family:sans-serif;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-10-ref.html
+++ b/layout/reftests/text/auto-hyphenation-10-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <meta charset="UTF-8">
 <!-- check that hyphenation is not applied when language is not specified -->
 <body>
-<div style="width: 5em; -moz-hyphens: none;">
+<div style="width: 5em; hyphens: none;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-10.html
+++ b/layout/reftests/text/auto-hyphenation-10.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <meta charset="UTF-8">
 <!-- check that hyphenation is not applied when language is not specified -->
 <body>
-<div style="width: 5em; -moz-hyphens: auto;">
+<div style="width: 5em; hyphens: auto;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-1a.html
+++ b/layout/reftests/text/auto-hyphenation-1a.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html>
 <!-- adding random <span>s should not affect hyphenation -->
 <body lang="en-us">
-<div style="width: 5em; -moz-hyphens: auto; font-family:sans-serif;">
+<div style="width: 5em; hyphens: auto; font-family:sans-serif;">
 super<span>cali</span>frag<span>ili</span>sti<span>cex</span>pialidoc<span>i</span>ous
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-2-ref.html
+++ b/layout/reftests/text/auto-hyphenation-2-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <body lang="en-us">
-<div style="width: 5em; -moz-hyphens: auto; font-family:sans-serif;">
+<div style="width: 5em; hyphens: auto; font-family:sans-serif;">
 supercalifragilisticexpialidocious
-<span style="-moz-hyphens:none">super<span lang="foo">cali</span>fragilisticexpialidocious</span>
+<span style="hyphens:none">super<span lang="foo">cali</span>fragilisticexpialidocious</span>
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-2.html
+++ b/layout/reftests/text/auto-hyphenation-2.html
@@ -1,12 +1,12 @@
 <!DOCTYPE html>
 <html>
 <!-- mixed languages in a word should inhibit automatic hyphenation -->
 <body lang="en-us">
-<div style="width: 5em; -moz-hyphens: auto; font-family:sans-serif;">
+<div style="width: 5em; hyphens: auto; font-family:sans-serif;">
 supercalifragilisticexpialidocious
 super<span lang="foo">cali</span>fragilisticexpialidocious
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-3.html
+++ b/layout/reftests/text/auto-hyphenation-3.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html>
-<!-- check that -moz-hyphens:none prevents break at &shy; -->
+<!-- check that hyphens:none prevents break at &shy; -->
 <body lang="en-us">
-<div style="width: 5em; -moz-hyphens: none;">
+<div style="width: 5em; hyphens: none;">
 su&shy;per&shy;cal&shy;ifrag&shy;ilis&shy;tic&shy;ex&shy;pi&shy;ali&shy;do&shy;cious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-4-ref.html
+++ b/layout/reftests/text/auto-hyphenation-4-ref.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <html>
 <body lang="x-unknown-language">
-<div style="width: 5em; -moz-hyphens: none;">
+<div style="width: 5em; hyphens: none;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-4.html
+++ b/layout/reftests/text/auto-hyphenation-4.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html>
 <!-- check that hyphenation is not applied to unknown language -->
 <body lang="x-unknown-language">
-<div style="width: 5em; -moz-hyphens: auto;">
+<div style="width: 5em; hyphens: auto;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-5-ref.html
+++ b/layout/reftests/text/auto-hyphenation-5-ref.html
@@ -1,17 +1,17 @@
 <!DOCTYPE html>
 <html>
 <head>
 <style type="text/css">
 div {
   margin:       10px;
   width:        10px;
   font-family:  monospace;
-  -moz-hyphens: manual;
+  hyphens: manual;
 }
 </style>
 </head>
 <!-- test some hyphenations that involve overlapping patterns -->
 <body lang="en-us">
 <div>
 photo
 </div>
--- a/layout/reftests/text/auto-hyphenation-5.html
+++ b/layout/reftests/text/auto-hyphenation-5.html
@@ -1,17 +1,17 @@
 <!DOCTYPE html>
 <html>
 <head>
 <style type="text/css">
 div {
   margin:       10px;
   width:        10px;
   font-family:  monospace;
-  -moz-hyphens: auto;
+  hyphens: auto;
 }
 </style>
 </head>
 <!-- test some hyphenations that involve overlapping patterns -->
 <body lang="en-us">
 <div>
 photo
 </div>
--- a/layout/reftests/text/auto-hyphenation-6-ref.html
+++ b/layout/reftests/text/auto-hyphenation-6-ref.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <html>
 <body lang="en-us">
-<div style="width: 0; -moz-hyphens: manual;">
+<div style="width: 0; hyphens: manual;">
 hy&shy;<span style="color:red">phen&shy;</span>ation
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-6.html
+++ b/layout/reftests/text/auto-hyphenation-6.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html>
 <!-- style changes don't break hyphenation -->
 <body lang="en-us">
-<div style="width: 0; -moz-hyphens: auto;">
+<div style="width: 0; hyphens: auto;">
 hy<span style="color:red">phen</span>ation
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-7-ref.html
+++ b/layout/reftests/text/auto-hyphenation-7-ref.html
@@ -1,9 +1,9 @@
 <!DOCTYPE html>
 <html>
 <body lang="en-us">
-<div style="width: 0; -moz-hyphens: manual;">
+<div style="width: 0; hyphens: manual;">
 h<span style="color:red">y&shy;phen&shy;a</span>tion
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-7.html
+++ b/layout/reftests/text/auto-hyphenation-7.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html>
 <!-- style changes don't break hyphenation -->
 <body lang="en-us">
-<div style="width: 0; -moz-hyphens: auto;">
+<div style="width: 0; hyphens: auto;">
 h<span style="color:red">yphena</span>tion
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-8-ref.html
+++ b/layout/reftests/text/auto-hyphenation-8-ref.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html>
 <!-- check that hyphenation is not applied when language is not specified -->
 <body>
-<div style="width: 5em; -moz-hyphens: none;">
+<div style="width: 5em; hyphens: none;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-8.html
+++ b/layout/reftests/text/auto-hyphenation-8.html
@@ -1,10 +1,10 @@
 <!DOCTYPE html>
 <html>
 <!-- check that hyphenation is not applied when language is not specified -->
 <body>
-<div style="width: 5em; -moz-hyphens: auto;">
+<div style="width: 5em; hyphens: auto;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-9-ref.html
+++ b/layout/reftests/text/auto-hyphenation-9-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <meta charset="iso-8859-1">
 <!-- check that hyphenation is not applied when language is not specified -->
 <body>
-<div style="width: 5em; -moz-hyphens: none;">
+<div style="width: 5em; hyphens: none;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-9.html
+++ b/layout/reftests/text/auto-hyphenation-9.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <meta charset="iso-8859-1">
 <!-- check that hyphenation is not applied when language is not specified -->
 <body>
-<div style="width: 5em; -moz-hyphens: auto;">
+<div style="width: 5em; hyphens: auto;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-af-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-af-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="af">
+<div style="width:1em; hyphens:manual;" lang="af">
 Al&shy;le mens&shy;li&shy;ke we&shy;sens word vry, met ge&shy;ly&shy;ke waar&shy;dig&shy;heid en reg&shy;te, ge&shy;bo&shy;re.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-af-1.html
+++ b/layout/reftests/text/auto-hyphenation-af-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="af">
+<div style="width:1em; hyphens:auto;" lang="af">
 Alle menslike wesens word vry, met gelyke waardigheid en regte, gebore.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-bg-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-bg-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="bg">
+<div style="width:1em; hyphens:manual;" lang="bg">
 Всич&shy;ки хо&shy;ра се раж&shy;дат сво&shy;бод&shy;ни и рав&shy;ни по дос&shy;тойн&shy;с&shy;т&shy;во и пра&shy;ва.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-bg-1.html
+++ b/layout/reftests/text/auto-hyphenation-bg-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="bg">
+<div style="width:1em; hyphens:auto;" lang="bg">
 Всички хора се раждат свободни и равни по достойнство и права.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-ca-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-ca-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="ca">
+<div style="width:1em; hyphens:manual;" lang="ca">
 Tots els és&shy;sers hu&shy;mans nei&shy;xen lliu&shy;res i iguals en dig&shy;ni&shy;tat i en drets.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-ca-1.html
+++ b/layout/reftests/text/auto-hyphenation-ca-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="ca">
+<div style="width:1em; hyphens:auto;" lang="ca">
 Tots els éssers humans neixen lliures i iguals en dignitat i en drets.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-cy-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-cy-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="cy">
+<div style="width:1em; hyphens:manual;" lang="cy">
 Gen&shy;ir pawb yn rhydd ac yn gyd&shy;radd â'i gil&shy;ydd mewn urdd&shy;as a hawl&shy;iau.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-cy-1.html
+++ b/layout/reftests/text/auto-hyphenation-cy-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="cy">
+<div style="width:1em; hyphens:auto;" lang="cy">
 Genir pawb yn rhydd ac yn gydradd â'i gilydd mewn urddas a hawliau.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-da-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-da-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="da">
+<div style="width:1em; hyphens:manual;" lang="da">
 Al&shy;le men&shy;ne&shy;sker er født frie og li&shy;ge i vær&shy;dig&shy;hed og ret&shy;tig&shy;he&shy;der.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-da-1.html
+++ b/layout/reftests/text/auto-hyphenation-da-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="da">
+<div style="width:1em; hyphens:auto;" lang="da">
 Alle mennesker er født frie og lige i værdighed og rettigheder.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-de-1901-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-de-1901-1-ref.html
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="de-1901">
+<div style="width:1em; hyphens:manual;" lang="de-1901">
 Al&shy;le Men&shy;schen sind frei und gleich an Wür&shy;de und Rech&shy;ten ge&shy;bo&shy;ren.
 <p>
 bu&shy;sser <!-- example word that is hyphenated differently by de-1901 and de-1996 -->
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-de-1901-1.html
+++ b/layout/reftests/text/auto-hyphenation-de-1901-1.html
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="de-1901">
+<div style="width:1em; hyphens:auto;" lang="de-1901">
 Alle Menschen sind frei und gleich an Würde und Rechten geboren.
 <p>
 busser <!-- example word that is hyphenated differently by de-1901 and de-1996 -->
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-de-1996-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-de-1996-1-ref.html
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="de-1996">
+<div style="width:1em; hyphens:manual;" lang="de-1996">
 Al&shy;le Men&shy;schen sind frei und gleich an Wür&shy;de und Rech&shy;ten ge&shy;bo&shy;ren.
 <p>
 bus&shy;ser <!-- example word that is hyphenated differently by de-1901 and de-1996 -->
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-de-1996-1.html
+++ b/layout/reftests/text/auto-hyphenation-de-1996-1.html
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="de-1996">
+<div style="width:1em; hyphens:auto;" lang="de-1996">
 Alle Menschen sind frei und gleich an Würde und Rechten geboren.
 <p>
 busser <!-- example word that is hyphenated differently by de-1901 and de-1996 -->
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-de-ch-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-de-ch-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="de-CH">
+<div style="width:1em; hyphens:manual;" lang="de-CH">
 Al&shy;le Men&shy;schen sind frei und gleich an Wür&shy;de und Rech&shy;ten ge&shy;bo&shy;ren.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-de-ch-1.html
+++ b/layout/reftests/text/auto-hyphenation-de-ch-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="de-CH">
+<div style="width:1em; hyphens:auto;" lang="de-CH">
 Alle Menschen sind frei und gleich an Würde und Rechten geboren.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-eo-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-eo-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="eo">
+<div style="width:1em; hyphens:manual;" lang="eo">
 Ĉiuj ho&shy;moj es&shy;tas de&shy;na&shy;s&shy;ke li&shy;be&shy;raj kaj ega&shy;laj laŭ di&shy;g&shy;no kaj raj&shy;toj.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-eo-1.html
+++ b/layout/reftests/text/auto-hyphenation-eo-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="eo">
+<div style="width:1em; hyphens:auto;" lang="eo">
 Ĉiuj homoj estas denaske liberaj kaj egalaj laŭ digno kaj rajtoj.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-es-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-es-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="es">
+<div style="width:1em; hyphens:manual;" lang="es">
 To&shy;dos los se&shy;res hu&shy;ma&shy;nos na&shy;cen li&shy;bres e igua&shy;les en dig&shy;ni&shy;dad y de&shy;re&shy;chos
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-es-1.html
+++ b/layout/reftests/text/auto-hyphenation-es-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="es">
+<div style="width:1em; hyphens:auto;" lang="es">
 Todos los seres humanos nacen libres e iguales en dignidad y derechos
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-et-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-et-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="et">
+<div style="width:1em; hyphens:manual;" lang="et">
 Kõik ini&shy;me&shy;sed sün&shy;nivad va&shy;ba&shy;de&shy;na ja võrds&shy;ete&shy;na oma vää&shy;ri&shy;ku&shy;selt ja õi&shy;gus&shy;telt
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-et-1.html
+++ b/layout/reftests/text/auto-hyphenation-et-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="et">
+<div style="width:1em; hyphens:auto;" lang="et">
 Kõik inimesed sünnivad vabadena ja võrdsetena oma väärikuselt ja õigustelt
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-fi-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-fi-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="fi">
+<div style="width:1em; hyphens:manual;" lang="fi">
 Kaik&shy;ki ih&shy;mi&shy;set syn&shy;ty&shy;vät va&shy;pai&shy;na ja ta&shy;sa&shy;ver&shy;tai&shy;si&shy;na ar&shy;vol&shy;taan ja oi&shy;keuk&shy;sil&shy;taan.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-fi-1.html
+++ b/layout/reftests/text/auto-hyphenation-fi-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="fi">
+<div style="width:1em; hyphens:auto;" lang="fi">
 Kaikki ihmiset syntyvät vapaina ja tasavertaisina arvoltaan ja oikeuksiltaan.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-fr-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-fr-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="fr">
+<div style="width:1em; hyphens:manual;" lang="fr">
 Tout in&shy;di&shy;vi&shy;du a droit à la vie, à la li&shy;ber&shy;té et à la sû&shy;re&shy;té de sa per&shy;sonne.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-fr-1.html
+++ b/layout/reftests/text/auto-hyphenation-fr-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="fr">
+<div style="width:1em; hyphens:auto;" lang="fr">
 Tout individu a droit à la vie, à la liberté et à la sûreté de sa personne.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-gl-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-gl-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="gl">
+<div style="width:1em; hyphens:manual;" lang="gl">
 Tó&shy;do&shy;los se&shy;res hu&shy;ma&shy;nos na&shy;cen li&shy;bres e iguais en dig&shy;ni&shy;da&shy;de e de&shy;rei&shy;tos
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-gl-1.html
+++ b/layout/reftests/text/auto-hyphenation-gl-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="gl">
+<div style="width:1em; hyphens:auto;" lang="gl">
 Tódolos seres humanos nacen libres e iguais en dignidade e dereitos
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-hr-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-hr-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="hr">
+<div style="width:1em; hyphens:manual;" lang="hr">
 Sva ljud&shy;ska bi&shy;ća ra&shy;ća&shy;ju se slo&shy;bod&shy;na i jed&shy;na&shy;ka u dos&shy;to&shy;jans&shy;tvu i pra&shy;vi&shy;ma
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-hr-1.html
+++ b/layout/reftests/text/auto-hyphenation-hr-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="hr">
+<div style="width:1em; hyphens:auto;" lang="hr">
 Sva ljudska bića raćaju se slobodna i jednaka u dostojanstvu i pravima
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-hsb-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-hsb-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="hsb">
+<div style="width:1em; hyphens:manual;" lang="hsb">
 Wšitcy čło&shy;wje&shy;ko&shy;jo su wot na&shy;ro&shy;da swo&shy;bod&shy;ni a su je&shy;na&shy;cy po do&shy;stoj&shy;nos&shy;ći a pra&shy;wach
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-hsb-1.html
+++ b/layout/reftests/text/auto-hyphenation-hsb-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="hsb">
+<div style="width:1em; hyphens:auto;" lang="hsb">
 Wšitcy čłowjekojo su wot naroda swobodni a su jenacy po dostojnosći a prawach
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-hu-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-hu-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="hu">
+<div style="width:1em; hyphens:manual;" lang="hu">
 Min&shy;den em&shy;be&shy;ri lény sza&shy;ba&shy;don szü&shy;le&shy;tik és egyen&shy;lő mél&shy;tó&shy;sá&shy;ga és jo&shy;ga van.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-hu-1.html
+++ b/layout/reftests/text/auto-hyphenation-hu-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="hu">
+<div style="width:1em; hyphens:auto;" lang="hu">
 Minden emberi lény szabadon születik és egyenlő méltósága és joga van.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-ia-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-ia-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="ia">
+<div style="width:1em; hyphens:manual;" lang="ia">
 To&shy;te le es&shy;se&shy;res hu&shy;man na&shy;sce li&shy;be&shy;re e equal in dig&shy;ni&shy;ta&shy;te e in de&shy;rec&shy;tos
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-ia-1.html
+++ b/layout/reftests/text/auto-hyphenation-ia-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="ia">
+<div style="width:1em; hyphens:auto;" lang="ia">
 Tote le esseres human nasce libere e equal in dignitate e in derectos
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-is-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-is-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="is">
+<div style="width:1em; hyphens:manual;" lang="is">
 Hver mað&shy;ur er bor&shy;inn frjáls og jafn öðr&shy;um að virð&shy;ingu og rétt&shy;ind&shy;um
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-is-1.html
+++ b/layout/reftests/text/auto-hyphenation-is-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="is">
+<div style="width:1em; hyphens:auto;" lang="is">
 Hver maður er borinn frjáls og jafn öðrum að virðingu og réttindum
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-it-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-it-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="it">
+<div style="width:1em; hyphens:manual;" lang="it">
 Tut&shy;ti gli es&shy;se&shy;ri uma&shy;ni na&shy;sco&shy;no li&shy;be&shy;ri ed egua&shy;li in di&shy;gni&shy;tà e di&shy;rit&shy;ti.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-it-1.html
+++ b/layout/reftests/text/auto-hyphenation-it-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="it">
+<div style="width:1em; hyphens:auto;" lang="it">
 Tutti gli esseri umani nascono liberi ed eguali in dignità e diritti.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-kmr-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-kmr-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="kmr">
+<div style="width:1em; hyphens:manual;" lang="kmr">
 He&shy;mû mi&shy;rov azad û di we&shy;qar û ma&shy;fan de we&shy;k&shy;hev tên din&shy;ya&shy;yê
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-kmr-1.html
+++ b/layout/reftests/text/auto-hyphenation-kmr-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="kmr">
+<div style="width:1em; hyphens:auto;" lang="kmr">
 Hemû mirov azad û di weqar û mafan de wekhev tên dinyayê
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-la-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-la-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="la">
+<div style="width:1em; hyphens:manual;" lang="la">
 Om&shy;nes ho&shy;mi&shy;nes di&shy;gni&shy;ta&shy;te et iu&shy;re li&shy;be&shy;ri et pa&shy;res na&shy;scun&shy;tur
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-la-1.html
+++ b/layout/reftests/text/auto-hyphenation-la-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="la">
+<div style="width:1em; hyphens:auto;" lang="la">
 Omnes homines dignitate et iure liberi et pares nascuntur
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-lt-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-lt-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="lt">
+<div style="width:1em; hyphens:manual;" lang="lt">
 Vi&shy;si žmo&shy;nės gims&shy;ta lais&shy;vi ir ly&shy;gūs sa&shy;vo oru&shy;mu ir tei&shy;sė&shy;mis.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-lt-1.html
+++ b/layout/reftests/text/auto-hyphenation-lt-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="lt">
+<div style="width:1em; hyphens:auto;" lang="lt">
 Visi žmonės gimsta laisvi ir lygūs savo orumu ir teisėmis.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-mn-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-mn-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="mn">
+<div style="width:1em; hyphens:manual;" lang="mn">
 Хүн бүр төрж мэнд&shy;лэ&shy;хэд эрх чө&shy;лөө&shy;тэй, адил&shy;хан нэр төр&shy;тэй, ижил эрх&shy;тэй бай&shy;даг
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-mn-1.html
+++ b/layout/reftests/text/auto-hyphenation-mn-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="mn">
+<div style="width:1em; hyphens:auto;" lang="mn">
 Хүн бүр төрж мэндлэхэд эрх чөлөөтэй, адилхан нэр төртэй, ижил эрхтэй байдаг
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-nb-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-nb-1-ref.html
@@ -1,15 +1,15 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="nb">
+<div style="width:1em; hyphens:manual;" lang="nb">
 Alle men&shy;nes&shy;ker er født frie og med sam&shy;me men&shy;neske&shy;verd og men&shy;neske&shy;ret&shy;tig&shy;he&shy;ter.
 <p>
 <!-- words that differ in nb/nn locales -->
 at&shy;ten&shy;de
 be&shy;tre
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-nb-1.html
+++ b/layout/reftests/text/auto-hyphenation-nb-1.html
@@ -1,15 +1,15 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="nb">
+<div style="width:1em; hyphens:auto;" lang="nb">
 Alle mennesker er født frie og med samme menneskeverd og menneskerettigheter.
 <p>
 <!-- words that differ in nb/nn locales -->
 attende
 betre
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-nl-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-nl-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="nl">
+<div style="width:1em; hyphens:manual;" lang="nl">
 Al&shy;le men&shy;sen wor&shy;den vrij en ge&shy;lijk in waar&shy;dig&shy;heid en rech&shy;ten ge&shy;bo&shy;ren
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-nl-1.html
+++ b/layout/reftests/text/auto-hyphenation-nl-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="nl">
+<div style="width:1em; hyphens:auto;" lang="nl">
 Alle mensen worden vrij en gelijk in waardigheid en rechten geboren
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-nn-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-nn-1-ref.html
@@ -1,15 +1,15 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="nn">
+<div style="width:1em; hyphens:manual;" lang="nn">
 Alle men&shy;nes&shy;ke er fød&shy;de til fri&shy;dom og med same men&shy;neske&shy;verd og men&shy;neske&shy;ret&shy;tar.
 <p>
 <!-- words that differ in nb/nn locales -->
 att&shy;en&shy;de
 bet&shy;re
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-nn-1.html
+++ b/layout/reftests/text/auto-hyphenation-nn-1.html
@@ -1,15 +1,15 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="nn">
+<div style="width:1em; hyphens:auto;" lang="nn">
 Alle menneske er fødde til fridom og med same menneskeverd og menneskerettar.
 <p>
 <!-- words that differ in nb/nn locales -->
 attende
 betre
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-pl-1.html
+++ b/layout/reftests/text/auto-hyphenation-pl-1.html
@@ -6,15 +6,15 @@
 <style>
 body {
   font-family: "Times New Roman", serif; /* prefer TNR to Times (default) on OS X... */
   font-feature-settings: 'kern' off;
 }
 </style>
 </head>
 <body>
-<div style="width:0pt; -moz-hyphens:auto">
+<div style="width:0pt; hyphens:auto">
 Unikod przypisuje unikalny numer każdemu znakowi,
 niezależny od używanej platformy,
 programu czy języka.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-pt-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-pt-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="pt">
+<div style="width:1em; hyphens:manual;" lang="pt">
 To&shy;dos os se&shy;res hu&shy;ma&shy;nos nas&shy;cem li&shy;vres e iguais em dig&shy;ni&shy;da&shy;de e em di&shy;rei&shy;tos
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-pt-1.html
+++ b/layout/reftests/text/auto-hyphenation-pt-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="pt">
+<div style="width:1em; hyphens:auto;" lang="pt">
 Todos os seres humanos nascem livres e iguais em dignidade e em direitos
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-ru-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-ru-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="ru">
+<div style="width:1em; hyphens:manual;" lang="ru">
 Все лю&shy;ди рож&shy;да&shy;ют&shy;ся сво&shy;бод&shy;ны&shy;ми и рав&shy;ны&shy;ми в сво&shy;ем до&shy;сто&shy;ин&shy;стве и пра&shy;вах.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-ru-1.html
+++ b/layout/reftests/text/auto-hyphenation-ru-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="ru">
+<div style="width:1em; hyphens:auto;" lang="ru">
 Все люди рождаются свободными и равными в своем достоинстве и правах.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-sh-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-sh-1-ref.html
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual; font-size:5px" lang="sh">
+<div style="width:1em; hyphens:manual; font-size:5px" lang="sh">
 Сва људ&shy;ска би&shy;ћа ра&shy;ђа&shy;ју се сло&shy;бод&shy;на и јед&shy;на&shy;ка у до&shy;сто&shy;јан&shy;ству и пра&shy;ви&shy;ма.
 <p>
 Sva ljud&shy;ska bi&shy;ća ra&shy;đa&shy;ju se slo&shy;bod&shy;na i jed&shy;na&shy;ka u do&shy;sto&shy;jan&shy;stvu i pra&shy;vi&shy;ma.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-sh-1.html
+++ b/layout/reftests/text/auto-hyphenation-sh-1.html
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto; font-size:5px" lang="sh">
+<div style="width:1em; hyphens:auto; font-size:5px" lang="sh">
 Сва људска бића рађају се слободна и једнака у достојанству и правима.
 <p>
 Sva ljudska bića rađaju se slobodna i jednaka u dostojanstvu i pravima.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-sl-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-sl-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="sl">
+<div style="width:1em; hyphens:manual;" lang="sl">
 Vsi lju&shy;dje se ro&shy;di&shy;jo svo&shy;bo&shy;dni in ima&shy;jo ena&shy;ko do&shy;sto&shy;jan&shy;stvo in ena&shy;ke pra&shy;vi&shy;ce
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-sl-1.html
+++ b/layout/reftests/text/auto-hyphenation-sl-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="sl">
+<div style="width:1em; hyphens:auto;" lang="sl">
 Vsi ljudje se rodijo svobodni in imajo enako dostojanstvo in enake pravice
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-sr-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-sr-1-ref.html
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual; font-size:5px" lang="sr">
+<div style="width:1em; hyphens:manual; font-size:5px" lang="sr">
 Сва људ&shy;ска би&shy;ћа ра&shy;ђа&shy;ју се сло&shy;бод&shy;на и јед&shy;на&shy;ка у до&shy;сто&shy;јан&shy;ству и пра&shy;ви&shy;ма.
 <p>
 Sva ljud&shy;ska bi&shy;ća ra&shy;đa&shy;ju se slo&shy;bod&shy;na i jed&shy;na&shy;ka u do&shy;sto&shy;jan&shy;stvu i pra&shy;vi&shy;ma.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-sr-1.html
+++ b/layout/reftests/text/auto-hyphenation-sr-1.html
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto; font-size:5px" lang="sr">
+<div style="width:1em; hyphens:auto; font-size:5px" lang="sr">
 Сва људска бића рађају се слободна и једнака у достојанству и правима.
 <p>
 Sva ljudska bića rađaju se slobodna i jednaka u dostojanstvu i pravima.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-sv-1-notref.html
+++ b/layout/reftests/text/auto-hyphenation-sv-1-notref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="en-US">
+<div style="width:1em; hyphens:auto;" lang="en-US">
 Alla människor äro födda fria och lika i värde och rättigheter
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-sv-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-sv-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="sv">
+<div style="width:1em; hyphens:manual;" lang="sv">
 Al&shy;la män&shy;ni&shy;skor äro föd&shy;da fria och li&shy;ka i vär&shy;de och rät&shy;tig&shy;he&shy;ter
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-sv-1.html
+++ b/layout/reftests/text/auto-hyphenation-sv-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="sv">
+<div style="width:1em; hyphens:auto;" lang="sv">
 Alla människor äro födda fria och lika i värde och rättigheter
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-tr-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-tr-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="tr">
+<div style="width:1em; hyphens:manual;" lang="tr">
 Bü&shy;tün in&shy;san&shy;lar hür, hay&shy;si&shy;yet ve hak&shy;lar ba&shy;kı&shy;mın&shy;dan eşit do&shy;ğar&shy;lar.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-tr-1.html
+++ b/layout/reftests/text/auto-hyphenation-tr-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="tr">
+<div style="width:1em; hyphens:auto;" lang="tr">
 Bütün insanlar hür, haysiyet ve haklar bakımından eşit doğarlar.
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-transformed-1.html
+++ b/layout/reftests/text/auto-hyphenation-transformed-1.html
@@ -1,18 +1,18 @@
 <!DOCTYPE html>
 <html lang="de">
 <head>
 <meta charset="utf-8">
 <title>Test for auto hyphenation with text-transform</title>
 </head>
 <body>
-<div style="width:0px; -moz-hyphens:auto">
+<div style="width:0px; hyphens:auto">
 masse<br>maße
 </div>
-<div style="width:0px; -moz-hyphens:auto; text-transform:uppercase">
+<div style="width:0px; hyphens:auto; text-transform:uppercase">
 masse<br>maße
 </div>
-<div style="width:0px; -moz-hyphens:auto; text-transform:capitalize">
+<div style="width:0px; hyphens:auto; text-transform:capitalize">
 masse<br>maße
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-uk-1-ref.html
+++ b/layout/reftests/text/auto-hyphenation-uk-1-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:manual;" lang="uk">
+<div style="width:1em; hyphens:manual;" lang="uk">
 Всі лю&shy;ди на&shy;ро&shy;джу&shy;ю&shy;ться віль&shy;ни&shy;ми і рів&shy;ни&shy;ми у сво&shy;їй гі&shy;дно&shy;сті та пра&shy;вах
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-uk-1.html
+++ b/layout/reftests/text/auto-hyphenation-uk-1.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 </head>
 <body>
-<div style="width:1em; -moz-hyphens:auto;" lang="uk">
+<div style="width:1em; hyphens:auto;" lang="uk">
 Всі люди народжуються вільними і рівними у своїй гідності та правах
 </div>
 </body>
 </html>
--- a/layout/reftests/text/auto-hyphenation-xmllang-1.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-1.xhtml
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- simple test for automatic hyphenation -->
 <body xml:lang="en-us">
-<div style="width: 5em; -moz-hyphens: auto; font-family:sans-serif;">
+<div style="width: 5em; hyphens: auto; font-family:sans-serif;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-10.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-10.xhtml
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- check that hyphenation is not applied when language is not specified -->
 <body>
-<div style="width: 5em; -moz-hyphens: auto;">
+<div style="width: 5em; hyphens: auto;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-11a.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-11a.xhtml
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- check that xml:lang beats lang -->
 <body xml:lang="en-us" lang="x-unknown-language">
-<div style="width: 5em; -moz-hyphens: auto; font-family:sans-serif;">
+<div style="width: 5em; hyphens: auto; font-family:sans-serif;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-11b.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-11b.xhtml
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- check that xml:lang beats lang -->
 <body lang="x-unknown-language" xml:lang="en-us">
-<div style="width: 5em; -moz-hyphens: auto; font-family:sans-serif;">
+<div style="width: 5em; hyphens: auto; font-family:sans-serif;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-12a.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-12a.xhtml
@@ -1,12 +1,12 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- check that xml:lang beats lang -->
 <!-- check that hyphenation is not applied to unknown language -->
 <body xml:lang="x-unknown-language" lang="en-us">
-<div style="width: 5em; -moz-hyphens: auto;">
+<div style="width: 5em; hyphens: auto;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-12b.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-12b.xhtml
@@ -1,12 +1,12 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- check that xml:lang beats lang -->
 <!-- check that hyphenation is not applied to unknown language -->
 <body lang="en-us" xml:lang="x-unknown-language">
-<div style="width: 5em; -moz-hyphens: auto;">
+<div style="width: 5em; hyphens: auto;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- check that innermost beats xml:lang vs. lang difference -->
 <body lang="x-unknown-language">
 <div xml:lang="en-us">
-<div style="width: 5em; -moz-hyphens: auto; font-family:sans-serif;">
+<div style="width: 5em; hyphens: auto; font-family:sans-serif;">
 supercalifragilisticexpialidocious
 </div>
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-13b.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-13b.xhtml
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- check that innermost beats xml:lang vs. lang difference -->
 <body xml:lang="x-unknown-language">
 <div lang="en-us">
-<div style="width: 5em; -moz-hyphens: auto; font-family:sans-serif;">
+<div style="width: 5em; hyphens: auto; font-family:sans-serif;">
 supercalifragilisticexpialidocious
 </div>
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-14a.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-14a.xhtml
@@ -1,14 +1,14 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- check that innermost beats xml:lang vs. lang difference -->
 <!-- check that hyphenation is not applied to unknown language -->
 <body lang="en-us">
 <div xml:lang="x-unknown-language">
-<div style="width: 5em; -moz-hyphens: auto;">
+<div style="width: 5em; hyphens: auto;">
 supercalifragilisticexpialidocious
 </div>
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-14b.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-14b.xhtml
@@ -1,14 +1,14 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- check that innermost beats xml:lang vs. lang difference -->
 <!-- check that hyphenation is not applied to unknown language -->
 <body xml:lang="en-us">
 <div lang="x-unknown-language">
-<div style="width: 5em; -moz-hyphens: auto;">
+<div style="width: 5em; hyphens: auto;">
 supercalifragilisticexpialidocious
 </div>
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-1a.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-1a.xhtml
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- adding random <span>s should not affect hyphenation -->
 <body xml:lang="en-us">
-<div style="width: 5em; -moz-hyphens: auto; font-family:sans-serif;">
+<div style="width: 5em; hyphens: auto; font-family:sans-serif;">
 super<span>cali</span>frag<span>ili</span>sti<span>cex</span>pialidoc<span>i</span>ous
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-2.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-2.xhtml
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- mixed languages in a word should inhibit automatic hyphenation -->
 <body xml:lang="en-us">
-<div style="width: 5em; -moz-hyphens: auto; font-family:sans-serif;">
+<div style="width: 5em; hyphens: auto; font-family:sans-serif;">
 supercalifragilisticexpialidocious
 super<span xml:lang="foo">cali</span>fragilisticexpialidocious
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-3.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-3.xhtml
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
-<!-- check that -moz-hyphens:none prevents break at &shy; -->
+<!-- check that hyphens:none prevents break at &shy; -->
 <body xml:lang="en-us">
-<div style="width: 5em; -moz-hyphens: none;">
+<div style="width: 5em; hyphens: none;">
 su&#173;per&#173;cal&#173;ifrag&#173;ilis&#173;tic&#173;ex&#173;pi&#173;ali&#173;do&#173;cious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-4.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-4.xhtml
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- check that hyphenation is not applied to unknown language -->
 <body xml:lang="x-unknown-language">
-<div style="width: 5em; -moz-hyphens: auto;">
+<div style="width: 5em; hyphens: auto;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-5.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-5.xhtml
@@ -1,17 +1,17 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <style type="text/css">
 div {
   margin:       10px;
   width:        10px;
   font-family:  monospace;
-  -moz-hyphens: auto;
+  hyphens: auto;
 }
 </style>
 </head>
 <!-- test some hyphenations that involve overlapping patterns -->
 <body xml:lang="en-us">
 <div>
 photo
 </div>
--- a/layout/reftests/text/auto-hyphenation-xmllang-6.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-6.xhtml
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- style changes don't break hyphenation -->
 <body xml:lang="en-us">
-<div style="width: 0; -moz-hyphens: auto;">
+<div style="width: 0; hyphens: auto;">
 hy<span style="color:red">phen</span>ation
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-7.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-7.xhtml
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- style changes don't break hyphenation -->
 <body xml:lang="en-us">
-<div style="width: 0; -moz-hyphens: auto;">
+<div style="width: 0; hyphens: auto;">
 h<span style="color:red">yphena</span>tion
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-8.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-8.xhtml
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- check that hyphenation is not applied when language is not specified -->
 <body>
-<div style="width: 5em; -moz-hyphens: auto;">
+<div style="width: 5em; hyphens: auto;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/auto-hyphenation-xmllang-9.xhtml
+++ b/layout/reftests/text/auto-hyphenation-xmllang-9.xhtml
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="iso-8859-1" ?>
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Hyphenation test</title></head>
 <!-- check that hyphenation is not applied when language is not specified -->
 <body>
-<div style="width: 5em; -moz-hyphens: auto;">
+<div style="width: 5em; hyphens: auto;">
 supercalifragilisticexpialidocious
 </div>
 </body>
 </html>
 
--- a/layout/reftests/text/reftest.list
+++ b/layout/reftests/text/reftest.list
@@ -219,17 +219,17 @@ HTTP(..) == graphite-05-lang.html graphi
 HTTP(..) == graphite-05-badlang.html graphite-05-ref.html
 HTTP(..) == graphite-05-feat.html graphite-05-ref.html
 
 # comparing composed and decomposed characters that should render identically
 # under both OpenType and Graphite shaping
 pref(gfx.font_rendering.graphite.enabled,false) HTTP(..) == glyph-decomposition-opentype.html glyph-decomposition-opentype-ref.html
 pref(gfx.font_rendering.graphite.enabled,true) HTTP(..) == glyph-decomposition-graphite.html glyph-decomposition-graphite-ref.html
 
-# Tests for hyphenation with -moz-hyphens
+# Tests for hyphenation with hyphens property
 == auto-hyphenation-1.html auto-hyphenation-1-ref.html
 != auto-hyphenation-1.html auto-hyphenation-1-notref.html
 == auto-hyphenation-1a.html auto-hyphenation-1-ref.html
 == auto-hyphenation-2.html auto-hyphenation-2-ref.html
 == auto-hyphenation-3.html auto-hyphenation-3-ref.html
 == auto-hyphenation-4.html auto-hyphenation-4-ref.html
 == auto-hyphenation-5.html auto-hyphenation-5-ref.html
 == auto-hyphenation-6.html auto-hyphenation-6-ref.html