WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Reftests
mfenced.patch (text/plain), 5.51 KB, created by
Frédéric Wang Nélar
on 2014-02-25 23:56:55 PST
(
hide
)
Description:
Reftests
Filename:
MIME Type:
Creator:
Frédéric Wang Nélar
Created:
2014-02-25 23:56:55 PST
Size:
5.51 KB
patch
obsolete
>diff --git a/LayoutTests/mathml/presentation/mfenced-attributes-dynamic-expected.html b/LayoutTests/mathml/presentation/mfenced-attributes-dynamic-expected.html >new file mode 100644 >index 0000000..8d76c60 >--- /dev/null >+++ b/LayoutTests/mathml/presentation/mfenced-attributes-dynamic-expected.html >@@ -0,0 +1,59 @@ >+<!doctype html> >+<html> >+ <head> >+ <title>mfenced attributes</title> >+ <meta charset="utf-8"/> >+ </head> >+ <body> >+ >+ <math> >+ <mfenced open="[" close=")" separators=","> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ </mfenced> >+ </math> >+ >+ <math> >+ <mfenced open="(" close="]" separators=","> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ </mfenced> >+ </math> >+ >+ <math> >+ <mfenced open="(" close="]" separators="|"> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ </mfenced> >+ </math> >+ >+ <math> >+ <mfenced open="[" close=")" separators="|"> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ </mfenced> >+ </math> >+ >+ <div style="background: red;"> >+ <math> >+ <mphantom> >+ <mfenced open="[" close="]" separators="|"> >+ <mspace width="10px" height="2em" depth="2em"/> >+ <mspace width="10px" height="2em" depth="2em"/> >+ <mspace width="10px" height="2em" depth="2em"/> >+ <mspace width="10px" height="2em" depth="2em"/> >+ </mfenced> >+ </mphantom> >+ </math> >+ </div> >+ >+ </body> >+</html> >diff --git a/LayoutTests/mathml/presentation/mfenced-attributes-dynamic.html b/LayoutTests/mathml/presentation/mfenced-attributes-dynamic.html >new file mode 100644 >index 0000000..862d3e2 >--- /dev/null >+++ b/LayoutTests/mathml/presentation/mfenced-attributes-dynamic.html >@@ -0,0 +1,73 @@ >+<!doctype html> >+<html> >+ <head> >+ <title>mfenced attributes</title> >+ <meta charset="utf-8"/> >+ <style type="text/css"> >+ #styled mfenced { color: red; } >+ </style> >+ <script type="text/javascript"> >+ function test() >+ { >+ var m = document.getElementsByTagName("mfenced"); >+ m[0].setAttribute("open", "["); >+ m[1].setAttribute("close", "]"); >+ m[2].removeAttribute("open"); >+ m[3].removeAttribute("close"); >+ document.getElementById("unstyled").setAttribute("id", "styled"); >+ } >+ </script> >+ </head> >+ <body onload="test()"> >+ >+ <!-- These tests perform dynamic changes on mi and mo token elements. They should render the same as the static reference. --> >+ >+ <math> >+ <mfenced> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ </mfenced> >+ </math> >+ >+ <math> >+ <mfenced> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ </mfenced> >+ </math> >+ >+ <math> >+ <mfenced open="[" close="]" separators="|"> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ </mfenced> >+ </math> >+ >+ <math> >+ <mfenced open="[" close="]" separators="|"> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ </mfenced> >+ </math> >+ >+ <div id="unstyled" style="background: red;"> >+ <math> >+ <mfenced open="[" close="]" separators="|"> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ <mspace width="10px" height="2em" depth="2em" mathbackground="red"/> >+ </mfenced> >+ </math> >+ </div> >+ >+ </body> >+</html>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 57696
:
87967
|
225230
|
285222