[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

bdakin at apple.com bdakin at apple.com
Wed Dec 22 12:16:11 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit e26397b2a7187a9d27da32d8e1e3e180d2c16a78
Author: bdakin at apple.com <bdakin at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Aug 18 00:41:35 2010 +0000

    Adding a MathML Demo and screenshot.
    
    Rubber-stamped by Adele.
    
    * blog-files/riemann-screenshot.png: Added.
    * demos/mathml: Added.
    * demos/mathml/MathMLDemo.xhtml: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65576 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKitSite/ChangeLog b/WebKitSite/ChangeLog
index aa03500..81f7e4a 100644
--- a/WebKitSite/ChangeLog
+++ b/WebKitSite/ChangeLog
@@ -1,3 +1,13 @@
+2010-08-17  Beth Dakin  <bdakin at apple.com>
+
+        Rubber-stamped by Adele.
+
+        Adding a MathML Demo and screenshot.
+
+        * blog-files/riemann-screenshot.png: Added.
+        * demos/mathml: Added.
+        * demos/mathml/MathMLDemo.xhtml: Added.
+
 2010-08-17  Adam Roben  <aroben at apple.com>
 
         Instruct developers to (optionally) install Debugging Tools for
diff --git a/WebKitSite/blog-files/riemann-screenshot.png b/WebKitSite/blog-files/riemann-screenshot.png
new file mode 100644
index 0000000..279cdea
Binary files /dev/null and b/WebKitSite/blog-files/riemann-screenshot.png differ
diff --git a/WebKitSite/demos/mathml/MathMLDemo.xhtml b/WebKitSite/demos/mathml/MathMLDemo.xhtml
new file mode 100644
index 0000000..622f613
--- /dev/null
+++ b/WebKitSite/demos/mathml/MathMLDemo.xhtml
@@ -0,0 +1,281 @@
+<html xmlns='http://www.w3.org/1999/xhtml'>
+<head>
+<title>WebKit MathML Demo</title>
+<style>
+h2 {
+    color:purple;
+    text-align:center;
+}
+
+p {
+    text-align:center;
+}
+
+p.float {
+
+}
+</style>
+</head>
+<body>
+
+<div>
+<h2>Riemann's Zeta Function</h2>
+<p>
+<math xmlns='http://www.w3.org/1998/Math/MathML'>
+    <mi>ζ</mi>
+    <mo stretchy="false">(</mo>
+    <mi>n</mi>
+    <mo stretchy="false">)</mo>
+    <mo>=</mo>
+    <mrow>
+    <munderover>
+        <mo mathsize='big'>&#x2211;</mo>
+        <mrow><mi>k</mi><mo>=</mo><mi>1</mi></mrow>
+        <mrow><mi>∞</mi></mrow>
+    </munderover>
+    </mrow>
+    <mrow>
+    <mfrac>
+        <mn>1</mn>
+        <msup><mi>k</mi><mi>n</mi></msup>
+    </mfrac>
+    </mrow>
+</math>
+</p>
+</div>
+
+<div>
+<h2>Fundamental Theorem of Calculus for Ordinary Integrals</h2>
+<p>
+<math xmlns='http://www.w3.org/1998/Math/MathML'>
+      <mrow>
+        <msubsup>
+          <mo maxsize="1">&#x222B;</mo>
+          <mrow>
+            <mi>x</mi>
+            <mo>=</mo>
+            <mi>a</mi>
+          </mrow>
+          <mi>y</mi>
+        </msubsup>
+        <mrow>
+          <mfrac>
+            <mrow>
+              <mi>d</mi>
+              <mi>f</mi>
+              <mo stretchy="false">(</mo>
+              <mi>x</mi>
+              <mo stretchy="false">)</mo>
+            </mrow>
+            <mrow>
+              <mi>d</mi>
+              <mi>x</mi>
+            </mrow>
+          </mfrac>
+          <mi>d</mi>
+          <mi>x</mi>
+        </mrow>
+      </mrow>
+      <mo>=</mo>
+      <mi>f</mi>
+      <mo stretchy="false">(</mo>
+      <mi>y</mi>
+      <mo stretchy="false">)</mo>
+      <mo>&#x2212;</mo>
+      <mi>f</mi>
+      <mo stretchy="false">(</mo>
+      <mi>a</mi>
+      <mo stretchy="false">)</mo>
+</math>
+<br/><br/>
+<a href="http://math.mit.edu/classes/18.013A/MathML/chapter21/section01.xhtml">source</a>
+</p>
+</div>
+
+<div>
+<h2>The Area Under a Curve</h2>
+<p>
+<math xmlns='http://www.w3.org/1998/Math/MathML'>
+    <mrow>
+      <mrow>
+        <msubsup>
+          <mo maxsize="1">&#x222B;</mo>
+          <mrow>
+            <mi>x</mi>
+            <mo>=</mo>
+            <mi>a</mi>
+          </mrow>
+          <mrow>
+            <mi>x</mi>
+            <mo>=</mo>
+            <mi>b</mi>
+          </mrow>
+        </msubsup>
+        <mrow>
+          <mi>f</mi>
+          <mo stretchy="false">(</mo>
+          <mi>x</mi>
+          <mo stretchy="false">)</mo>
+          <mi>d</mi>
+          <mi>x</mi>
+        </mrow>
+      </mrow>
+    </mrow>
+</math>
+<br/><br/>
+<a href="http://math.mit.edu/classes/18.013A/MathML/chapter20/section01.xhtml">source</a>
+</p>
+</div>
+
+<div>
+<h2>De Moivre's Theorem</h2>
+<p>
+<math xmlns='http://www.w3.org/1998/Math/MathML'>
+<mrow>
+      <msup>
+        <mi>e</mi>
+        <mrow>
+            <mi>i</mi>
+            <mi>&#x03B8; </mi>
+        </mrow>
+      </msup>
+      <mo>=</mo>
+      <mi> cos</mi>
+      <mo>&#x2061;</mo>
+      <mi>&#x03B8; </mi>
+      <mo>+</mo>
+      <mi> i </mi>
+      <mi>sin</mi>
+      <mo>&#x2061;</mo>
+      <mi>&#x03B8;</mi>
+    </mrow>
+</math>
+<br/><br/>
+<a href="http://en.wikipedia.org/wiki/De_Moivre's_formula">source</a>
+</p>
+</div>
+
+<div>
+<h2>Math in Normal Flow</h2>
+<p class="float">
+I am a paragraph of text <math xmlns='http://www.w3.org/1998/Math/MathML'><mi>x</mi><mo>+</mo><mn>1</mn></math> with math inline.
+</p>
+</div>
+<div>
+<h2>Fractions</h2>
+<p class="float"> 
+<math xmlns='http://www.w3.org/1998/Math/MathML'><mfrac><mrow><mi>x</mi><mo>+</mo><mn>1</mn></mrow><mn>2</mn></mfrac></math>
+</p>
+<p class="float">
+<math xmlns='http://www.w3.org/1998/Math/MathML'><mi>x</mi><mo>+</mo><mfrac><mrow><mi>x</mi><mo>+</mo><mn>1</mn></mrow><mn>2</mn></mfrac></math>
+</p>
+<p class="float">
+<math xmlns='http://www.w3.org/1998/Math/MathML'>
+<mfrac>
+<mi>B</mi>
+<mi>C</mi>
+</mfrac><mo> + </mo>
+<mfrac>
+<mrow><mi>B</mi><mo> + </mo>
+<mfrac>
+<mi>D</mi>
+<mi>E</mi>
+</mfrac></mrow>
+<mi>C</mi>
+</mfrac><mo> + </mo>
+<mfrac>
+<mrow><mi>B</mi><mo> + </mo>
+<mfrac>
+<mrow><mi>D</mi><mo> + </mo>
+<mfrac>
+<mi>F</mi>
+<mi>G</mi>
+</mfrac></mrow>
+<mi>E</mi>
+</mfrac></mrow>
+<mi>C</mi>
+</mfrac><mo> + </mo>
+<mfrac>
+<mi>B</mi>
+<mrow><mi>C</mi><mo> + </mo>
+<mfrac>
+<mi>D</mi>
+<mrow><mi>E</mi><mo> + </mo>
+<mfrac>
+<mi>F</mi>
+<mi>G</mi>
+</mfrac></mrow>
+</mfrac></mrow>
+</mfrac>
+</math>
+</p>
+</div>
+<div>
+<h2>Operator Stretching</h2>
+<p class="float">
+<math xmlns='http://www.w3.org/1998/Math/MathML'><mo>(</mo><mi>x</mi><mo>+</mo><mfrac><mrow><mi>x</mi><mo>+</mo><mn>1</mn></mrow><mn>2</mn></mfrac><mo>)</mo></math>
+</p>
+<p class="float">
+<math xmlns='http://www.w3.org/1998/Math/MathML'>
+<mi>y</mi>
+<mo>(</mo>
+<munder>
+<mi>&#x220f;</mi>
+<mi>x</mi>
+</munder>
+<mfrac>
+<mrow><mi>x</mi><mo>+</mo>
+      <mfrac><mrow><mi>x</mi><mo>+</mo><mn>1</mn></mrow><mn>2</mn></mfrac>
+</mrow>
+<mrow><mi>x</mi><mo>+</mo>
+      <mfrac><mrow><mi>x</mi><mo>+</mo><mn>1</mn></mrow><mn>2</mn></mfrac>
+</mrow>
+</mfrac>
+<mo>)</mo>
+</math>
+</p>
+<p class="float">
+<math xmlns='http://www.w3.org/1998/Math/MathML'>
+<mo>[</mo>
+<mtable>
+<mtr>
+<mtd><msub><mi>a</mi><mn>11</mn></msub></mtd>
+<mtd><msub><mi>a</mi><mn>12</mn></msub></mtd>
+<mtd><msub><mi>a</mi><mn>13</mn></msub></mtd>
+</mtr>
+<mtr>
+<mtd><msub><mi>b</mi><mn>21</mn></msub></mtd>
+<mtd><msub><mi>b</mi><mn>22</mn></msub></mtd>
+<mtd><msub><mi>b</mi><mn>23</mn></msub></mtd>
+</mtr>
+<mtr>
+<mtd><msub><mi>c</mi><mn>31</mn></msub></mtd>
+<mtd><msub><mi>c</mi><mn>32</mn></msub></mtd>
+<mtd><msub><mi>c</mi><mn>33</mn></msub></mtd>
+</mtr>
+</mtable>
+<mo>]</mo>
+</math>
+</p>
+</div>
+<div>
+<h2>Square Roots</h2>
+<p class="float">
+<math xmlns='http://www.w3.org/1998/Math/MathML'>
+<msqrt><mrow><mi>x</mi><mo>+</mo><mn>1</mn></mrow></msqrt>
+</math>
+</p>
+<p class="float">
+<math xmlns='http://www.w3.org/1998/Math/MathML'>
+<msqrt>
+<mfrac>
+<mrow><mi>x</mi><mo>+</mo><mn>1</mn></mrow>
+<mrow><mi>x</mi><mo>+</mo><mn>2</mn></mrow>
+</mfrac>
+</msqrt>
+</math>
+</p>
+</div>
+
+</body>
+</html>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list