Changeset 174614 in webkit
- Timestamp:
- Oct 10, 2014 3:29:20 PM (10 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 1 deleted
- 1 edited
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r174613 r174614 1 2014-10-10 Said Abou-Hallawa <sabouhallawa@apple.com> 2 3 RenderMathMLUnderOver adds spacing to the child operator indefinitely when resizing the window. 4 https://bugs.webkit.org/show_bug.cgi?id=137330 5 6 Reviewed by Simon Fraser. 7 8 Change the layout with resize test of the MathML underover object from being render tree test 9 to be reference test. The render test was failing on WK2 because it was doing window resizing 10 and view zooming. The new test rely solely on forcing the layout synchronously by resizing the 11 math container <div> element. 12 13 * mathml/opentype/munderover-layout-resize-expected.html: Added. 14 * mathml/opentype/munderover-layout-resize.html: Added. 15 * mathml/opentype/munderover-window-resize-expected.txt: Removed. 16 * mathml/opentype/munderover-window-resize.html: Removed. 17 1 18 2014-10-10 Benjamin Poulain <benjamin@webkit.org> 2 19 -
trunk/LayoutTests/mathml/opentype/munderover-layout-resize-expected.html
r174613 r174614 2 2 <html> 3 3 <head> 4 <title>Open Type MATH - under-over operator</title>5 <meta charset="utf-8">6 4 <style type="text/css"> 7 /* This font is taken from Mozilla's test suite. */8 5 @font-face { 9 6 font-family: stretchy; … … 13 10 font-family: stretchy; 14 11 font-size: 10px; 12 } 13 div { 14 width: 700px; 15 height: 100px; 16 background-color:#eeeeee; 15 17 } 16 18 </style> … … 98 100 </math> 99 101 </div> 100 <script>101 for (var zoom = 110; zoom <= 200; zoom += 10) {102 document.body.style.zoom = zoom + "%";103 }104 document.body.style.zoom="100%";105 var width = window.outerWidth;106 window.resizeTo(250, window.outerHeight);107 window.resizeTo(width, window.outerHeight);108 </script>109 102 </body> 110 103 </html> -
trunk/LayoutTests/mathml/opentype/munderover-layout-resize.html
-
Property
svn:eol-style
set to
native
-
Property
svn:keywords
set to
Date Revision
-
Property
svn:mime-type
set to
text/html
r174613 r174614 2 2 <html> 3 3 <head> 4 <title>Open Type MATH - under-over operator</title>5 <meta charset="utf-8">6 4 <style type="text/css"> 7 /* This font is taken from Mozilla's test suite. */8 5 @font-face { 9 6 font-family: stretchy; … … 14 11 font-size: 10px; 15 12 } 13 div { 14 width: 700px; 15 height: 100px; 16 background-color:#eeeeee; 17 } 16 18 </style> 17 19 <body> 18 <div >20 <div id="mathContainer"> 19 21 <math display='block'> 20 22 <mrow> … … 99 101 </div> 100 102 <script> 101 for (var zoom = 110; zoom <= 200; zoom += 10) { 102 document.body.style.zoom = zoom + "%"; 103 } 104 document.body.style.zoom="100%"; 105 var width = window.outerWidth; 106 window.resizeTo(250, window.outerHeight); 107 window.resizeTo(width, window.outerHeight); 103 var mathDiv = document.getElementById("mathContainer"); 104 105 mathDiv.style.width = "300px"; 106 document.body.offsetWidth; // forces layout 107 108 mathDiv.style.width = "500px"; 109 document.body.offsetWidth; // forces layout 110 111 mathDiv.style.width = "700px"; 112 document.body.offsetWidth; // forces layout 108 113 </script> 109 114 </body> -
Property
svn:eol-style
set to
Note: See TracChangeset
for help on using the changeset viewer.