Commit Graph
39 Commits
Author SHA1 Message Date
Ehsan Akhgari 1451cb9228 Bug 1385926 - Add a test to ensure that the selection is always collapsed to the end after setting the value of input and textarea elements using the DOM API; r=masayuki 2017-08-01 01:39:31 -04:00
James Graham 90a5877557 Bug 1367340 - Update web-platform-tests to revision a2d29f3497c889546662566721bbd4f86efdbedd, a=testonly
MozReview-Commit-ID: G7hh5RgrlOv
2017-05-24 14:03:28 +01:00
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
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
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 8622cfc387 Bug 1309931 - Update web-platform-tests to revision 1d8e28e2c762b51c06670a373b23af6bd7a8aed7, a=testonly
MozReview-Commit-ID: 17dwWFxkprQ
2016-10-25 18:10:30 +01: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
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 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 4d4201c131 Bug 1263631 - Update web-platform-tests to revision 8d896c2015ab1e50ad00a0013700f87813d9364c, a=testonly
MozReview-Commit-ID: 7NCdvJqZ1UH
2016-04-11 23:23:45 +01:00
James Graham c4dff0359a Bug 1214162 - Update web-platform-tests to revision 886dea2c3dbb79925360319a6a0f662ce196ab3c, a=testonly 2015-10-16 17:04:35 +01:00
James Graham 4c77189a42 Bug 1204461 - Update web-platform-tests to revision 3f82dd41c8e3697bfe5fa5c57321c842b65ba2aa, a=testonly 2015-09-14 12:19:08 +01:00
James Graham bd4b7e0608 Bug 1180500 - Update web-platform-tests to revision 87398b8448f699e3e324148795891658f2fa16dd, a=testonly 2015-07-07 10:05:28 +01:00
Carsten "Tomcat" Book 78ed5b1319 Backed out changeset 641b24306056 (bug 1178754) also need backedout on request on a CLOSED TREE 2015-06-30 15:58:51 +02:00
James Graham c38e40f0da Bug 1178754 - Update web-platform-tests to revision 2f4e521222b7901f4d3a5e09a2489e773c8be424, a=testonly 2015-06-30 14:01:47 +01:00
James Graham 0e207d40b5 Bug 1097230 - Update web-platform-tests to revision 9840b559b10e05f659932a835c11832db9e01c42, a=testonly 2014-11-20 16:30:01 +00:00
James Graham 5ae42538f6 Bug 945222 - Initial import of web-platform-tests testsuite 1/4: test data 2014-09-04 12:48:31 +01:00