Stone Shih
8a5d11ce9f
Bug 1305458 Part6: Move fire change event from HTMLTextAreaElement::GetEventTargetParent to PreHandleEvent. r=smaug
...
MozReview-Commit-ID: K0tuWlUOLw7
2016-10-21 17:33:41 +08:00
Stone Shih
b921261b1b
Bug 1305458 Part1: Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent. r=smaug
...
MozReview-Commit-ID: FM3vDUyLOCb
2016-10-21 10:11:07 +08:00
Aryeh Gregor
3f9b164401
Bug 1296929 - Match spec for col/colgroup.span, textarea.rows/cols; r=jst
...
The spec recently changed to match browsers better. There's currently
not much interop in exact details of how this work. This brings us in
line with the spec except for the limit of 1000 on the span attribute.
The added textarea failures are spurious, because I'm not updating our
local tests in this commit. The new tests are submitted upstream at
<https://github.com/w3c/web-platform-tests/pull/3518 >.
MozReview-Commit-ID: 1L8aUtF47Qi
2016-08-25 17:23:37 +03:00
Bobby Holley
8a8ef9811d
Bug 1295370 - Add missing include. r=ehsan
...
Including this header without this causes compilation problems.
2016-08-17 12:46:49 -07:00
Thomas Wisniewski
f8c3308791
Bug 932755 - Add support for input/textarea minLength and tooShort. r=mrbkap
2016-08-17 00:11:24 -04:00
Jessica Jong
e04ff71004
Bug 1281769 - Do not throw when getting selectionDirection/selectionStart/selectionEnd on input/textarea. r=smaug
2016-08-08 23:19:00 +02:00
Thomas Wisniewski
59fe578703
Bug 613019 - Track whether the last input/textarea change was done interactively, and enable the commented-out maxLength tracking code. r=mrbkap
2016-08-06 11:59:08 -04:00
Andrea Marchesini
790712f749
Bug 1279860 - part 1 - Renaming nsFormSubmission to mozilla::dom::HTMLFormSubmission, r=smaug
2016-06-16 08:24:16 +01:00
John Dai
f27c6c5b07
Bug 1088761 - Support reportValidity() for form controls. r=smaug
...
From 2c2f7223e9d88f431f3e3fee7384dffbca07d8a9 Mon Sep 17 00:00:00 2001
2016-04-15 16:13:00 +08:00
John Dai
44fea04816
Bug 1088761 - Remove redundant trailing spaces. r=smaug
...
From b52ed31558ac41e31b7a885a988475b07f3aa3fe Mon Sep 17 00:00:00 2001
2016-04-12 19:02:42 +08:00
Sebastian Hengst
3cf3818df6
Backed out changeset 3ff28843a8f8 (bug 1088761) for failing form-validation-reportValidity.html on OSX 10.10 debug. r=backout
2016-05-12 13:19:22 +02:00
Sebastian Hengst
5f84204d8d
Backed out changeset 403d9c085544 (bug 1088761)
2016-05-12 13:19:15 +02:00
John Dai
b8222b62fb
Bug 1088761 - Support reportValidity() for form controls. r=smaug
2016-05-11 04:24:00 +02:00
John Dai
401087a91c
Bug 1088761 - Remove redundant trailing spaces. r=smaug
2016-05-11 04:23:00 +02:00
Aryeh Gregor
46067b8a0c
Bug 1270499 - Setting reflected unsigned long to out-of-range value should set to default; r=bz
...
This changes to match the spec, which also aligns the behavior of get
and set (get already maps out-of-range values to the default value).
There is currently no interoperable behavior here, but this aligns us
with IE -- tested in 11, hopefully true for Edge too.
On the way, I also fixed the fact that video's height and width were
being treated as signed.
2016-05-05 21:29:54 +03:00
Masayuki Nakano
d36f87a852
Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug
2015-08-26 21:56:59 +09:00
Robert O'Callahan
e53ead4eb4
Bug 1184842. Allow BeforeSetAttr to preparse aValue. r=peterv
...
We will pass the preparsed value into AttributeWillChange.
2015-08-01 17:14:06 +12:00
Masayuki Nakano
9845694589
Bug 549674 part.1 Commit composition string at setting value of <input> or <textarea> r=smaug
2015-06-18 23:56:20 +09:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Andrea Marchesini
ad97ae68b8
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
3a822d99b4
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Tooru Fujisawa
1df47134f9
Bug 1141455 - Do not treat an element with tabindex as an interactive content in label. r=smaug
2015-03-18 05:42:14 +09:00
Tooru Fujisawa
b10a0c8ee5
Bug 229925 - Do not dispatch event to label target if interactive content is found between the event target and the label. r=smaug
2015-01-21 05:39:28 +09:00
Birunthan Mohanathas
86c0c5b215
Bug 946065 - Part 11: Move content/html/ to dom/ and flatten subdirectories. r=peterv
2014-10-25 20:24:55 +03:00