mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 878396 - Fix a regression with mspace@mathbackground. r=karlt
This commit is contained in:
parent
621bade635
commit
4a644df437
@ -226,7 +226,7 @@ nsMathMLElement::IsAttributeMapped(const nsIAtom* aAttribute) const
|
||||
nsIAtom* tag = Tag();
|
||||
if (tag == nsGkAtoms::ms_ || tag == nsGkAtoms::mi_ ||
|
||||
tag == nsGkAtoms::mn_ || tag == nsGkAtoms::mo_ ||
|
||||
tag == nsGkAtoms::mtext_)
|
||||
tag == nsGkAtoms::mtext_ || tag == nsGkAtoms::mspace_)
|
||||
return FindAttributeDependence(aAttribute, tokenMap);
|
||||
if (tag == nsGkAtoms::mstyle_ ||
|
||||
tag == nsGkAtoms::math)
|
||||
|
27
layout/reftests/mathml/mspace-1-ref.html
Normal file
27
layout/reftests/mathml/mspace-1-ref.html
Normal file
@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>mspace</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div style="position: absolute;
|
||||
top: 0; left: 0;
|
||||
width: 50px; height: 6em;
|
||||
background: red;"></div>
|
||||
|
||||
<div style="position: absolute;
|
||||
top: 2em; left: 50px;
|
||||
width: 40px; height: 3em;
|
||||
background: green;"></div>
|
||||
|
||||
<div style="position: absolute;
|
||||
top: 1em; left: 90px;
|
||||
width: 30px; height: 3em;
|
||||
background: blue;"></div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
18
layout/reftests/mathml/mspace-1.html
Normal file
18
layout/reftests/mathml/mspace-1.html
Normal file
@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>mspace</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<math style="position: absolute; top: 0; left: 0; margin: 0; padding: 0;">
|
||||
<mspace width="50px" height="3em" depth="3em" mathbackground="red"/>
|
||||
<mspace width="40px" height="1em" depth="2em" mathbackground="green"/>
|
||||
<mspace width="30px" height="2em" depth="1em" mathbackground="blue"/>
|
||||
</math>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
@ -84,6 +84,7 @@ fails == mstyle-5.xhtml mstyle-5-ref.xhtml # Bug 787215
|
||||
!= scale-stretchy-5.xhtml scale-stretchy-5-ref.xhtml
|
||||
!= stretchy-1.html stretchy-1-ref.html
|
||||
== math-as-mstyle-1.xhtml math-as-mstyle-1-ref.xhtml
|
||||
== mspace-1.html mspace-1-ref.html
|
||||
== mpadded-1.html mpadded-1-ref.html
|
||||
== mpadded-2.html mpadded-2-ref.html
|
||||
== mpadded-3.html mpadded-3-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user