Commit Graph
93 Commits
Author SHA1 Message Date
James Graham a99f828ced Bug 1363982 - Update web-platform-tests to revision db6ed4bb451e44748cbb9af69d0a01c17a33571a a=testonly
MozReview-Commit-ID: KjIquC2PKKI
2017-05-11 18:01:46 +01:00
Jessica Jong da2abc2373 Bug 1358448 - Add wpt for cases when moving radio out of or into a form. r=smaug
MozReview-Commit-ID: AdXVNfg1eyw
2017-05-02 23:01:00 +02:00
James Graham 99f3698b17 Bug 1356225 - Update web-platform-tests to revision d519fe9011da7cfce7949f7ed826e9759dc5c532, a=testonly
MozReview-Commit-ID: GmGgeZxHy0j
2017-04-20 10:49:24 +01:00
Sebastian Hengst ae83546ec4 Backed out changeset e7024412b94e (bug 1356225)
MozReview-Commit-ID: Ib8aOAM6cQ2
2017-04-14 17:18:47 +02:00
James Graham 468eebfa83 Bug 1356225 - Update web-platform-tests to revision d519fe9011da7cfce7949f7ed826e9759dc5c532, a=testonly
MozReview-Commit-ID: GmGgeZxHy0j
2017-04-13 16:22:32 +01:00
Boris Zbarsky da71c6b619 Bug 1348119. Move the test for setRangeText setting the dirty value flag into upstream wpt. r=smaug
MozReview-Commit-ID: 6yF42plMkAE
2017-03-16 17:51:51 -04:00
James Graham 5dd72e6116 Bug 1347508 - Fix duplicate test names in selection test, r=AutomatedTester
MozReview-Commit-ID: 8ZyMh9j3xaL
2017-03-17 14:42:26 +00:00
James Graham 4d6265f684 Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly
MozReview-Commit-ID: 4wsHtf9312c
2017-03-17 14:34:25 +00:00
Carsten "Tomcat" Book cefa818f0c Backed out changeset 7b89ee0ae420 (bug 1348119) for causing merge conflicts 2017-03-17 14:45:57 +01:00
Boris Zbarsky 9d4ec409df Bug 1348119. Move the test for setRangeText setting the dirty value flag into upstream wpt. r=smaug
MozReview-Commit-ID: 6yF42plMkAE
2017-03-16 17:51:51 -04:00
Sebastian Hengst d0fc10c1f0 Backed out changeset d1a5149f5e9b (bug 1345490) for OSX, Windows and Linux stylo reftests and marionette failing with "No module named six.moves.urllib.parse". r=backout 2017-03-15 19:24:26 +01:00
Sebastian Hengst 70e2e17985 Backed out changeset 2e033635421c (bug 1347508) 2017-03-15 19:22:22 +01:00
James Graham ff9c7a62f3 Bug 1347508 - Fix duplicate test names in selection test, r=AutomatedTester
MozReview-Commit-ID: 8ZyMh9j3xaL
2017-03-15 15:20:53 +00:00
James Graham 398d1d56dc Bug 1345490 - Update web-platform-tests to revision 7c7db1b516b01394e19fad80094fbb81ab02ce75, a=testonly
MozReview-Commit-ID: 4wsHtf9312c
2017-03-15 15:20:53 +00:00
Boris Zbarsky 08408b8e31 Bug 1345237. Propagate uint32_t deeper into the editor state and text control frame code. r=mystor
MozReview-Commit-ID: KeUo8My6eBJ
2017-03-09 14:44:45 -05:00
Boris Zbarsky 5751a40e69 Bug 1343037 part 13. Implement nsTextEditorState::SetSelectionEnd. r=ehsan
This introduces three behavior changes:

1)  Before this change, in cached mode, we did not enforce the "start <= end"
    invariant.
2)  Before this change, in cached mode, we did not fire "select" events on
    selectionEnd changes.
3)  Changes the IDL type of HTMLInputElement's selectionEnd attribute to
    "unsigned long" to match the spec and HTMLTextareaElement.

MozReview-Commit-ID: J3Gkhr8VnbS
2017-03-09 14:44:05 -05:00
Boris Zbarsky f1bf8c9867 Bug 1343037 part 12. Implement nsTextEditorState::SetSelectionStart. r=ehsan
This introduces three behavior changes:

1)  Before this change, in cached mode, we did not enforce the "start <= end"
    invariant.
2)  Before this change, in cached mode, we did not fire "select" events on
    selectionStart changes.
3)  Changes the IDL type of HTMLInputElement's selectionStart attribute to
    "unsigned long" to match the spec and HTMLTextareaElement.

MozReview-Commit-ID: JM9XXMMPUHM
2017-03-09 14:44:05 -05:00
Boris Zbarsky 0ff1feefd2 Bug 1343037 part 6. Simplify the setup around the editor state's GetSelectionRange function. r=ehsan
Really, there are only two cases we need to worry about.  Either
IsSelectionCached(), and then our SelectionProperties has the data we want, or
not and then we have a non-null mSelCon which has the data we want.

Since we are now using cached selection state a lot more (instead of
initializing the editor whenever someone asks for selection state), we need to
actually update it more correctly when .value is set.

And since we now update the cached selection state for the case when .value has
been set (to point to the end of the text), we need to change
HTMLInputElement::HasCachedSelection to return false for that case.  Otherwise
we will always do eager editor init on value set.  We handle that by not doing
eager init if the cached selection is collapsed.

The web platform test changes test the "update on .value set" behavior.  They
fail without this patch, pass with it.

MozReview-Commit-ID: DDU8U4MGb23
2017-03-09 14:44:04 -05:00
Jessica Jong fd41948f34 Bug 1335356 - Part 2: Rename nsContentUtils::NameChanged to QNameChanged and use null prefix. r=smaug 2017-02-20 22:44:00 -05:00
James Graham 04c270e3d2 Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly
MozReview-Commit-ID: 1GaV7z8d0Xc
2017-02-20 11:52:05 +00:00
Iris Hsiao 34052a8f95 Backed out changeset 425b92cd2370 (bug 1340474) 2017-02-20 15:25:53 +08:00
James Graham 46fc17bba9 Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly
MozReview-Commit-ID: 1GaV7z8d0Xc
2017-02-15 22:30:36 +00:00
Carsten "Tomcat" Book 40542e6d63 Backed out changeset 91e832455287 (bug 1340474) for timeouts in own test 2017-02-17 13:19:59 +01:00
James Graham a2139e1f42 Bug 1340474 - Update web-platform-tests to revision eba2c70d536caaeef540966bc8ac7822417ab867, a=testonly
MozReview-Commit-ID: 1GaV7z8d0Xc
2017-02-17 10:04:34 +00:00
James Graham b9dadc7bae Bug 1335397 - Update web-platform-tests to d93247d5cb7d70f80da8b154a171f4e3d50969f4, a=testonly
MozReview-Commit-ID: 4ow7Qzx6nhD
2017-02-04 09:38:58 +00:00
James Graham d9ee612568 Bug 1331899 - Update web-platform-tests to revision 7071a3d128ff6610a57944d1b0aaabee97b3af5a, a=testonly
MozReview-Commit-ID: LvpIb2OK2GS
2017-01-19 14:23:39 +00:00
John Dai 739ae2f4a8 Bug 1312456 - Part 1: Remove Unicode case-insensitive matching for radio button groups. r=smaug 2017-01-04 23:22:00 -05:00
Henri Sivonen 971d2a2793 Bug 1322455 - When cloning an <input>, avoid re-initializing checkedness in DoneCreatingElement. r=smaug.
MozReview-Commit-ID: wlbZ7grT2M
2016-12-15 18:25:02 +02:00
Tom Puttemans 58a52b82b1 Bug 1052045 - Fix <select> validity status for listboxes and for non-placeholder empty valued options. r=bzbarsky 2016-11-24 22:15:33 +01:00
Boris Zbarsky ab063f5422 Bug 1318576. Remove entries from a form's past names map when an element is removed from the form, even if that element doesn't have a name or id anymore. r=baku 2016-11-21 12:34:02 -05:00
James Graham 076f538750 Bug 1318666 - Update web-platform-tests to revision da8dc80ce9c2155e003f20816c0cb6f120c17db6, a=testonly
MozReview-Commit-ID: FIohq85kl1G
2016-11-18 15:04:59 +00:00
James Graham 8622cfc387 Bug 1309931 - Update web-platform-tests to revision 1d8e28e2c762b51c06670a373b23af6bd7a8aed7, a=testonly
MozReview-Commit-ID: 17dwWFxkprQ
2016-10-25 18:10:30 +01:00
Domenic Denicola 2b59f155c2 Bug 230307. When cloning a <textarea>, preserve the current value just like we do for <input>. r=ehsan
The web platform test is just lifted wholesale from
<https://github.com/w3c/web-platform-tests/pull/3734>.
2016-09-15 13:52:37 -04:00
Boris Zbarsky 46009c5f3b Bug 1297304. Fix our named property DOM proxy code to handle deletion correctly when expandos are involved. r=peterv 2016-09-20 13:24:34 +01:00
James Graham 68c4133027 Bug 1302423 - Update web-platform-tests to revision 6b48d45a1c7f3243945bf1678008f607e70acf2e, a=testonly
MozReview-Commit-ID: 7u0jU4PkBVg
2016-09-13 14:49:17 +01:00
Boris Zbarsky 463243deff Bug 1270369. HTMLFormElemement should have unenumerable named properties per spec. r=bkelly 2016-08-31 10:57:40 -04:00
Thomas Wisniewski f8c3308791 Bug 932755 - Add support for input/textarea minLength and tooShort. r=mrbkap 2016-08-17 00:11:24 -04:00
James Graham 5aa8b71c34 Bug 1291312 - Update web-platform-tests to revision 7a6a5c9f436730f86123e6f48a44bf1b7ba5654f, a=testonly
MozReview-Commit-ID: 2Z26QRXPNuK
2016-08-04 23:34:05 +01:00
Phil Ringnalda 48419535ac Back out 2 changesets (bug 1291312) for making Win7 debug wpt-e10s-2 permanently fail by taking more than 7200 seconds to run, a=backout
Backed out changeset 0267734ec297 (bug 1291312)
Backed out changeset 8232b0211660 (bug 1291312)
2016-08-03 18:50:40 -07:00
James Graham 4255c10e30 Bug 1291312 - Update web-platform-tests to revision 7a6a5c9f436730f86123e6f48a44bf1b7ba5654f, a=testonly
MozReview-Commit-ID: 2Z26QRXPNuK
2016-08-02 20:22:14 +01:00
Sebastian Hengst 92be3e18e3 Backed out changeset 6fbdadb91edf (bug 1291312) for timing out in encrypted-media-keystatuses-multiple-updates.html. r=backout 2016-08-02 20:45:48 +02:00
Boris Zbarsky 3c930fe67b Bug 1287989. Don't try to do validation or fire submit events in iframes that are sandboxed without allow-forms. r=smaug 2016-08-02 11:05:36 -07:00
James Graham 44d6a9a253 Bug 1291312 - Update web-platform-tests to revision 7a6a5c9f436730f86123e6f48a44bf1b7ba5654f, a=testonly
MozReview-Commit-ID: 2Z26QRXPNuK
2016-08-02 16:51:47 +01:00
James Graham 38ad6bfe4d Bug 1290859 - Update web-platform-tests to revision 6744ac43d76207bdd1ececa4b91c9bfeef3ad522, a=testonly
MozReview-Commit-ID: 3PkaUEv2K15
2016-08-01 13:56:46 +01:00
James Graham 1cfaff4643 Bug 1279809 - Update web-platform-tests to revision 664c6072db0f96031ff775f4a6c0a744e77c3265, a=testonly
MozReview-Commit-ID: E83aHzA3aTa
2016-06-23 10:36:47 +01:00
James Graham 9672fb0def Bug 1274534 - Update web-platform-tests to revision e806420984568cd76da78de27c832b0a927d9fc6, a=testonly
MozReview-Commit-ID: 1KVr5OLKI3
2016-05-24 08:41:15 +01:00
John Dai f5b3a4df1e Bug 1088761 - Update web-platform tests for reportValidity(). r=smaug
From eb8351d4f84cb69cff2bc431539158ad046d51ee Mon Sep 17 00:00:00 2001
2016-04-15 16:12:46 +08:00
James Graham 1bef5b0cf0 Bug 1273176 - Update web-platform-tests to revision 55905788bebbdfacb49c94e579e93c19531e0199, a=testonly
MozReview-Commit-ID: 9bnFcIi0oX3
2016-05-16 17:05:32 +01:00
Sebastian Hengst 28e4e02e06 Backed out changeset f757f585e618 (bug 1088761) 2016-05-12 13:19:08 +02:00
John Dai 99f07ee6c6 Bug 1088761 - Update web-platform tests for reportValidity(). r=smaug 2016-05-11 04:26:00 +02:00