import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo

This commit is contained in:
Roy Tam 2018-01-19 03:59:58 +08:00
commit dcd9973243
150858 changed files with 23884658 additions and 0 deletions

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Example</title>
<link href="locnote1htmlrules.xml" rel="its-rules"/>
</head>
<body>
<span id="DisableInfo">The {0} has been disabled.</span>
</body>
</html>

View file

@ -0,0 +1,7 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:locNoteRule locNoteType="alert" selector="//h:span[@id='DisableInfo']">
<its:locNote>
The variable {0} has three possible values: 'printer', 'stacker' and 'stapler options'.
</its:locNote>
</its:locNoteRule>
</its:rules>

View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Example</title>
<link href="locnote2htmlrules.xml" rel="its-rules"/>
</head>
<body>
<section id="FileNotFound">
<h2>FileNotFound</h2>
<p>
Indicates that the resource file {0} could not be loaded.
</p>
<span>Cannot find the file {0}.</span>
</section>
<section id="DivByZero">
<h2>FileNotFound</h2>
<p>A division by 0 was going to be computed.</p>
<span>Invalid parameter.</span>
</section>
</body>
</html>

View file

@ -0,0 +1,4 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:translateRule selector="//h:section/h:p" translate="no"/>
<its:locNoteRule locNoteType="description" selector="//h:section/h:span" locNotePointer="../h:p"/>
</its:rules>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>EXAMPLE</title>
<link href="locnote3htmlrules.xml" rel="its-rules"/>
</head>
<body>
<span id="NotFound">Cannot find {0} on {1}.</span>
</body>
</html>

View file

@ -0,0 +1,3 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:locNoteRule locNoteType="description" selector="//h:span[@id='NotFound']" locNoteRef="ErrorsInfo.html/#NotFound"/>
</its:rules>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>EXAMPLE</title>
<link href="locnote4htmlrules.xml" rel="its-rules"/>
</head>
<body>
<p id="FileNotFound" title="Comments.html#FileNotFound">
<span>Cannot find the file {0}.</span>
</p>
<p id="DivByZero" title="Comments.html#DivByZero">
<span>Invalid parameter.</span>
</p>
</body>
</html>

View file

@ -0,0 +1,3 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:locNoteRule locNoteType="description" selector="//h:body/h:p/h:span" locNoteRefPointer="../@title"/>
</its:rules>

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<link href="locnote5htmlrules.xml" rel="its-rules"/>
<title>EXAMPLE</title>
</head>
<body>
<p id="1">
This is a hippoptamus:
<img src="hippo.png" alt="Hippo in the Chobe River"/>
.
</p>
<p id="2">
This is an elephant:
<img src="elephants.png" alt="Elephants taking a mud bath"/>
.
</p>
<p id="DisableInfo">The {0} has been disabled.</p>
</body>
</html>

View file

@ -0,0 +1,15 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:locNoteRule selector="//h:p[@id='1']/h:img/@alt" locNoteType="alert">
<its:locNote>Do not translate the word "Chobe"</its:locNote>
</its:locNoteRule>
<its:locNoteRule selector="//h:p[@id='2']/h:img/@alt" locNoteType="description">
<its:locNote>This text will be displayed over the image.</its:locNote>
</its:locNoteRule>
<its:locNoteRule locNoteType="alert" selector="//h:p[@id='DisableInfo']">
<its:locNote>
The variable
{0}
has three possible values: 'printer', 'stacker' and 'stapler options'.
</its:locNote>
</its:locNoteRule>
</its:rules>

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>EXAMPLE</title>
<link href="locnote6htmlrules.xml" rel="its-rules"/>
</head>
<body>
<span id="1">
This is a hippoptamus:
<img src="hippo.png" alt="Hippo in the Chobe River"/>
.
</span>
<span id="2">
This is an elephant:
<img src="elephants.png" alt="Elephants taking a mud bath"/>
.
</span>
<span id="DisableInfo">The {0} has been disabled.</span>
</body>
</html>

View file

@ -0,0 +1,15 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:locNoteRule selector="//@alt" locNoteType="description">
<its:locNote>This text will be displayed over the image.</its:locNote>
</its:locNoteRule>
<its:locNoteRule selector="//h:span[@id='1']/h:img/@alt" locNoteType="alert">
<its:locNote>Do not translate the word "Chobe"</its:locNote>
</its:locNoteRule>
<its:locNoteRule locNoteType="alert" selector="//h:span[@id='DisableInfo']">
<its:locNote>
The variable
{0}
has three possible values: 'printer', 'stacker' and 'stapler options'.
</its:locNote>
</its:locNoteRule>
</its:rules>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8>
<title>LocNote test: Default</title>
</head>
<body>
<p>This is a <span its-loc-note="Check with terminology engineer" its-loc-note-type="ALERT">motherboard</span>.</p>
</body>
</html>

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>EXAMPLE</title>
<link href="locnote8htmlrules.xml" rel="its-rules"/>
</head>
<body>
<span id="1">
This is a hippoptamus:
<img src="hippo.png" alt="Hippo in the Chobe River"/>
.
</span>
<span id="2">
This is an elephant:
<img src="elephants.png" alt="Elephants taking a mud bath"/>
.
</span>
<span id="DisableInfo">The {0} has been disabled.</span>
</body>
</html>

View file

@ -0,0 +1,16 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="spanIdParam">DisableInfo</its:param>
<its:locNoteRule selector="//@alt" locNoteType="description">
<its:locNote>This text will be displayed over the image.</its:locNote>
</its:locNoteRule>
<its:locNoteRule selector="//h:span[@id='1']/h:img/@alt" locNoteType="alert">
<its:locNote>Do not translate the word "Chobe"</its:locNote>
</its:locNoteRule>
<its:locNoteRule locNoteType="alert" selector="//h:span[@id=$spanIdParam]">
<its:locNote>
The variable
{0}
has three possible values: 'printer', 'stacker' and 'stapler options'.
</its:locNote>
</its:locNoteRule>
</its:rules>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang=en>
<head>
<script type="application/its+xml">
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="locnoteparam">DisableInfo</its:param>
<its:locNoteRule locNoteType="alert" selector="//h:p[@id=$locnoteparam]">
<its:locNote>The variable {0} has three possible values: 'printer',
'stacker' and 'stapler options'.</its:locNote>
</its:locNoteRule>
</its:rules>
</script>
<meta charset=utf-8>
<title>Example</title>
</head>
<body>
<p id="DisableInfo">The {0} has been disabled.</p>
</body>
</html>