Commit Graph
162 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
Joel Maher 37485286ec Bug 1344486 - Intermittent TEST-UNEXPECTED-PASS | /html/semantics/scripting-1/the-script-element/nomodule-set-on-async-classic-script.html. fail early if noModule. r=jgraham
MozReview-Commit-ID: K8qMR6fICXH
2017-04-06 07:30:08 -04: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 8ef6cffa31 Bug 1347512 - Add long timeout to modules test, r=AutomatedTester
MozReview-Commit-ID: L2JlgAWS84x
2017-03-17 14:42:27 +00: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
Sebastian Hengst e610f014ef Backed out changeset a0f23c6f820b (bug 1347512) 2017-03-15 19:22:17 +01:00
James Graham 3a1cec8505 Bug 1347512 - Add long timeout to modules test, r=AutomatedTester
MozReview-Commit-ID: L2JlgAWS84x
2017-03-15 15:20:53 +00: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
vincentliu 8d8203762f Bug 1336351 - Add web platform test. r=smaug 2017-02-14 11:41:17 +08:00
Boris Zbarsky e5460d8ba1 Bug 1332956 part 3. Implement the same behavior for <object>-inside-<object> and <object>-inside-mediaelement as we do for <embed> already. r=qdot 2017-02-08 18:19:01 -05:00
Boris Zbarsky 6de9ae9d5d Bug 1332956 part 2. Refactor embed-ignored-in-media-element to make it simple to test the same thing with <object>. r=qdot 2017-02-08 18:19:00 -05:00
Boris Zbarsky 4099b071b7 Bug 1332956 part 1. Move our existing mochitest for embed-inside-object over to web-platform-tests. r=qdot 2017-02-08 18:19:00 -05:00
Carsten "Tomcat" Book 53ccc0d594 Backed out changeset 116291cf00b5 (bug 1332956) for causing merge conflicts with mozilla-central 2017-02-09 11:33:37 +01:00
Carsten "Tomcat" Book 88cd89eeff Backed out changeset 9cb85309542e (bug 1332956) 2017-02-09 11:33:16 +01:00
Carsten "Tomcat" Book 1e4e3b5e61 Backed out changeset bdea29a8b0f3 (bug 1332956) 2017-02-09 11:33:14 +01:00
Boris Zbarsky 20ebccd2ac Bug 1332956 part 3. Implement the same behavior for <object>-inside-<object> and <object>-inside-mediaelement as we do for <embed> already. r=qdot 2017-02-08 18:19:01 -05:00
Boris Zbarsky 35cc7057d3 Bug 1332956 part 2. Refactor embed-ignored-in-media-element to make it simple to test the same thing with <object>. r=qdot 2017-02-08 18:19:00 -05:00
Boris Zbarsky d5dd003e03 Bug 1332956 part 1. Move our existing mochitest for embed-inside-object over to web-platform-tests. r=qdot 2017-02-08 18:19:00 -05: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 dbf8937850 Bug 1331899 - Fix lint errors, a=testonly
MozReview-Commit-ID: 7AI7CAiEwop
2017-01-19 14:24:04 +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
Joel Maher ca32abaed6 Bug 1316629 - migrate dom/html/test/test_img_complete.html to web-platform-test. r=jgraham
MozReview-Commit-ID: 7tyxMzVQ1g2
2016-11-16 09:43:53 -05: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
Petr Gazarov f522e2a185 Bug 1300944 - Add reference test for <ol reversed> with display:none children; r=xidorn
MozReview-Commit-ID: KWgQeeV9IB6
2016-10-21 13:30:45 +05:30
Boris Zbarsky d466bac549 Bug 1222516 part 4. Implement support for rel=noopener on links. r=mconley 2016-10-20 16:52:39 -04:00