[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
commit-queue at webkit.org
commit-queue at webkit.org
Wed Dec 22 11:46:00 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 5959a396e9551cb8128b193aa903735ad2000234
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Aug 6 04:11:02 2010 +0000
2010-08-05 François Sausset <sausset at gmail.com>
Reviewed by Kenneth Rohde Christiansen.
Make STIX font the default one to render MathML
https://bugs.webkit.org/show_bug.cgi?id=41961
* css/mathml.css:
(math):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 4b4dd29..789d4ab 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2010-08-05 François Sausset <sausset at gmail.com>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Make STIX font the default one to render MathML
+ https://bugs.webkit.org/show_bug.cgi?id=41961
+
+ * css/mathml.css:
+ (math):
+
2010-08-05 Cosmin Truta <ctruta at chromium.org>
Reviewed by Eric Seidel.
diff --git a/WebCore/css/mathml.css b/WebCore/css/mathml.css
index 6929314..fd125c0 100644
--- a/WebCore/css/mathml.css
+++ b/WebCore/css/mathml.css
@@ -1,7 +1,7 @@
@namespace "http://www.w3.org/1998/Math/MathML";
math {
- font-family: Symbol, "Times New Roman";
+ font-family: STIXGeneral, Symbol, "Times New Roman", sans-serif;
display: inline-block;
padding: 0px;
margin: 0px;
@@ -173,9 +173,11 @@ mtable {
text-align: center;
vertical-align: -40%;
}
+
mtr {
display: table-row;
}
+
mtd {
display: table-cell;
padding: 0 0.5ex;
@@ -188,33 +190,43 @@ mtable[columnalign="left"], mtr[columnalign="left"], mtd[columnalign="left"] {
mtable[columnalign="right"], mtr[columnalign="right"], mtd[columnalign="right"] {
text-align: right;
}
+
mtable[rowalign="top"] mtd, mtable mtr[rowalign="top"] mtd, mtable mtr mtd[rowalign="top"] {
vertical-align: top;
}
+
mtable[rowalign="bottom"] mtd, mtable mtr[rowalign="bottom"] mtd, mtable mtr mtd[rowalign="bottom"] {
vertical-align: bottom;
}
+
mtable[rowalign="center"] mtd, mtable mtr[rowalign="center"] mtd, mtable mtr mtd[rowalign="center"] {
vertical-align: middle;
}
+
mtable[frame="solid"] {
border: solid thin;
}
+
mtable[frame="dashed"] {
border: dashed thin;
}
+
mtable[rowlines="solid"], mtable[rowlines="dashed"], mtable[columnlines="solid"], mtable[columnlines="dashed"] {
border-collapse: collapse;
}
+
mtable[rowlines="solid"] > mtr + mtr {
border-top: solid thin;
}
+
mtable[rowlines="dashed"] > mtr + mtr {
border-top: dashed thin;
}
+
mtable[columnlines="solid"] > mtr > mtd + mtd {
border-left: solid thin;
}
+
mtable[columnlines="dashed"] > mtr > mtd + mtd {
border-left: dashed thin;
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list