Diff
Modified: trunk/LayoutTests/ChangeLog (188158 => 188159)
--- trunk/LayoutTests/ChangeLog 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/ChangeLog 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,3 +1,32 @@
+2015-08-07 Simon Fraser <[email protected]>
+
+ Move platform/mac/fast/forms/ tests to fast/forms/
+
+ * TestExpectations:
+ * fast/forms/attributed-strings-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/attributed-strings-expected.txt.
+ * fast/forms/attributed-strings.html: Renamed from LayoutTests/platform/mac/fast/forms/attributed-strings.html.
+ * fast/forms/focus-option-control-on-page-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/focus-option-control-on-page-expected.txt.
+ * fast/forms/focus-option-control-on-page.html: Renamed from LayoutTests/platform/mac/fast/forms/focus-option-control-on-page.html.
+ * fast/forms/indeterminate-progress-inline-height-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height-expected.txt.
+ * fast/forms/indeterminate-progress-inline-height.html: Renamed from LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height.html.
+ * fast/forms/input-appearance-spinbutton-expected.png: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.png.
+ * fast/forms/input-appearance-spinbutton-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.txt.
+ * fast/forms/input-appearance-spinbutton-size-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size-expected.txt.
+ * fast/forms/input-appearance-spinbutton-size.html: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size.html.
+ * fast/forms/input-appearance-spinbutton-up-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt.
+ * fast/forms/input-appearance-spinbutton-up.html: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up.html.
+ * fast/forms/input-appearance-spinbutton.html: Renamed from LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton.html.
+ * fast/forms/input-number-click-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/input-number-click-expected.txt.
+ * fast/forms/input-number-click.html: Renamed from LayoutTests/platform/mac/fast/forms/input-number-click.html.
+ * fast/forms/listbox-scrollbar-hit-test-expected.txt: Renamed from LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test-expected.txt.
+ * fast/forms/listbox-scrollbar-hit-test.html: Renamed from LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test.html.
+ * fast/forms/script-tests/focus-option-control-on-page.js: Renamed from LayoutTests/platform/mac/fast/forms/script-tests/focus-option-control-on-page.js.
+ * platform/mac-wk1/TestExpectations:
+ * platform/mac-wk2/TestExpectations:
+ * platform/mac/TestExpectations:
+ * platform/mac/fast/forms/input-appearance-spinbutton-up-expected.png: Removed.
+ * platform/wk2/TestExpectations:
+
2015-08-06 Dean Jackson <[email protected]>
Shadows don't draw on fillText when using a gradient fill
Modified: trunk/LayoutTests/TestExpectations (188158 => 188159)
--- trunk/LayoutTests/TestExpectations 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/TestExpectations 2015-08-07 21:07:40 UTC (rev 188159)
@@ -3,7 +3,7 @@
# See http://trac.webkit.org/wiki/TestExpectations for more information on this file.
#//////////////////////////////////////////////////////////////////////////////////////////
-# Platform-specific directories. Skipped here, then re-enabled on the appropriate platform.
+# Platform-specific tests. Skipped here, then re-enabled on the appropriate platform.
#//////////////////////////////////////////////////////////////////////////////////////////
accessibility/ios-simulator [ Skip ]
@@ -14,8 +14,10 @@
editing/pasteboard/gtk [ Skip ]
tiled-drawing [ Skip ]
+fast/forms/attributed-strings.html [ Skip ]
+
#//////////////////////////////////////////////////////////////////////////////////////////
-# End platform-specific directories.
+# End platform-specific tests.
#//////////////////////////////////////////////////////////////////////////////////////////
Copied: trunk/LayoutTests/fast/forms/attributed-strings-expected.txt (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/attributed-strings-expected.txt) (0 => 188159)
--- trunk/LayoutTests/fast/forms/attributed-strings-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/forms/attributed-strings-expected.txt 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,10 @@
+test
+4
+test
+4
+test
+NSForegroundColor,NSToolTip,NSFont,NSObliqueness
+NSToolTip,NSForegroundColor,NSFont
+0.5
+undefined
+NSDeviceRGBColorSpace 1 0.5 1 0.5
Copied: trunk/LayoutTests/fast/forms/attributed-strings.html (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/attributed-strings.html) (0 => 188159)
--- trunk/LayoutTests/fast/forms/attributed-strings.html (rev 0)
+++ trunk/LayoutTests/fast/forms/attributed-strings.html 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,70 @@
+<html>
+<head>
+<style>
+body { margin: 0; padding: 0 }
+</style>
+</head>
+<body>
+<div id="test" contenteditable>FAILURE</div>
+<p id="console"></p>
+<script type="text/_javascript_">
+
+ var console_messages = document.createElement("ol");
+
+ function log(message)
+ {
+ var item = document.createElement("li");
+ item.appendChild(document.createTextNode(message));
+ console_messages.appendChild(item);
+ }
+
+ if (window.testRunner) {
+
+ try {
+
+ testRunner.dumpAsText();
+ document.getElementById("test").focus();
+
+ var substr = textInputController.attributedSubstringFromRange(0, 2);
+// log(substr); -- attributedSubstringFromRange is not implemented in WebKit yet
+
+ var attrString = textInputController.makeAttributedString("test");
+ log(attrString.getAttributeNamesAtIndex(0));
+ log(attrString.length());
+ log(attrString.string());
+
+ attrString.addAttribute("NSToolTip", "Tool Tip");
+ attrString.addFontAttribute("NSFont", "Monaco", 14);
+ attrString.addColorAttribute("NSForegroundColor", 1, 1, 1, 0.5);
+
+ attrString.addFontAttributeForRange("NSFont", "Monaco", 12, 0, 2);
+ attrString.addColorAttributeForRange("NSForegroundColor", 1, 0.5, 1, 0.5, 0, 2);
+ attrString.addAttributeForRange("NSObliqueness", 0.5, 0, 2);
+
+ log(attrString.length());
+ log(attrString.string());
+
+ log(attrString.getAttributeNamesAtIndex(0));
+ log(attrString.getAttributeNamesAtIndex(3));
+
+ log(attrString.getAttributeValueAtIndex("NSObliqueness", 0));
+ log(attrString.getAttributeValueAtIndex("NSObliqueness", 3));
+
+ log(attrString.getAttributeValueAtIndex("NSForegroundColor", 1));
+
+ document.execCommand("SelectAll");
+
+ textInputController.insertText(attrString);
+
+ } catch (ex) {
+ document.write("Exception: " + ex.description);
+ }
+
+ document.getElementById("console").appendChild(console_messages);
+
+ } else {
+ document.write("(cannot run interactively)");
+ }
+</script>
+</body>
+</html>
Copied: trunk/LayoutTests/fast/forms/focus-option-control-on-page-expected.txt (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page-expected.txt) (0 => 188159)
--- trunk/LayoutTests/fast/forms/focus-option-control-on-page-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/forms/focus-option-control-on-page-expected.txt 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,15 @@
+https://bugs.webkit.org/show_bug.cgi?id=68412 - This test checks to see if option(alt)-tabbing properly focuses form elements that are normally not focused. For testing, the assumption is that by default pressing tab will skip over buttons, and option-tab will include buttons.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+
+Pressing tab 4 times:
+PASS result is " /1:focused text field /2: /3:focused text field /4:"
+Pressing shift-tab 4 times:
+PASS result is " /1:focused text field /2: /3:focused text field /4:"
+Pressing option-tab 4 times:
+PASS result is " /1:focused first button /2:focused text field /3:focused second button /4:"
+Pressing shift-option-tab 4 times:
+PASS result is " /1:focused second button /2:focused text field /3:focused first button /4:"
+
Copied: trunk/LayoutTests/fast/forms/focus-option-control-on-page.html (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page.html) (0 => 188159)
--- trunk/LayoutTests/fast/forms/focus-option-control-on-page.html (rev 0)
+++ trunk/LayoutTests/fast/forms/focus-option-control-on-page.html 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<script src=""
+</head>
+<body>
+<p id="description"></p>
+<input type="button" _onfocus_="log('focused first button')" value="1">
+<input type="text" _onfocus_="log('focused text field')" value="2">
+<input type="button" _onfocus_="log('focused second button')" value="3">
+<div id="console"></div>
+<script src=""
+<script src=""
+</body>
+</html>
Copied: trunk/LayoutTests/fast/forms/indeterminate-progress-inline-height-expected.txt (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height-expected.txt) (0 => 188159)
--- trunk/LayoutTests/fast/forms/indeterminate-progress-inline-height-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/forms/indeterminate-progress-inline-height-expected.txt 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,2 @@
+
+system-styled indeterminate progress bar height should be > 0, was: 21
Copied: trunk/LayoutTests/fast/forms/indeterminate-progress-inline-height.html (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height.html) (0 => 188159)
--- trunk/LayoutTests/fast/forms/indeterminate-progress-inline-height.html (rev 0)
+++ trunk/LayoutTests/fast/forms/indeterminate-progress-inline-height.html 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,7 @@
+<progress style="height: 0;"></progress><br/>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+
+document.write("system-styled indeterminate progress bar height should be > 0, was: " + document.getElementsByTagName("progress")[0].offsetHeight);
+</script>
Copied: trunk/LayoutTests/fast/forms/input-appearance-spinbutton-expected.png (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.png)
(Binary files differ)
Copied: trunk/LayoutTests/fast/forms/input-appearance-spinbutton-expected.txt (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.txt) (0 => 188159)
--- trunk/LayoutTests/fast/forms/input-appearance-spinbutton-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/forms/input-appearance-spinbutton-expected.txt 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,239 @@
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {HTML} at (0,0) size 800x600
+ RenderBody {BODY} at (8,8) size 784x584
+ RenderBlock {P} at (0,0) size 784x18
+ RenderText {#text} at (0,0) size 245x18
+ text run at (0,0) width 245: "Test appearances of outer-spin-button."
+ RenderBlock {DIV} at (0,34) size 784x0
+ RenderBlock {DIV} at (0,34) size 784x528
+ RenderTable {TABLE} at (0,0) size 466x528
+ RenderTableSection {TBODY} at (0,0) size 466x528
+ RenderTableRow {TR} at (0,2) size 466x524
+ RenderTableCell {TD} at (2,81) size 189x366 [r=0 c=0 rs=1 cs=1]
+ RenderBlock {DIV} at (1,1) size 187x35
+ RenderTextControl {INPUT} at (0,3) size 106x16 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {#text} at (105,0) size 5x18
+ text run at (105,0) width 5: " "
+ RenderBR {BR} at (109,14) size 1x0
+ RenderTextControl {INPUT} at (0,19) size 106x16 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 100x10
+ RenderBlock {DIV} at (0,0) size 87x10
+ RenderBlock {DIV} at (1,36) size 187x36
+ RenderTextControl {INPUT} at (0,2) size 116x17 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {#text} at (115,0) size 5x18
+ text run at (115,0) width 5: " "
+ RenderBR {BR} at (119,14) size 1x0
+ RenderTextControl {INPUT} at (0,19) size 116x17 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 110x11
+ RenderBlock {DIV} at (0,0) size 97x11
+ RenderBlock {DIV} at (1,72) size 187x37
+ RenderTextControl {INPUT} at (0,1) size 126x18 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {#text} at (125,0) size 5x18
+ text run at (125,0) width 5: " "
+ RenderBR {BR} at (129,14) size 1x0
+ RenderTextControl {INPUT} at (0,19) size 126x18 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 120x12
+ RenderBlock {DIV} at (0,0) size 107x12
+ RenderBlock {DIV} at (1,109) size 187x46
+ RenderTextControl {INPUT} at (2,2) size 137x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {#text} at (140,2) size 5x18
+ text run at (140,2) width 5: " "
+ RenderBR {BR} at (144,16) size 1x0
+ RenderTextControl {INPUT} at (2,25) size 137x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 131x13
+ RenderBlock {DIV} at (0,0) size 118x13
+ RenderBlock {DIV} at (1,155) size 187x50
+ RenderTextControl {INPUT} at (2,2) size 148x21 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {#text} at (151,3) size 5x18
+ text run at (151,3) width 5: " "
+ RenderBR {BR} at (155,17) size 1x0
+ RenderTextControl {INPUT} at (2,27) size 148x21 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 142x15
+ RenderBlock {DIV} at (0,0) size 129x15
+ RenderBlock {DIV} at (1,205) size 187x52
+ RenderTextControl {INPUT} at (2,2) size 159x22 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {#text} at (162,4) size 5x18
+ text run at (162,4) width 5: " "
+ RenderBR {BR} at (166,18) size 1x0
+ RenderTextControl {INPUT} at (2,28) size 159x22 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 153x16
+ RenderBlock {DIV} at (0,0) size 138x16
+ RenderBlock {DIV} at (1,257) size 187x54
+ RenderTextControl {INPUT} at (2,2) size 169x23 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {#text} at (172,5) size 5x18
+ text run at (172,5) width 5: " "
+ RenderBR {BR} at (176,19) size 1x0
+ RenderTextControl {INPUT} at (2,29) size 169x23 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 163x17
+ RenderBlock {DIV} at (0,0) size 148x17
+ RenderBlock {DIV} at (1,311) size 187x54
+ RenderTextControl {INPUT} at (2,2) size 179x23 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {#text} at (182,5) size 5x18
+ text run at (182,5) width 5: " "
+ RenderBR {BR} at (186,19) size 1x0
+ RenderTextControl {INPUT} at (2,29) size 179x23 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 173x17
+ RenderBlock {DIV} at (0,0) size 158x17
+ RenderTableCell {TD} at (193,2) size 271x524 [r=0 c=1 rs=1 cs=1]
+ RenderBlock {DIV} at (1,1) size 269x56
+ RenderTextControl {INPUT} at (2,2) size 190x24 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {#text} at (193,6) size 5x18
+ text run at (193,6) width 5: " "
+ RenderBR {BR} at (197,20) size 1x0
+ RenderTextControl {INPUT} at (2,30) size 190x24 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 184x18
+ RenderBlock {DIV} at (0,0) size 169x18
+ RenderBlock {DIV} at (1,57) size 269x60
+ RenderTextControl {INPUT} at (2,2) size 201x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {#text} at (204,7) size 5x18
+ text run at (204,7) width 5: " "
+ RenderBR {BR} at (208,21) size 1x0
+ RenderTextControl {INPUT} at (2,32) size 201x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 195x20
+ RenderBlock {DIV} at (0,0) size 180x20
+ RenderBlock {DIV} at (1,117) size 269x62
+ RenderTextControl {INPUT} at (2,2) size 210x27 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {#text} at (213,8) size 5x18
+ text run at (213,8) width 5: " "
+ RenderBR {BR} at (217,22) size 1x0
+ RenderTextControl {INPUT} at (2,33) size 210x27 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 204x21
+ RenderBlock {DIV} at (0,0) size 185x21
+ RenderBlock {DIV} at (1,179) size 269x64
+ RenderTextControl {INPUT} at (2,2) size 220x28 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {#text} at (223,9) size 5x18
+ text run at (223,9) width 5: " "
+ RenderBR {BR} at (227,23) size 1x0
+ RenderTextControl {INPUT} at (2,34) size 220x28 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 214x22
+ RenderBlock {DIV} at (0,0) size 195x22
+ RenderBlock {DIV} at (1,243) size 269x66
+ RenderTextControl {INPUT} at (2,2) size 229x29 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {#text} at (232,10) size 5x18
+ text run at (232,10) width 5: " "
+ RenderBR {BR} at (236,24) size 1x0
+ RenderTextControl {INPUT} at (2,35) size 229x29 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 223x23
+ RenderBlock {DIV} at (0,0) size 204x23
+ RenderBlock {DIV} at (1,309) size 269x68
+ RenderTextControl {INPUT} at (2,2) size 240x30 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {#text} at (243,11) size 5x18
+ text run at (243,11) width 5: " "
+ RenderBR {BR} at (247,25) size 1x0
+ RenderTextControl {INPUT} at (2,36) size 240x30 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 234x24
+ RenderBlock {DIV} at (0,0) size 215x24
+ RenderBlock {DIV} at (1,377) size 269x72
+ RenderTextControl {INPUT} at (2,2) size 251x32 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {#text} at (254,12) size 5x18
+ text run at (254,12) width 5: " "
+ RenderBR {BR} at (258,26) size 1x0
+ RenderTextControl {INPUT} at (2,38) size 251x32 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 245x26
+ RenderBlock {DIV} at (0,0) size 226x26
+ RenderBlock {DIV} at (1,449) size 269x74
+ RenderTextControl {INPUT} at (2,2) size 261x33 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderText {#text} at (264,13) size 5x18
+ text run at (264,13) width 5: " "
+ RenderBR {BR} at (268,27) size 1x0
+ RenderTextControl {INPUT} at (2,39) size 261x33 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 255x27
+ RenderBlock {DIV} at (0,0) size 236x27
+layer at (14,130) size 99x10
+ RenderBlock {DIV} at (3,3) size 100x10
+layer at (14,146) size 86x10
+ RenderBlock {DIV} at (0,0) size 87x10
+layer at (14,164) size 109x11
+ RenderBlock {DIV} at (3,3) size 110x11
+layer at (14,181) size 96x11
+ RenderBlock {DIV} at (0,0) size 97x11
+layer at (14,199) size 119x12
+ RenderBlock {DIV} at (3,3) size 120x12
+layer at (14,217) size 106x12
+ RenderBlock {DIV} at (0,0) size 107x12
+layer at (16,237) size 130x13
+ RenderBlock {DIV} at (3,3) size 131x13
+layer at (16,260) size 117x13
+ RenderBlock {DIV} at (0,0) size 118x13
+layer at (16,283) size 141x15
+ RenderBlock {DIV} at (3,3) size 142x15
+layer at (16,308) size 128x15
+ RenderBlock {DIV} at (0,0) size 129x15
+layer at (16,333) size 152x16
+ RenderBlock {DIV} at (3,3) size 153x16
+layer at (16,359) size 137x16
+ RenderBlock {DIV} at (0,0) size 138x16
+layer at (16,385) size 162x17
+ RenderBlock {DIV} at (3,3) size 163x17
+layer at (16,412) size 147x17
+ RenderBlock {DIV} at (0,0) size 148x17
+layer at (16,439) size 173x17
+ RenderBlock {DIV} at (3,3) size 173x17
+layer at (16,466) size 158x17
+ RenderBlock {DIV} at (0,0) size 158x17
+layer at (207,50) size 183x18
+ RenderBlock {DIV} at (3,3) size 184x18
+layer at (207,78) size 168x18
+ RenderBlock {DIV} at (0,0) size 169x18
+layer at (207,106) size 194x20
+ RenderBlock {DIV} at (3,3) size 195x20
+layer at (207,136) size 179x20
+ RenderBlock {DIV} at (0,0) size 180x20
+layer at (207,166) size 203x21
+ RenderBlock {DIV} at (3,3) size 204x21
+layer at (207,197) size 184x21
+ RenderBlock {DIV} at (0,0) size 185x21
+layer at (207,228) size 213x22
+ RenderBlock {DIV} at (3,3) size 214x22
+layer at (207,260) size 194x22
+ RenderBlock {DIV} at (0,0) size 195x22
+layer at (207,292) size 223x23
+ RenderBlock {DIV} at (3,3) size 223x23
+layer at (207,325) size 204x23
+ RenderBlock {DIV} at (0,0) size 204x23
+layer at (207,358) size 233x24
+ RenderBlock {DIV} at (3,3) size 234x24
+layer at (207,392) size 214x24
+ RenderBlock {DIV} at (0,0) size 215x24
+layer at (207,426) size 244x26
+ RenderBlock {DIV} at (3,3) size 245x26
+layer at (207,462) size 225x26
+ RenderBlock {DIV} at (0,0) size 226x26
+layer at (207,498) size 255x27
+ RenderBlock {DIV} at (3,3) size 255x27
+layer at (207,535) size 236x27
+ RenderBlock {DIV} at (0,0) size 236x27
+layer at (101,145) size 13x12
+ RenderBlock (relative positioned) {DIV} at (87,-1) size 14x12
+layer at (111,180) size 13x13
+ RenderBlock (relative positioned) {DIV} at (97,-1) size 14x13
+layer at (121,216) size 13x14
+ RenderBlock (relative positioned) {DIV} at (107,-1) size 14x14
+layer at (134,259) size 13x15
+ RenderBlock (relative positioned) {DIV} at (118,-1) size 14x15
+layer at (145,307) size 13x17
+ RenderBlock (relative positioned) {DIV} at (129,-1) size 14x17
+layer at (154,358) size 15x18
+ RenderBlock (relative positioned) {DIV} at (138,-1) size 16x18
+layer at (164,411) size 15x19
+ RenderBlock (relative positioned) {DIV} at (148,-1) size 16x19
+layer at (175,465) size 15x19
+ RenderBlock (relative positioned) {DIV} at (158,-1) size 16x19
+layer at (376,77) size 15x20
+ RenderBlock (relative positioned) {DIV} at (169,-1) size 16x20
+layer at (387,135) size 15x22
+ RenderBlock (relative positioned) {DIV} at (180,-1) size 16x22
+layer at (392,196) size 19x23
+ RenderBlock (relative positioned) {DIV} at (185,-1) size 20x23
+layer at (402,259) size 19x24
+ RenderBlock (relative positioned) {DIV} at (195,-1) size 20x24
+layer at (412,324) size 19x25
+ RenderBlock (relative positioned) {DIV} at (204,-1) size 20x25
+layer at (422,391) size 19x26
+ RenderBlock (relative positioned) {DIV} at (215,-1) size 20x26
+layer at (433,461) size 19x28
+ RenderBlock (relative positioned) {DIV} at (226,-1) size 20x28
+layer at (444,534) size 19x29
+ RenderBlock (relative positioned) {DIV} at (236,-1) size 20x29
Copied: trunk/LayoutTests/fast/forms/input-appearance-spinbutton-size-expected.txt (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size-expected.txt) (0 => 188159)
--- trunk/LayoutTests/fast/forms/input-appearance-spinbutton-size-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/forms/input-appearance-spinbutton-size-expected.txt 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,29 @@
+Test sizes of outer-spin-button. A spin-button height should be equal to or less than the corresponding text field height.
+
+PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
+PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
+
+
+
+
+
+
+
+
+
+
+
Copied: trunk/LayoutTests/fast/forms/input-appearance-spinbutton-size.html (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size.html) (0 => 188159)
--- trunk/LayoutTests/fast/forms/input-appearance-spinbutton-size.html (rev 0)
+++ trunk/LayoutTests/fast/forms/input-appearance-spinbutton-size.html 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<script src=""
+<style>
+.button {
+ -webkit-appearance: outer-spin-button;
+ display: inline-block;
+}
+</style>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+
+<script>
+document.getElementById('description').innerHTML = 'Test sizes of outer-spin-button. A spin-button height should be equal to or less than the corresponding text field height.';
+
+var body = document.body;
+for (var size = 8; size < 20; size++) {
+ var div = document.createElement('div');
+ body.appendChild(div);
+ div.innerHTML = '<input style="font-size:' + size + 'px" id=input' + size + '>'
+ + '<span class="button" style="font-size:' + size + 'px" id=span' + size + '></span>';
+ var input = document.getElementById('input' + size);
+ var spinButton = document.getElementById('span' + size);
+ // 6 is border-top + border-bottom + padding-top + padding-bottom in the default style.
+ shouldBeTrue('spinButton.offsetHeight <= input.offsetHeight + 6');
+}
+
+</script>
+<script src=""
+</body>
+</html>
Copied: trunk/LayoutTests/fast/forms/input-appearance-spinbutton-up-expected.txt (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt) (0 => 188159)
--- trunk/LayoutTests/fast/forms/input-appearance-spinbutton-up-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/forms/input-appearance-spinbutton-up-expected.txt 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,22 @@
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {HTML} at (0,0) size 800x600
+ RenderBody {BODY} at (8,8) size 784x584
+ RenderBlock {P} at (0,0) size 784x18
+ RenderText {#text} at (0,0) size 439x18
+ text run at (0,0) width 439: "Test appearances of outer-spin-button with its up button highlighted."
+ RenderBlock {DIV} at (0,34) size 784x0
+ RenderBlock (anonymous) at (0,34) size 784x31
+ RenderTextControl {INPUT} at (2,2) size 210x27 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderFlexibleBox {DIV} at (3,3) size 204x21
+ RenderBlock {DIV} at (0,0) size 185x21
+ RenderText {#text} at (0,0) size 0x0
+ RenderText {#text} at (0,0) size 0x0
+layer at (13,47) size 184x21
+ RenderBlock {DIV} at (0,0) size 185x21
+ RenderText {#text} at (0,0) size 11x21
+ text run at (0,0) width 11: "1"
+layer at (198,46) size 19x23
+ RenderBlock (relative positioned) {DIV} at (185,-1) size 20x23
+caret: position 1 of child 0 {#text} of child 0 {DIV} of child 0 {DIV} of child 0 {DIV} of {#document-fragment} of child 5 {INPUT} of body
Copied: trunk/LayoutTests/fast/forms/input-appearance-spinbutton-up.html (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up.html) (0 => 188159)
--- trunk/LayoutTests/fast/forms/input-appearance-spinbutton-up.html (rev 0)
+++ trunk/LayoutTests/fast/forms/input-appearance-spinbutton-up.html 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,22 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<style>
+</style>
+</head>
+<body>
+<p>Test appearances of outer-spin-button with its up button highlighted.</p>
+<div id=console></div>
+<input type=number style="font-size: 18px;" id=number value=0>
+
+<script>
+if (window.eventSender) {
+ var input = document.getElementById('number');
+ eventSender.mouseMoveTo(input.offsetLeft + input.offsetWidth - 8, input.offsetTop + 6);
+ eventSender.mouseDown();
+} else {
+ document.getElementById('console').innerHTML = '<p>Manual test: Press the primary button of the pointing device on the upper button. Check if the upper button is correctly highlighted.</p>';
+}
+</script>
+</body>
+</html>
Copied: trunk/LayoutTests/fast/forms/input-appearance-spinbutton.html (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton.html) (0 => 188159)
--- trunk/LayoutTests/fast/forms/input-appearance-spinbutton.html (rev 0)
+++ trunk/LayoutTests/fast/forms/input-appearance-spinbutton.html 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,23 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<style>
+</style>
+</head>
+<body>
+<p>Test appearances of outer-spin-button.</p>
+<div id="console"></div>
+
+<script>
+var parent = document.createElement('div');
+document.body.appendChild(parent);
+parent.innerHTML = '<table><tr><td id=p1><td id=p2></tr></table>';
+for (var size = 8; size < 24; size++) {
+ var div = document.createElement('div');
+ document.getElementById(size < (24 + 8) / 2 ? 'p1' : 'p2').appendChild(div);
+ div.innerHTML = '<input style="font-size:' + size + 'px"> <br>'
+ + '<input style="font-size:' + size + 'px" type=number>';
+}
+</script>
+</body>
+</html>
Copied: trunk/LayoutTests/fast/forms/input-number-click-expected.txt (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-number-click-expected.txt) (0 => 188159)
--- trunk/LayoutTests/fast/forms/input-number-click-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/forms/input-number-click-expected.txt 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,22 @@
+
+Test for the spin control behavior in a type=numnber input.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Initial value is 3.14, click the up button once
+PASS i.value is "4.14"
+Click the up button again. The maximum value is 5.
+PASS i.value is "4.14"
+Click the down button four times
+PASS i.value is "0.14"
+Click the down button again. The minimum value is 0.
+PASS i.value is "0.14"
+Make the control "disabled" and click the up button
+PASS i.value is "0.14"
+Make the control "readOnly" and click the up button
+PASS i.value is "0.14"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Copied: trunk/LayoutTests/fast/forms/input-number-click.html (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/input-number-click.html) (0 => 188159)
--- trunk/LayoutTests/fast/forms/input-number-click.html (rev 0)
+++ trunk/LayoutTests/fast/forms/input-number-click.html 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,72 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<script src=""
+</head>
+<body>
+
+<input id=i1 type=number value="3.14" autofocus step=1 min="0.14" max=5>
+
+<p id="description"></p>
+<div id="console"></div>
+<script>
+description('Test for the spin control behavior in a type=numnber input.');
+
+if (window.eventSender) {
+ debug('Initial value is 3.14, click the up button once');
+ // The spin control is at (130,-1) in the input element on Mac.
+ // The size is 15x22.
+ var i = document.getElementById('i1');
+ eventSender.mouseMoveTo(i.offsetLeft + i.offsetWidth - 4, i.offsetTop + 4);
+ eventSender.mouseDown();
+ eventSender.mouseUp();
+ // The up button has been clicked.
+ shouldBe('i.value', '"4.14"');
+
+ debug('Click the up button again. The maximum value is 5.');
+ eventSender.mouseDown();
+ eventSender.mouseUp();
+ // The maximum value is 5. So the value is not changed.
+ shouldBe('i.value', '"4.14"');
+
+ debug('Click the down button four times');
+ eventSender.mouseMoveTo(i.offsetLeft + i.offsetWidth - 4, i.offsetTop + 15);
+ eventSender.mouseDown();
+ eventSender.mouseUp();
+ eventSender.mouseDown();
+ eventSender.mouseUp();
+ eventSender.mouseDown();
+ eventSender.mouseUp();
+ eventSender.mouseDown();
+ eventSender.mouseUp();
+ shouldBe('i.value', '"0.14"');
+
+ debug('Click the down button again. The minimum value is 0.');
+ // The minimum value is 0. So the value is not changed.
+ eventSender.mouseDown();
+ eventSender.mouseUp();
+ shouldBe('i.value', '"0.14"');
+
+ debug('Make the control "disabled" and click the up button');
+ i.disabled = true;
+ eventSender.mouseMoveTo(i.offsetLeft + i.offsetWidth - 4, i.offsetTop + 4);
+ eventSender.mouseDown();
+ eventSender.mouseUp();
+ shouldBe('i.value', '"0.14"');
+ i.disabled = false;
+
+ debug('Make the control "readOnly" and click the up button');
+ i.readOnly = true;
+ eventSender.mouseMoveTo(i.offsetLeft + i.offsetWidth - 4, i.offsetTop + 4);
+ eventSender.mouseDown();
+ eventSender.mouseUp();
+ shouldBe('i.value', '"0.14"');
+ i.readOnly = false;
+} else {
+ document.getElementById('console').innerHTML = 'No eventSender';
+}
+
+</script>
+<script src=""
+</body>
+</html>
Copied: trunk/LayoutTests/fast/forms/listbox-scrollbar-hit-test-expected.txt (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test-expected.txt) (0 => 188159)
--- trunk/LayoutTests/fast/forms/listbox-scrollbar-hit-test-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/forms/listbox-scrollbar-hit-test-expected.txt 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,10 @@
+
+Testing clicks on select1
+Scrolled down by itemHeight on down arrow click: PASS
+Scrolled up by itemHeight on up arrow click: PASS
+
+Testing clicks on select2
+Scrolled down by itemHeight on down arrow click: PASS
+Scrolled up by itemHeight on up arrow click: PASS
+
+
Copied: trunk/LayoutTests/fast/forms/listbox-scrollbar-hit-test.html (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test.html) (0 => 188159)
--- trunk/LayoutTests/fast/forms/listbox-scrollbar-hit-test.html (rev 0)
+++ trunk/LayoutTests/fast/forms/listbox-scrollbar-hit-test.html 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,112 @@
+<html>
+<head>
+ <title>Listbox scrollbar hit testing</title>
+ <style type="text/css" media="screen">
+ select {
+ border: 20px inset gray;
+ padding: 10px;
+ }
+
+ #results {
+ margin-top: 50px;
+ }
+ </style>
+ <script type="text/_javascript_" charset="utf-8">
+ function sendClick(element, clientX, clientY)
+ {
+ if (window.eventSender) {
+ eventSender.mouseMoveTo(clientX, clientY);
+ eventSender.mouseDown();
+ eventSender.mouseUp();
+ }
+ }
+
+ function mouseDownOnSelect(selId, translateX, translateY)
+ {
+ log('Testing clicks on ' + selId);
+
+ var selectElement = document.getElementById(selId);
+ var itemHeight = 14;
+ var border = 20;
+ var scrollbarWidth = 10;
+ var scrollbarButtonHeight = 12;
+
+ var scrollbarMidX = translateX + selectElement.offsetLeft + selectElement.offsetWidth - border - scrollbarWidth / 2;
+ // Recall that DRT runs with both scroll arrows at the end of the scrollbar
+ var scrollbarTopArrowY = translateY + selectElement.offsetTop + selectElement.offsetHeight - border - scrollbarButtonHeight - 3;
+ var scrollbarBottomArrowY = translateY + selectElement.offsetTop + selectElement.offsetHeight - border - 3;
+
+ sendClick(selectElement, scrollbarMidX, scrollbarBottomArrowY);
+ sendClick(selectElement, scrollbarMidX, scrollbarBottomArrowY);
+ if (selectElement.scrollTop == 2 * itemHeight)
+ log('Scrolled down by itemHeight on down arrow click: PASS');
+ else
+ log('Failed to scroll down - scrollTop is ' + selectElement.scrollTop + ': FAIL');
+
+ sendClick(selectElement, scrollbarMidX, scrollbarTopArrowY);
+ if (selectElement.scrollTop == itemHeight)
+ log('Scrolled up by itemHeight on up arrow click: PASS');
+ else
+ log('Failed to scroll up - scrollTop is ' + selectElement.scrollTop + ': FAIL');
+
+ log('');
+ }
+
+ function log(msg)
+ {
+ var results = document.getElementById('results');
+ results.innerHTML += msg + '<br>';
+ }
+
+ function test()
+ {
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+ }
+
+ if (!window.eventSender) {
+ log('This test only runs in DRT');
+ }
+
+ // Have to wait for the select to be painted before the
+ // scrollbar is sized correctly.
+ setTimeout(function() {
+ mouseDownOnSelect('select1', 0, 0);
+ mouseDownOnSelect('select2', 50, 50);
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }, 0);
+ }
+ </script>
+</head>
+<body _onload_="test()">
+
+ <select id="select1" size="5">
+ <option selected value="0">item 0</option>
+ <option value="1">item 1</option>
+ <option value="2">item 2</option>
+ <option value="3">item 3</option>
+ <option value="4">item 4</option>
+ <option value="5">item 5</option>
+ <option value="6">item 6</option>
+ <option value="7">item 7</option>
+ <option value="8">item 8</option>
+ </select>
+
+ <select id="select2" size="5" style="-webkit-transform: translate(50px, 50px);">
+ <option selected value="0">item 0</option>
+ <option value="1">item 1</option>
+ <option value="2">item 2</option>
+ <option value="3">item 3</option>
+ <option value="4">item 4</option>
+ <option value="5">item 5</option>
+ <option value="6">item 6</option>
+ <option value="7">item 7</option>
+ <option value="8">item 8</option>
+ </select>
+
+ <div id="results">
+ </div>
+</body>
+</html>
Copied: trunk/LayoutTests/fast/forms/script-tests/focus-option-control-on-page.js (from rev 188158, trunk/LayoutTests/platform/mac/fast/forms/script-tests/focus-option-control-on-page.js) (0 => 188159)
--- trunk/LayoutTests/fast/forms/script-tests/focus-option-control-on-page.js (rev 0)
+++ trunk/LayoutTests/fast/forms/script-tests/focus-option-control-on-page.js 2015-08-07 21:07:40 UTC (rev 188159)
@@ -0,0 +1,60 @@
+description('https://bugs.webkit.org/show_bug.cgi?id=68412 - This test checks to see if option(alt)-tabbing properly focuses form elements that are normally not focused. For testing, the assumption is that by default pressing tab will skip over buttons, and option-tab will include buttons.');
+
+var iteration = 0;
+var modifiers;
+var result;
+function startTest() {
+ debug("Pressing tab 4 times:");
+ modifiers = undefined;
+ testRunner.focusWebView(runKeyPresses);
+}
+
+function runKeyPresses() {
+ result = '';
+ for (var i = 0; i < 4; ++i) {
+ result += ' /' + (i + 1) + ':';
+ eventSender.keyDown("\t", modifiers);
+ }
+ iteration++;
+ switch (iteration) {
+ case 1:
+ shouldBe('result', '" /1:focused text field /2: /3:focused text field /4:"');
+ debug("Pressing shift-tab 4 times:");
+ modifiers = ["shiftKey"];
+ testRunner.focusWebView(runKeyPresses);
+ break;
+ case 2:
+ shouldBe('result', '" /1:focused text field /2: /3:focused text field /4:"');
+ debug("Pressing option-tab 4 times:");
+ modifiers = ["altKey"];
+ testRunner.focusWebView(runKeyPresses);
+ break;
+ case 3:
+ shouldBe('result', '" /1:focused first button /2:focused text field /3:focused second button /4:"');
+ debug("Pressing shift-option-tab 4 times:");
+ modifiers = ["shiftKey", "altKey"];
+ testRunner.focusWebView(runKeyPresses);
+ break;
+ case 4:
+ shouldBe('result', '" /1:focused second button /2:focused text field /3:focused first button /4:"');
+ testRunner.removeChromeInputField(notifyDone);
+ break;
+ }
+}
+
+function notifyDone() {
+ setTimeout(function() { testRunner.notifyDone(); }, 0);
+}
+
+function log(val) {
+ result += val;
+}
+
+/////////////////////////////////
+if (window.testRunner && window.eventSender && testRunner.addChromeInputField) {
+ window.jsTestIsAsync = true;
+ testRunner.addChromeInputField(startTest);
+} else
+ finishJSTest();
+
+var successfullyParsed = true;
Modified: trunk/LayoutTests/platform/mac/TestExpectations (188158 => 188159)
--- trunk/LayoutTests/platform/mac/TestExpectations 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/TestExpectations 2015-08-07 21:07:40 UTC (rev 188159)
@@ -367,12 +367,12 @@
# <rdar://problem/11224160> Focus not transferring properly in DumpRenderTree in Mountain Lion
fast/events/show-modal-dialog-onblur-onfocus.html [ Skip ]
-platform/mac/fast/forms/listbox-scrollbar-hit-test.html [ Failure ]
+fast/forms/listbox-scrollbar-hit-test.html [ Failure ]
platform/mac/fast/overflow/overflow-scrollbar-hit-test.html [ Failure ]
[ Mavericks ] accessibility/mac/form-control-value-settable.html [ Failure ]
-platform/mac/fast/forms/input-appearance-spinbutton-up.html [ Failure ]
-platform/mac/fast/forms/input-appearance-spinbutton.html [ Failure ]
+[ Mavericks ] fast/forms/input-appearance-spinbutton-up.html [ Failure ]
+[ Mavericks ] fast/forms/input-appearance-spinbutton.html [ Failure ]
platform/mac/fast/text/vertical-no-sideways.html [ Pass Failure ]
fast/css/resize-corner-tracking.html [ Pass Failure ]
Deleted: trunk/LayoutTests/platform/mac/fast/forms/attributed-strings-expected.txt (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/attributed-strings-expected.txt 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/attributed-strings-expected.txt 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,10 +0,0 @@
-test
-4
-test
-4
-test
-NSForegroundColor,NSToolTip,NSFont,NSObliqueness
-NSToolTip,NSForegroundColor,NSFont
-0.5
-undefined
-NSDeviceRGBColorSpace 1 0.5 1 0.5
Deleted: trunk/LayoutTests/platform/mac/fast/forms/attributed-strings.html (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/attributed-strings.html 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/attributed-strings.html 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,70 +0,0 @@
-<html>
-<head>
-<style>
-body { margin: 0; padding: 0 }
-</style>
-</head>
-<body>
-<div id="test" contenteditable>FAILURE</div>
-<p id="console"></p>
-<script type="text/_javascript_">
-
- var console_messages = document.createElement("ol");
-
- function log(message)
- {
- var item = document.createElement("li");
- item.appendChild(document.createTextNode(message));
- console_messages.appendChild(item);
- }
-
- if (window.testRunner) {
-
- try {
-
- testRunner.dumpAsText();
- document.getElementById("test").focus();
-
- var substr = textInputController.attributedSubstringFromRange(0, 2);
-// log(substr); -- attributedSubstringFromRange is not implemented in WebKit yet
-
- var attrString = textInputController.makeAttributedString("test");
- log(attrString.getAttributeNamesAtIndex(0));
- log(attrString.length());
- log(attrString.string());
-
- attrString.addAttribute("NSToolTip", "Tool Tip");
- attrString.addFontAttribute("NSFont", "Monaco", 14);
- attrString.addColorAttribute("NSForegroundColor", 1, 1, 1, 0.5);
-
- attrString.addFontAttributeForRange("NSFont", "Monaco", 12, 0, 2);
- attrString.addColorAttributeForRange("NSForegroundColor", 1, 0.5, 1, 0.5, 0, 2);
- attrString.addAttributeForRange("NSObliqueness", 0.5, 0, 2);
-
- log(attrString.length());
- log(attrString.string());
-
- log(attrString.getAttributeNamesAtIndex(0));
- log(attrString.getAttributeNamesAtIndex(3));
-
- log(attrString.getAttributeValueAtIndex("NSObliqueness", 0));
- log(attrString.getAttributeValueAtIndex("NSObliqueness", 3));
-
- log(attrString.getAttributeValueAtIndex("NSForegroundColor", 1));
-
- document.execCommand("SelectAll");
-
- textInputController.insertText(attrString);
-
- } catch (ex) {
- document.write("Exception: " + ex.description);
- }
-
- document.getElementById("console").appendChild(console_messages);
-
- } else {
- document.write("(cannot run interactively)");
- }
-</script>
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page-expected.txt (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page-expected.txt 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page-expected.txt 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,15 +0,0 @@
-https://bugs.webkit.org/show_bug.cgi?id=68412 - This test checks to see if option(alt)-tabbing properly focuses form elements that are normally not focused. For testing, the assumption is that by default pressing tab will skip over buttons, and option-tab will include buttons.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-
-Pressing tab 4 times:
-PASS result is " /1:focused text field /2: /3:focused text field /4:"
-Pressing shift-tab 4 times:
-PASS result is " /1:focused text field /2: /3:focused text field /4:"
-Pressing option-tab 4 times:
-PASS result is " /1:focused first button /2:focused text field /3:focused second button /4:"
-Pressing shift-option-tab 4 times:
-PASS result is " /1:focused second button /2:focused text field /3:focused first button /4:"
-
Deleted: trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page.html (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page.html 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/focus-option-control-on-page.html 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,15 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-<script src=""
-</head>
-<body>
-<p id="description"></p>
-<input type="button" _onfocus_="log('focused first button')" value="1">
-<input type="text" _onfocus_="log('focused text field')" value="2">
-<input type="button" _onfocus_="log('focused second button')" value="3">
-<div id="console"></div>
-<script src=""
-<script src=""
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height-expected.txt (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height-expected.txt 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height-expected.txt 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,2 +0,0 @@
-
-system-styled indeterminate progress bar height should be > 0, was: 21
Deleted: trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height.html (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height.html 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/indeterminate-progress-inline-height.html 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,7 +0,0 @@
-<progress style="height: 0;"></progress><br/>
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-
-document.write("system-styled indeterminate progress bar height should be > 0, was: " + document.getElementsByTagName("progress")[0].offsetHeight);
-</script>
Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.txt (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.txt 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-expected.txt 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,239 +0,0 @@
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {P} at (0,0) size 784x18
- RenderText {#text} at (0,0) size 241x18
- text run at (0,0) width 241: "Test appearances of outer-spin-button."
- RenderBlock {DIV} at (0,34) size 784x0
- RenderBlock {DIV} at (0,34) size 784x528
- RenderTable {TABLE} at (0,0) size 466x528
- RenderTableSection {TBODY} at (0,0) size 466x528
- RenderTableRow {TR} at (0,2) size 466x524
- RenderTableCell {TD} at (2,81) size 189x366 [r=0 c=0 rs=1 cs=1]
- RenderBlock {DIV} at (1,1) size 187x35
- RenderTextControl {INPUT} at (0,3) size 106x16 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderText {#text} at (105,0) size 5x18
- text run at (105,0) width 5: " "
- RenderBR {BR} at (109,14) size 1x0
- RenderTextControl {INPUT} at (0,19) size 106x16 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 100x10
- RenderBlock {DIV} at (0,0) size 87x10
- RenderBlock {DIV} at (1,36) size 187x36
- RenderTextControl {INPUT} at (0,2) size 116x17 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderText {#text} at (115,0) size 5x18
- text run at (115,0) width 5: " "
- RenderBR {BR} at (119,14) size 1x0
- RenderTextControl {INPUT} at (0,19) size 116x17 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 110x11
- RenderBlock {DIV} at (0,0) size 97x11
- RenderBlock {DIV} at (1,72) size 187x37
- RenderTextControl {INPUT} at (0,1) size 126x18 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderText {#text} at (125,0) size 5x18
- text run at (125,0) width 5: " "
- RenderBR {BR} at (129,14) size 1x0
- RenderTextControl {INPUT} at (0,19) size 126x18 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 120x12
- RenderBlock {DIV} at (0,0) size 107x12
- RenderBlock {DIV} at (1,109) size 187x46
- RenderTextControl {INPUT} at (2,2) size 137x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderText {#text} at (140,2) size 5x18
- text run at (140,2) width 5: " "
- RenderBR {BR} at (144,16) size 1x0
- RenderTextControl {INPUT} at (2,25) size 137x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 131x13
- RenderBlock {DIV} at (0,0) size 118x13
- RenderBlock {DIV} at (1,155) size 187x50
- RenderTextControl {INPUT} at (2,2) size 148x21 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderText {#text} at (151,3) size 5x18
- text run at (151,3) width 5: " "
- RenderBR {BR} at (155,17) size 1x0
- RenderTextControl {INPUT} at (2,27) size 148x21 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 142x15
- RenderBlock {DIV} at (0,0) size 129x15
- RenderBlock {DIV} at (1,205) size 187x52
- RenderTextControl {INPUT} at (2,2) size 159x22 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderText {#text} at (162,4) size 5x18
- text run at (162,4) width 5: " "
- RenderBR {BR} at (166,18) size 1x0
- RenderTextControl {INPUT} at (2,28) size 159x22 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 153x16
- RenderBlock {DIV} at (0,0) size 138x16
- RenderBlock {DIV} at (1,257) size 187x54
- RenderTextControl {INPUT} at (2,2) size 169x23 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderText {#text} at (172,5) size 5x18
- text run at (172,5) width 5: " "
- RenderBR {BR} at (176,19) size 1x0
- RenderTextControl {INPUT} at (2,29) size 169x23 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 163x17
- RenderBlock {DIV} at (0,0) size 148x17
- RenderBlock {DIV} at (1,311) size 187x54
- RenderTextControl {INPUT} at (2,2) size 179x23 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderText {#text} at (182,5) size 5x18
- text run at (182,5) width 5: " "
- RenderBR {BR} at (186,19) size 1x0
- RenderTextControl {INPUT} at (2,29) size 179x23 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 173x17
- RenderBlock {DIV} at (0,0) size 158x17
- RenderTableCell {TD} at (193,2) size 271x524 [r=0 c=1 rs=1 cs=1]
- RenderBlock {DIV} at (1,1) size 269x56
- RenderTextControl {INPUT} at (2,2) size 190x24 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderText {#text} at (193,6) size 5x18
- text run at (193,6) width 5: " "
- RenderBR {BR} at (197,20) size 1x0
- RenderTextControl {INPUT} at (2,30) size 190x24 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 184x18
- RenderBlock {DIV} at (0,0) size 169x18
- RenderBlock {DIV} at (1,57) size 269x60
- RenderTextControl {INPUT} at (2,2) size 201x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderText {#text} at (204,7) size 5x18
- text run at (204,7) width 5: " "
- RenderBR {BR} at (208,21) size 1x0
- RenderTextControl {INPUT} at (2,32) size 201x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 195x20
- RenderBlock {DIV} at (0,0) size 180x20
- RenderBlock {DIV} at (1,117) size 269x62
- RenderTextControl {INPUT} at (2,2) size 210x27 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderText {#text} at (213,8) size 5x18
- text run at (213,8) width 5: " "
- RenderBR {BR} at (217,22) size 1x0
- RenderTextControl {INPUT} at (2,33) size 210x27 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 204x21
- RenderBlock {DIV} at (0,0) size 185x21
- RenderBlock {DIV} at (1,179) size 269x64
- RenderTextControl {INPUT} at (2,2) size 220x28 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderText {#text} at (223,9) size 5x18
- text run at (223,9) width 5: " "
- RenderBR {BR} at (227,23) size 1x0
- RenderTextControl {INPUT} at (2,34) size 220x28 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 214x22
- RenderBlock {DIV} at (0,0) size 195x22
- RenderBlock {DIV} at (1,243) size 269x66
- RenderTextControl {INPUT} at (2,2) size 229x29 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderText {#text} at (232,10) size 5x18
- text run at (232,10) width 5: " "
- RenderBR {BR} at (236,24) size 1x0
- RenderTextControl {INPUT} at (2,35) size 229x29 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 223x23
- RenderBlock {DIV} at (0,0) size 204x23
- RenderBlock {DIV} at (1,309) size 269x68
- RenderTextControl {INPUT} at (2,2) size 240x30 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderText {#text} at (243,11) size 5x18
- text run at (243,11) width 5: " "
- RenderBR {BR} at (247,25) size 1x0
- RenderTextControl {INPUT} at (2,36) size 240x30 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 234x24
- RenderBlock {DIV} at (0,0) size 215x24
- RenderBlock {DIV} at (1,377) size 269x72
- RenderTextControl {INPUT} at (2,2) size 251x32 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderText {#text} at (254,12) size 5x18
- text run at (254,12) width 5: " "
- RenderBR {BR} at (258,26) size 1x0
- RenderTextControl {INPUT} at (2,38) size 251x32 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 245x26
- RenderBlock {DIV} at (0,0) size 226x26
- RenderBlock {DIV} at (1,449) size 269x74
- RenderTextControl {INPUT} at (2,2) size 261x33 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderText {#text} at (264,13) size 5x18
- text run at (264,13) width 5: " "
- RenderBR {BR} at (268,27) size 1x0
- RenderTextControl {INPUT} at (2,39) size 261x33 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 255x27
- RenderBlock {DIV} at (0,0) size 236x27
-layer at (14,130) size 99x10
- RenderBlock {DIV} at (3,3) size 100x10
-layer at (14,146) size 86x10
- RenderBlock {DIV} at (0,0) size 87x10
-layer at (14,164) size 109x11
- RenderBlock {DIV} at (3,3) size 110x11
-layer at (14,181) size 96x11
- RenderBlock {DIV} at (0,0) size 97x11
-layer at (14,199) size 119x12
- RenderBlock {DIV} at (3,3) size 120x12
-layer at (14,217) size 106x12
- RenderBlock {DIV} at (0,0) size 107x12
-layer at (16,237) size 130x13
- RenderBlock {DIV} at (3,3) size 131x13
-layer at (16,260) size 117x13
- RenderBlock {DIV} at (0,0) size 118x13
-layer at (16,283) size 141x15
- RenderBlock {DIV} at (3,3) size 142x15
-layer at (16,308) size 128x15
- RenderBlock {DIV} at (0,0) size 129x15
-layer at (16,333) size 152x16
- RenderBlock {DIV} at (3,3) size 153x16
-layer at (16,359) size 137x16
- RenderBlock {DIV} at (0,0) size 138x16
-layer at (16,385) size 162x17
- RenderBlock {DIV} at (3,3) size 163x17
-layer at (16,412) size 147x17
- RenderBlock {DIV} at (0,0) size 148x17
-layer at (16,439) size 173x17
- RenderBlock {DIV} at (3,3) size 173x17
-layer at (16,466) size 158x17
- RenderBlock {DIV} at (0,0) size 158x17
-layer at (207,50) size 183x18
- RenderBlock {DIV} at (3,3) size 184x18
-layer at (207,78) size 168x18
- RenderBlock {DIV} at (0,0) size 169x18
-layer at (207,106) size 194x20
- RenderBlock {DIV} at (3,3) size 195x20
-layer at (207,136) size 179x20
- RenderBlock {DIV} at (0,0) size 180x20
-layer at (207,166) size 203x21
- RenderBlock {DIV} at (3,3) size 204x21
-layer at (207,197) size 184x21
- RenderBlock {DIV} at (0,0) size 185x21
-layer at (207,228) size 213x22
- RenderBlock {DIV} at (3,3) size 214x22
-layer at (207,260) size 194x22
- RenderBlock {DIV} at (0,0) size 195x22
-layer at (207,292) size 223x23
- RenderBlock {DIV} at (3,3) size 223x23
-layer at (207,325) size 204x23
- RenderBlock {DIV} at (0,0) size 204x23
-layer at (207,358) size 233x24
- RenderBlock {DIV} at (3,3) size 234x24
-layer at (207,392) size 214x24
- RenderBlock {DIV} at (0,0) size 215x24
-layer at (207,426) size 244x26
- RenderBlock {DIV} at (3,3) size 245x26
-layer at (207,462) size 225x26
- RenderBlock {DIV} at (0,0) size 226x26
-layer at (207,498) size 255x27
- RenderBlock {DIV} at (3,3) size 255x27
-layer at (207,535) size 236x27
- RenderBlock {DIV} at (0,0) size 236x27
-layer at (101,145) size 13x12
- RenderBlock (relative positioned) {DIV} at (87,-1) size 14x12
-layer at (111,180) size 13x13
- RenderBlock (relative positioned) {DIV} at (97,-1) size 14x13
-layer at (121,216) size 13x14
- RenderBlock (relative positioned) {DIV} at (107,-1) size 14x14
-layer at (134,259) size 13x15
- RenderBlock (relative positioned) {DIV} at (118,-1) size 14x15
-layer at (145,307) size 13x17
- RenderBlock (relative positioned) {DIV} at (129,-1) size 14x17
-layer at (154,358) size 15x18
- RenderBlock (relative positioned) {DIV} at (138,-1) size 16x18
-layer at (164,411) size 15x19
- RenderBlock (relative positioned) {DIV} at (148,-1) size 16x19
-layer at (175,465) size 15x19
- RenderBlock (relative positioned) {DIV} at (158,-1) size 16x19
-layer at (376,77) size 15x20
- RenderBlock (relative positioned) {DIV} at (169,-1) size 16x20
-layer at (387,135) size 15x22
- RenderBlock (relative positioned) {DIV} at (180,-1) size 16x22
-layer at (392,196) size 19x23
- RenderBlock (relative positioned) {DIV} at (185,-1) size 20x23
-layer at (402,259) size 19x24
- RenderBlock (relative positioned) {DIV} at (195,-1) size 20x24
-layer at (412,324) size 19x25
- RenderBlock (relative positioned) {DIV} at (204,-1) size 20x25
-layer at (422,391) size 19x26
- RenderBlock (relative positioned) {DIV} at (215,-1) size 20x26
-layer at (433,461) size 19x28
- RenderBlock (relative positioned) {DIV} at (226,-1) size 20x28
-layer at (444,534) size 19x29
- RenderBlock (relative positioned) {DIV} at (236,-1) size 20x29
Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size-expected.txt (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size-expected.txt 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size-expected.txt 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,29 +0,0 @@
-Test sizes of outer-spin-button. A spin-button height should be equal to or less than the corresponding text field height.
-
-PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
-PASS spinButton.offsetHeight <= input.offsetHeight + 6 is true
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
-
-
-
-
-
-
-
-
-
-
-
Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size.html (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size.html 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-size.html 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<script src=""
-<style>
-.button {
- -webkit-appearance: outer-spin-button;
- display: inline-block;
-}
-</style>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-
-<script>
-document.getElementById('description').innerHTML = 'Test sizes of outer-spin-button. A spin-button height should be equal to or less than the corresponding text field height.';
-
-var body = document.body;
-for (var size = 8; size < 20; size++) {
- var div = document.createElement('div');
- body.appendChild(div);
- div.innerHTML = '<input style="font-size:' + size + 'px" id=input' + size + '>'
- + '<span class="button" style="font-size:' + size + 'px" id=span' + size + '></span>';
- var input = document.getElementById('input' + size);
- var spinButton = document.getElementById('span' + size);
- // 6 is border-top + border-bottom + padding-top + padding-bottom in the default style.
- shouldBeTrue('spinButton.offsetHeight <= input.offsetHeight + 6');
-}
-
-</script>
-<script src=""
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,22 +0,0 @@
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {P} at (0,0) size 784x18
- RenderText {#text} at (0,0) size 430x18
- text run at (0,0) width 430: "Test appearances of outer-spin-button with its up button highlighted."
- RenderBlock {DIV} at (0,34) size 784x0
- RenderBlock (anonymous) at (0,34) size 784x31
- RenderTextControl {INPUT} at (2,2) size 210x27 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
- RenderFlexibleBox {DIV} at (3,3) size 204x21
- RenderBlock {DIV} at (0,0) size 185x21
- RenderText {#text} at (0,0) size 0x0
- RenderText {#text} at (0,0) size 0x0
-layer at (13,47) size 184x21
- RenderBlock {DIV} at (0,0) size 185x21
- RenderText {#text} at (0,0) size 11x21
- text run at (0,0) width 11: "1"
-layer at (198,46) size 19x23
- RenderBlock (relative positioned) {DIV} at (185,-1) size 20x23
-caret: position 1 of child 0 {#text} of child 0 {DIV} of child 0 {DIV} of child 0 {DIV} of {#document-fragment} of child 5 {INPUT} of body
Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up.html (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up.html 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton-up.html 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,22 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<style>
-</style>
-</head>
-<body>
-<p>Test appearances of outer-spin-button with its up button highlighted.</p>
-<div id=console></div>
-<input type=number style="font-size: 18px;" id=number value=0>
-
-<script>
-if (window.eventSender) {
- var input = document.getElementById('number');
- eventSender.mouseMoveTo(input.offsetLeft + input.offsetWidth - 8, input.offsetTop + 6);
- eventSender.mouseDown();
-} else {
- document.getElementById('console').innerHTML = '<p>Manual test: Press the primary button of the pointing device on the upper button. Check if the upper button is correctly highlighted.</p>';
-}
-</script>
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton.html (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton.html 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/input-appearance-spinbutton.html 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,23 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<style>
-</style>
-</head>
-<body>
-<p>Test appearances of outer-spin-button.</p>
-<div id="console"></div>
-
-<script>
-var parent = document.createElement('div');
-document.body.appendChild(parent);
-parent.innerHTML = '<table><tr><td id=p1><td id=p2></tr></table>';
-for (var size = 8; size < 24; size++) {
- var div = document.createElement('div');
- document.getElementById(size < (24 + 8) / 2 ? 'p1' : 'p2').appendChild(div);
- div.innerHTML = '<input style="font-size:' + size + 'px"> <br>'
- + '<input style="font-size:' + size + 'px" type=number>';
-}
-</script>
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-number-click-expected.txt (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/input-number-click-expected.txt 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/input-number-click-expected.txt 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,22 +0,0 @@
-
-Test for the spin control behavior in a type=numnber input.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Initial value is 3.14, click the up button once
-PASS i.value is "4.14"
-Click the up button again. The maximum value is 5.
-PASS i.value is "4.14"
-Click the down button four times
-PASS i.value is "0.14"
-Click the down button again. The minimum value is 0.
-PASS i.value is "0.14"
-Make the control "disabled" and click the up button
-PASS i.value is "0.14"
-Make the control "readOnly" and click the up button
-PASS i.value is "0.14"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
Deleted: trunk/LayoutTests/platform/mac/fast/forms/input-number-click.html (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/input-number-click.html 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/input-number-click.html 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,72 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<script src=""
-</head>
-<body>
-
-<input id=i1 type=number value="3.14" autofocus step=1 min="0.14" max=5>
-
-<p id="description"></p>
-<div id="console"></div>
-<script>
-description('Test for the spin control behavior in a type=numnber input.');
-
-if (window.eventSender) {
- debug('Initial value is 3.14, click the up button once');
- // The spin control is at (130,-1) in the input element on Mac.
- // The size is 15x22.
- var i = document.getElementById('i1');
- eventSender.mouseMoveTo(i.offsetLeft + i.offsetWidth - 4, i.offsetTop + 4);
- eventSender.mouseDown();
- eventSender.mouseUp();
- // The up button has been clicked.
- shouldBe('i.value', '"4.14"');
-
- debug('Click the up button again. The maximum value is 5.');
- eventSender.mouseDown();
- eventSender.mouseUp();
- // The maximum value is 5. So the value is not changed.
- shouldBe('i.value', '"4.14"');
-
- debug('Click the down button four times');
- eventSender.mouseMoveTo(i.offsetLeft + i.offsetWidth - 4, i.offsetTop + 15);
- eventSender.mouseDown();
- eventSender.mouseUp();
- eventSender.mouseDown();
- eventSender.mouseUp();
- eventSender.mouseDown();
- eventSender.mouseUp();
- eventSender.mouseDown();
- eventSender.mouseUp();
- shouldBe('i.value', '"0.14"');
-
- debug('Click the down button again. The minimum value is 0.');
- // The minimum value is 0. So the value is not changed.
- eventSender.mouseDown();
- eventSender.mouseUp();
- shouldBe('i.value', '"0.14"');
-
- debug('Make the control "disabled" and click the up button');
- i.disabled = true;
- eventSender.mouseMoveTo(i.offsetLeft + i.offsetWidth - 4, i.offsetTop + 4);
- eventSender.mouseDown();
- eventSender.mouseUp();
- shouldBe('i.value', '"0.14"');
- i.disabled = false;
-
- debug('Make the control "readOnly" and click the up button');
- i.readOnly = true;
- eventSender.mouseMoveTo(i.offsetLeft + i.offsetWidth - 4, i.offsetTop + 4);
- eventSender.mouseDown();
- eventSender.mouseUp();
- shouldBe('i.value', '"0.14"');
- i.readOnly = false;
-} else {
- document.getElementById('console').innerHTML = 'No eventSender';
-}
-
-</script>
-<script src=""
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test-expected.txt (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test-expected.txt 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test-expected.txt 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,10 +0,0 @@
-
-Testing clicks on select1
-Scrolled down by itemHeight on down arrow click: PASS
-Scrolled up by itemHeight on up arrow click: PASS
-
-Testing clicks on select2
-Scrolled down by itemHeight on down arrow click: PASS
-Scrolled up by itemHeight on up arrow click: PASS
-
-
Deleted: trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test.html (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test.html 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test.html 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,112 +0,0 @@
-<html>
-<head>
- <title>Listbox scrollbar hit testing</title>
- <style type="text/css" media="screen">
- select {
- border: 20px inset gray;
- padding: 10px;
- }
-
- #results {
- margin-top: 50px;
- }
- </style>
- <script type="text/_javascript_" charset="utf-8">
- function sendClick(element, clientX, clientY)
- {
- if (window.eventSender) {
- eventSender.mouseMoveTo(clientX, clientY);
- eventSender.mouseDown();
- eventSender.mouseUp();
- }
- }
-
- function mouseDownOnSelect(selId, translateX, translateY)
- {
- log('Testing clicks on ' + selId);
-
- var selectElement = document.getElementById(selId);
- var itemHeight = 14;
- var border = 20;
- var scrollbarWidth = 10;
- var scrollbarButtonHeight = 12;
-
- var scrollbarMidX = translateX + selectElement.offsetLeft + selectElement.offsetWidth - border - scrollbarWidth / 2;
- // Recall that DRT runs with both scroll arrows at the end of the scrollbar
- var scrollbarTopArrowY = translateY + selectElement.offsetTop + selectElement.offsetHeight - border - scrollbarButtonHeight - 3;
- var scrollbarBottomArrowY = translateY + selectElement.offsetTop + selectElement.offsetHeight - border - 3;
-
- sendClick(selectElement, scrollbarMidX, scrollbarBottomArrowY);
- sendClick(selectElement, scrollbarMidX, scrollbarBottomArrowY);
- if (selectElement.scrollTop == 2 * itemHeight)
- log('Scrolled down by itemHeight on down arrow click: PASS');
- else
- log('Failed to scroll down - scrollTop is ' + selectElement.scrollTop + ': FAIL');
-
- sendClick(selectElement, scrollbarMidX, scrollbarTopArrowY);
- if (selectElement.scrollTop == itemHeight)
- log('Scrolled up by itemHeight on up arrow click: PASS');
- else
- log('Failed to scroll up - scrollTop is ' + selectElement.scrollTop + ': FAIL');
-
- log('');
- }
-
- function log(msg)
- {
- var results = document.getElementById('results');
- results.innerHTML += msg + '<br>';
- }
-
- function test()
- {
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- if (!window.eventSender) {
- log('This test only runs in DRT');
- }
-
- // Have to wait for the select to be painted before the
- // scrollbar is sized correctly.
- setTimeout(function() {
- mouseDownOnSelect('select1', 0, 0);
- mouseDownOnSelect('select2', 50, 50);
- if (window.testRunner)
- testRunner.notifyDone();
- }, 0);
- }
- </script>
-</head>
-<body _onload_="test()">
-
- <select id="select1" size="5">
- <option selected value="0">item 0</option>
- <option value="1">item 1</option>
- <option value="2">item 2</option>
- <option value="3">item 3</option>
- <option value="4">item 4</option>
- <option value="5">item 5</option>
- <option value="6">item 6</option>
- <option value="7">item 7</option>
- <option value="8">item 8</option>
- </select>
-
- <select id="select2" size="5" style="-webkit-transform: translate(50px, 50px);">
- <option selected value="0">item 0</option>
- <option value="1">item 1</option>
- <option value="2">item 2</option>
- <option value="3">item 3</option>
- <option value="4">item 4</option>
- <option value="5">item 5</option>
- <option value="6">item 6</option>
- <option value="7">item 7</option>
- <option value="8">item 8</option>
- </select>
-
- <div id="results">
- </div>
-</body>
-</html>
Deleted: trunk/LayoutTests/platform/mac/fast/forms/script-tests/focus-option-control-on-page.js (188158 => 188159)
--- trunk/LayoutTests/platform/mac/fast/forms/script-tests/focus-option-control-on-page.js 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac/fast/forms/script-tests/focus-option-control-on-page.js 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,60 +0,0 @@
-description('https://bugs.webkit.org/show_bug.cgi?id=68412 - This test checks to see if option(alt)-tabbing properly focuses form elements that are normally not focused. For testing, the assumption is that by default pressing tab will skip over buttons, and option-tab will include buttons.');
-
-var iteration = 0;
-var modifiers;
-var result;
-function startTest() {
- debug("Pressing tab 4 times:");
- modifiers = undefined;
- testRunner.focusWebView(runKeyPresses);
-}
-
-function runKeyPresses() {
- result = '';
- for (var i = 0; i < 4; ++i) {
- result += ' /' + (i + 1) + ':';
- eventSender.keyDown("\t", modifiers);
- }
- iteration++;
- switch (iteration) {
- case 1:
- shouldBe('result', '" /1:focused text field /2: /3:focused text field /4:"');
- debug("Pressing shift-tab 4 times:");
- modifiers = ["shiftKey"];
- testRunner.focusWebView(runKeyPresses);
- break;
- case 2:
- shouldBe('result', '" /1:focused text field /2: /3:focused text field /4:"');
- debug("Pressing option-tab 4 times:");
- modifiers = ["altKey"];
- testRunner.focusWebView(runKeyPresses);
- break;
- case 3:
- shouldBe('result', '" /1:focused first button /2:focused text field /3:focused second button /4:"');
- debug("Pressing shift-option-tab 4 times:");
- modifiers = ["shiftKey", "altKey"];
- testRunner.focusWebView(runKeyPresses);
- break;
- case 4:
- shouldBe('result', '" /1:focused second button /2:focused text field /3:focused first button /4:"');
- testRunner.removeChromeInputField(notifyDone);
- break;
- }
-}
-
-function notifyDone() {
- setTimeout(function() { testRunner.notifyDone(); }, 0);
-}
-
-function log(val) {
- result += val;
-}
-
-/////////////////////////////////
-if (window.testRunner && window.eventSender && testRunner.addChromeInputField) {
- window.jsTestIsAsync = true;
- testRunner.addChromeInputField(startTest);
-} else
- finishJSTest();
-
-var successfullyParsed = true;
Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (188158 => 188159)
--- trunk/LayoutTests/platform/mac-wk1/TestExpectations 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations 2015-08-07 21:07:40 UTC (rev 188159)
@@ -1,6 +1,16 @@
# This file should contain entries for expectations that are specific
# to the Apple Mac port running WebKit1 (DumpRenderTree)
+#//////////////////////////////////////////////////////////////////////////////////////////
+# Platform-specific tests. Skipped globally, then re-enabled here.
+#//////////////////////////////////////////////////////////////////////////////////////////
+
+fast/forms/attributed-strings.html [ Pass ]
+
+#//////////////////////////////////////////////////////////////////////////////////////////
+# End platform-specific directories.
+#//////////////////////////////////////////////////////////////////////////////////////////
+
###### This file has two sections. When adding new tests, make sure to
###### add to the right section:
Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (188158 => 188159)
--- trunk/LayoutTests/platform/mac-wk2/TestExpectations 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations 2015-08-07 21:07:40 UTC (rev 188159)
@@ -113,7 +113,6 @@
http/tests/security/drag-over-remote-content-iframe.html
editing/mac/pasteboard/dataTransfer-set-data-file-url.html
editing/mac/pasteboard/drag-selections-to-contenteditable.html
-platform/mac/fast/forms/listbox-scrollbar-hit-test.html
editing/pasteboard/drag-drop-paragraph-crasher.html
# [WK2] [Mac] Spellcheck tests don't seem to work
Modified: trunk/LayoutTests/platform/wk2/TestExpectations (188158 => 188159)
--- trunk/LayoutTests/platform/wk2/TestExpectations 2015-08-07 20:45:52 UTC (rev 188158)
+++ trunk/LayoutTests/platform/wk2/TestExpectations 2015-08-07 21:07:40 UTC (rev 188159)
@@ -109,7 +109,6 @@
editing/mac/pasteboard/paste-and-match-style-selector-event.html
editing/mac/selection/25228.html
platform/mac/fast/dom/character-index-for-point.html
-platform/mac/fast/forms/attributed-strings.html
platform/mac/fast/text/attributed-substring-from-range-001.html
platform/mac/fast/text/attributed-substring-from-range-002.html
platform/mac/fast/text/attributed-substring-from-range-in-textfield.html
@@ -540,9 +539,6 @@
# Mysterious failure after enabling paste tests
editing/mac/pasteboard/text-precomposed.html
-# An empty layer is missing.
-platform/mac/fast/forms/input-appearance-spinbutton-up.html
-
# [WK2] http/tests/security/local-image-from-remote-whitelisted.html crashes
# https://bugs.webkit.org/show_bug.cgi?id=73435
http/tests/security/local-image-from-remote-whitelisted.html