Add ewk_view_fullscreen_exit to exit fullscreen mode
[framework/web/webkit-efl.git] / LayoutTests / inspector / tabbed-pane-max-tab-width-calculation.html
1 <html>
2 <head>
3 <script src="../http/tests/inspector/inspector-test.js"></script>
4 <script type="text/javascript">
5 var test = function()
6 {
7     function calculateAndDumpMaxWidth(measuredWidths, totalWidth)
8     {
9         var maxWidth = WebInspector.TabbedPane.prototype._calculateMaxWidth(measuredWidths, totalWidth);
10         InspectorTest.addResult("measuredWidths = [" + String(measuredWidths) + "], totalWidth = " + totalWidth + ", maxWidth = " + maxWidth + ".");
11     }
12
13     calculateAndDumpMaxWidth([50, 70, 20], 150);
14     calculateAndDumpMaxWidth([50, 80, 20], 150);
15     calculateAndDumpMaxWidth([50, 90, 20], 150);
16     calculateAndDumpMaxWidth([90, 90, 20], 150);
17     calculateAndDumpMaxWidth([90, 80, 70], 150);
18
19     InspectorTest.completeTest();
20 }
21 </script>
22 </head>
23 <body onload="runTest()">
24 <p>Tests tabbed pane max tab element width calculation.</p>
25 <a href="https://bugs.webkit.org/show_bug.cgi?id=75005">Bug 75005</a>
26 </body>
27 </html>