Title: [119699] trunk/LayoutTests
- Revision
- 119699
- Author
- [email protected]
- Date
- 2012-06-07 02:47:23 -0700 (Thu, 07 Jun 2012)
Log Message
[Forms] Improve test coverage of input-number-size.html
https://bugs.webkit.org/show_bug.cgi?id=88489
Reviewed by Kent Tamura.
This patch improves test coverage for NumberInputType::sizeShouldIncludeDecoration()
for preparation of introducing decimal arithmetic.
* fast/forms/number/input-number-size-expected.txt: Updated for a new test case.
* fast/forms/number/input-number-size.html: Added a test case.
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (119698 => 119699)
--- trunk/LayoutTests/ChangeLog 2012-06-07 09:42:57 UTC (rev 119698)
+++ trunk/LayoutTests/ChangeLog 2012-06-07 09:47:23 UTC (rev 119699)
@@ -1,3 +1,16 @@
+2012-06-07 Yoshifumi Inoue <[email protected]>
+
+ [Forms] Improve test coverage of input-number-size.html
+ https://bugs.webkit.org/show_bug.cgi?id=88489
+
+ Reviewed by Kent Tamura.
+
+ This patch improves test coverage for NumberInputType::sizeShouldIncludeDecoration()
+ for preparation of introducing decimal arithmetic.
+
+ * fast/forms/number/input-number-size-expected.txt: Updated for a new test case.
+ * fast/forms/number/input-number-size.html: Added a test case.
+
2012-06-07 Li Yin <[email protected]>
[FileAPI] FileReader should throw an InvalidStateError exception when readyState is LOADING
Modified: trunk/LayoutTests/fast/forms/number/input-number-size-expected.txt (119698 => 119699)
--- trunk/LayoutTests/fast/forms/number/input-number-size-expected.txt 2012-06-07 09:42:57 UTC (rev 119698)
+++ trunk/LayoutTests/fast/forms/number/input-number-size-expected.txt 2012-06-07 09:47:23 UTC (rev 119699)
@@ -77,6 +77,7 @@
PASS numberWidth(1.5, 2, 1) is textWidthPlusSpinButtonWidth(3)
PASS numberWidth(1.05, 2, 1) is textWidthPlusSpinButtonWidth(4)
PASS numberWidth(1.005, 2, 1) is textWidthPlusSpinButtonWidth(5)
+PASS numberWidth(123456, 123456, 0.0000005) is textWidthPlusSpinButtonWidth(14)
PASS successfullyParsed is true
Modified: trunk/LayoutTests/fast/forms/number/input-number-size.html (119698 => 119699)
--- trunk/LayoutTests/fast/forms/number/input-number-size.html 2012-06-07 09:42:57 UTC (rev 119698)
+++ trunk/LayoutTests/fast/forms/number/input-number-size.html 2012-06-07 09:47:23 UTC (rev 119699)
@@ -149,6 +149,8 @@
shouldBe('numberWidth(1.05, 2, 1)', 'textWidthPlusSpinButtonWidth(4)');
shouldBe('numberWidth(1.005, 2, 1)', 'textWidthPlusSpinButtonWidth(5)');
+shouldBe('numberWidth(123456, 123456, 0.0000005)', 'textWidthPlusSpinButtonWidth(14)');
+
debug('')
</script>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes