[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-10851-g50815da
arv at chromium.org
arv at chromium.org
Wed Dec 22 17:55:20 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit b80a2540a8273132f82f20a66657f082ccb3f696
Author: arv at chromium.org <arv at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Dec 2 19:21:48 2010 +0000
2010-12-02 Erik Arvidsson <arv at chromium.org>
Reviewed by Darin Adler.
Missing DOM property for incremental input attribute
https://bugs.webkit.org/show_bug.cgi?id=50335
* fast/forms/incremental-dom-property-expected.txt: Added.
* fast/forms/incremental-dom-property.html: Added.
* fast/forms/script-tests/incremental-dom-property.js: Added.
2010-12-02 Erik Arvidsson <arv at chromium.org>
Reviewed by Darin Adler.
Missing DOM property for incremental input attribute
https://bugs.webkit.org/show_bug.cgi?id=50335
Test: fast/forms/incremental-dom-property.html
* html/HTMLInputElement.idl: Added attribute
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index fb03b69..ed44c75 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,14 @@
+2010-12-02 Erik Arvidsson <arv at chromium.org>
+
+ Reviewed by Darin Adler.
+
+ Missing DOM property for incremental input attribute
+ https://bugs.webkit.org/show_bug.cgi?id=50335
+
+ * fast/forms/incremental-dom-property-expected.txt: Added.
+ * fast/forms/incremental-dom-property.html: Added.
+ * fast/forms/script-tests/incremental-dom-property.js: Added.
+
2010-12-02 Tony Chang <tony at chromium.org>
Unreviewed, update DRT crash on mac.
diff --git a/LayoutTests/fast/forms/incremental-dom-property-expected.txt b/LayoutTests/fast/forms/incremental-dom-property-expected.txt
new file mode 100644
index 0000000..192de32
--- /dev/null
+++ b/LayoutTests/fast/forms/incremental-dom-property-expected.txt
@@ -0,0 +1,13 @@
+Test for https://bugs.webkit.org/show_bug.cgi?id=50335
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS input.incremental is true
+PASS input.incremental is false
+PASS input.hasAttribute("incremental") is true
+PASS input.hasAttribute("incremental") is false
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/fast/forms/incremental-dom-property.html b/LayoutTests/fast/forms/incremental-dom-property.html
new file mode 100644
index 0000000..64fdcbf
--- /dev/null
+++ b/LayoutTests/fast/forms/incremental-dom-property.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
+<script src="../../fast/js/resources/js-test-pre.js"></script>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script src="script-tests/incremental-dom-property.js"></script>
+<script src="../../fast/js/resources/js-test-post.js"></script>
+</body>
+</html>
diff --git a/LayoutTests/fast/forms/script-tests/incremental-dom-property.js b/LayoutTests/fast/forms/script-tests/incremental-dom-property.js
new file mode 100644
index 0000000..3c891e4
--- /dev/null
+++ b/LayoutTests/fast/forms/script-tests/incremental-dom-property.js
@@ -0,0 +1,17 @@
+description('Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=50335">https://bugs.webkit.org/show_bug.cgi?id=50335</a>');
+
+var input = document.createElement('input');
+
+input.setAttribute('incremental', '')
+shouldBeTrue('input.incremental');
+
+input.removeAttribute('incremental');
+shouldBeFalse('input.incremental');
+
+input.incremental = true;
+shouldBeTrue('input.hasAttribute("incremental")');
+
+input.incremental = false;
+shouldBeFalse('input.hasAttribute("incremental")');
+
+var successfullyParsed = true;
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 3adf279..26e3072 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,14 @@
+2010-12-02 Erik Arvidsson <arv at chromium.org>
+
+ Reviewed by Darin Adler.
+
+ Missing DOM property for incremental input attribute
+ https://bugs.webkit.org/show_bug.cgi?id=50335
+
+ Test: fast/forms/incremental-dom-property.html
+
+ * html/HTMLInputElement.idl: Added attribute
+
2010-12-02 John Knottenbelt <jknotten at chromium.org>
Reviewed by Steve Block.
diff --git a/WebCore/html/HTMLInputElement.idl b/WebCore/html/HTMLInputElement.idl
index 342e9b8..f346e10 100644
--- a/WebCore/html/HTMLInputElement.idl
+++ b/WebCore/html/HTMLInputElement.idl
@@ -70,6 +70,7 @@ module html {
#if defined(ENABLE_DATALIST) && ENABLE_DATALIST
readonly attribute HTMLOptionElement selectedOption;
#endif
+ attribute [Reflect] boolean incremental;
void stepUp(in [Optional] long n) raises(DOMException);
void stepDown(in [Optional] long n) raises(DOMException);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list