mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1187673 - Reset CSS spacing properties on the <math> element. r=jkitch
This commit is contained in:
parent
62839f34fc
commit
9ab0ed5490
@ -21,6 +21,9 @@ math {
|
||||
font-size: inherit;
|
||||
font-style: normal;
|
||||
font-family: serif;
|
||||
line-height: normal;
|
||||
word-spacing: normal;
|
||||
letter-spacing: normal;
|
||||
text-rendering: optimizeLegibility;
|
||||
-moz-float-edge: margin-box;
|
||||
-moz-math-display: inline;
|
||||
|
36
layout/reftests/mathml/css-spacing-1-ref.html
Normal file
36
layout/reftests/mathml/css-spacing-1-ref.html
Normal file
@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS spacing properties</title>
|
||||
<style type="text/css">
|
||||
math {
|
||||
line-height: normal;
|
||||
word-spacing: normal;
|
||||
letter-spacing: normal;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p style="line-height: 30pt;
|
||||
word-spacing: 2em;
|
||||
letter-spacing: 2em;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
|
||||
<mrow>
|
||||
<mo>(</mo>
|
||||
<mtable rowspacing="0pt" columnspacing="0em">
|
||||
<mtr>
|
||||
<mtd><mtext>row 1 column 1</mtext></mtd>
|
||||
<mtd><mtext>row 1 column 2</mtext></mtd>
|
||||
</mtr>
|
||||
<mtr>
|
||||
<mtd><mtext>row 2 column 1</mtext></mtd>
|
||||
<mtd><mtext>row 2 column 2</mtext></mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
<mo>)</mo>
|
||||
</mrow>
|
||||
</math>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
29
layout/reftests/mathml/css-spacing-1.html
Normal file
29
layout/reftests/mathml/css-spacing-1.html
Normal file
@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS spacing properties</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p style="line-height: 30pt;
|
||||
word-spacing: 2em;
|
||||
letter-spacing: 2em;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
|
||||
<mrow>
|
||||
<mo>(</mo>
|
||||
<mtable rowspacing="0pt" columnspacing="0em">
|
||||
<mtr>
|
||||
<mtd><mtext>row 1 column 1</mtext></mtd>
|
||||
<mtd><mtext>row 1 column 2</mtext></mtd>
|
||||
</mtr>
|
||||
<mtr>
|
||||
<mtd><mtext>row 2 column 1</mtext></mtd>
|
||||
<mtd><mtext>row 2 column 2</mtext></mtd>
|
||||
</mtr>
|
||||
</mtable>
|
||||
<mo>)</mo>
|
||||
</mrow>
|
||||
</math>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
@ -10,6 +10,7 @@ fails == dir-8.html dir-8-ref.html
|
||||
fails == dir-9.html dir-9-ref.html # Bug 787215
|
||||
== dir-10.html dir-10-ref.html
|
||||
random-if((B2G&&browserIsRemote)||Mulet) == dir-11.html dir-11-ref.html # Initial mulet triage: parity with B2G/B2G Desktop
|
||||
== css-spacing-1.html css-spacing-1-ref.html
|
||||
== displaystyle-1.html displaystyle-1-ref.html
|
||||
== displaystyle-2.html displaystyle-2-ref.html
|
||||
== displaystyle-3.html displaystyle-3-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user