servo/components/script/dom
Jon Leighton ce7bae8834 Implement setRangeText API
Spec: https://html.spec.whatwg.org/multipage/#dom-textarea/input-setrangetext

In order to do this, we need to define the SelectionMode enum in WebIDL:
https://html.spec.whatwg.org/multipage/#selectionmode

Since the enum is used by HTMLTextAreaElement and HTMLInputElement, it
doesn't seem to make sense to define it in the WebIDL file for one or
other of those.

However, we also can't create a stand-alone SelectionMode.webidl file,
because the current binding-generation code won't generate a "pub mod
SelectionMode;" line in mod.rs unless SelectionMode.webidl contains
either an interface or a namespace. (This logic happens in
components/script/dom/bindings/codegen/Configuration.py:35, in the
Configuration.__init__ method.)

I thought about changing the binding-generation code, but that seems
difficult. So I settled for placing the enum inside
HTMLFormElement.webidl, as that seems like a "neutral" location. We
could equally settle for putting it under HTMLTextAreaElement or
HTMLInputElement, it probably doesn't really matter.

The setRangeText algorithm set the "dirty value flag" on the
input/textarea. I made some clean-ups related to this:

1. HTMLTextAreaElement called its dirty value flag "value_changed"; I
   changed this to "value_dirty" to be consistent with the spec.

2. HTMLInputElement had a "value_changed" field and also a "value_dirty"
   field, which were each used in slightly different places (and
   sometimes in both places). I consolidated these into a single
   "value_dirty" field, which was necessary in order to make some of the
   tests pass.

TextControl::set_dom_range_text replaces part of the existing textinput
content with the replacement string (steps 9-10 of the algorithm). My
implementation changes the textinput's selection and then replaces the
selection. A downside of this approach is that we lose the original
selection state from before the call to setRangeText. Therefore, we have
to save the state into the original_selection_state variable so that we
can later pass it into TextControl::set_selection_range. This allows
TextControl::set_selection_range to correctly decide whether or not to
fire the select event.

An alternative approach would be to implement a method on TextInput
which allows a subtring of the content to be mutated, without touching
the current selection state. However, any such method would potentially
put the TextInput into an inconsistent state where the edit_point and/or
selection_origin is a TextPoint which doesn't exist in the content. It
would be up to the caller to subsequently make sure that the TextInput
gets put back into a valid state (which would actually happen, when
TextControl::set_selection_range is called).

I think TextInput's public API should not make it possible to put it
into an invalid state, as that would be a potential source of bugs.
That's why I didn't take this approach. (TextInput's public API does
currently make it possible to create an invalid state, but I'd like to
submit a follow-up patch to lock this down.)
2018-01-26 20:12:33 +01:00
..
bindings Auto merge of #19868 - CYBAI:specific-assertion, r=emilio 2018-01-25 18:06:33 -06:00
servoparser Use specific assertion for DOM servoparser 2018-01-26 01:18:57 +08:00
webgl_extensions Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
webgl_validations Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
webidls Implement setRangeText API 2018-01-26 20:12:33 +01:00
abstractworker.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
abstractworkerglobalscope.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
activation.rs Use WebRender to compute text index on click events 2017-10-18 09:15:55 +02:00
attr.rs Use specific assertion for DOM attr 2018-01-26 01:18:54 +08:00
beforeunloadevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
blob.rs Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) 2017-11-09 16:56:39 +01:00
bluetooth.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
bluetoothadvertisingevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
bluetoothcharacteristicproperties.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
bluetoothdevice.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
bluetoothpermissionresult.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
bluetoothremotegattcharacteristic.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
bluetoothremotegattdescriptor.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
bluetoothremotegattserver.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
bluetoothremotegattservice.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
bluetoothuuid.rs Make #[dom_struct] a proc_macro attribute 2017-02-24 01:50:51 +01:00
canvasgradient.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
canvaspattern.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
canvasrenderingcontext2d.rs Revert "Send IPC receiver for canvas as part of CreateCanvasPaintThread message" 2017-12-18 10:51:00 -05:00
characterdata.rs Call children_changed on the parent node consistently 2017-11-27 20:19:08 +08:00
client.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
closeevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
comment.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
compositionevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
console.rs Hold stderr lock when using stdout through Console APIs. 2017-06-16 17:55:25 -04:00
create.rs Use specific assertion for DOM create 2018-01-26 01:18:56 +08:00
crypto.rs Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
css.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
cssconditionrule.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
cssfontfacerule.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
cssgroupingrule.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
cssimportrule.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
csskeyframerule.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
csskeyframesrule.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
cssmediarule.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
cssnamespacerule.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
cssrule.rs Rename Root<T> to DomRoot<T> 2017-09-26 09:49:10 +02:00
cssrulelist.rs Fix some "unnecessary parentheses" warnings 2018-01-22 17:41:25 +01:00
cssstyledeclaration.rs Avoid the generic writer parameter for PropertyDeclaration serialization. 2018-01-22 14:58:05 -08:00
cssstylerule.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
cssstylesheet.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
cssstylevalue.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
csssupportsrule.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
cssviewportrule.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
customelementregistry.rs Make callbacks' new methods unsafe 2018-01-25 11:25:23 +01:00
customevent.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
dedicatedworkerglobalscope.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
dissimilaroriginlocation.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
dissimilaroriginwindow.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
document.rs Use specific negative assertion for DOM document 2018-01-26 02:07:47 +08:00
documentfragment.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
documenttype.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
domexception.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
domimplementation.rs Remove out of date comments from domimplementation 2018-01-08 23:23:46 +01:00
dommatrix.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
dommatrixreadonly.rs Update euclid, azure, skia, offscreen_gl_context, plane-split, webrender 2017-12-08 14:32:28 +01:00
domparser.rs replace DocumentSource::NotFromParser with DocumentSource::FromParser 2018-01-06 22:53:45 +08:00
dompoint.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
dompointreadonly.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
domquad.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
domrect.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
domrectreadonly.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
domstringmap.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
domtokenlist.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
element.rs Auto merge of #19803 - jonleighton:issue-19765, r=emilio 2018-01-19 14:37:57 -06:00
errorevent.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
event.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
eventsource.rs Fetch cancellation: Add cancel_chan to FetchContext 2017-11-17 15:59:59 -08:00
eventtarget.rs Make callbacks' new methods unsafe 2018-01-25 11:25:23 +01:00
extendableevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
extendablemessageevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
file.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
filelist.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
filereader.rs Fix tyvar_behind_raw_pointer warnings 2018-01-10 20:54:35 +01:00
filereadersync.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
focusevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
forcetouchevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
formdata.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
gamepad.rs Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
gamepadbutton.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
gamepadbuttonlist.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
gamepadevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
gamepadlist.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
globalscope.rs Use specific negative assertion for DOM globalscope 2018-01-26 02:08:11 +08:00
hashchangeevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
headers.rs copy headers from script request to net request 2017-11-15 19:28:03 +08:00
history.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlanchorelement.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
htmlareaelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlaudioelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlbaseelement.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
htmlbodyelement.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
htmlbrelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlbuttonelement.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
htmlcanvaselement.rs Kick off WebGL 2.0 implementation 2017-10-27 12:53:11 +02:00
htmlcollection.rs Use specific negative assertion for DOM HTMLCollection 2018-01-26 02:11:02 +08:00
htmldataelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmldatalistelement.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
htmldetailselement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmldialogelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmldirectoryelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmldivelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmldlistelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlelement.rs Expand InputType to cover all possible types 2017-12-06 21:11:39 +01:00
htmlembedelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlfieldsetelement.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
htmlfontelement.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
htmlformcontrolscollection.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlformelement.rs Expand InputType to cover all possible types 2017-12-06 21:11:39 +01:00
htmlframeelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlframesetelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlheadelement.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
htmlheadingelement.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
htmlhrelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlhtmlelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmliframeelement.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
htmlimageelement.rs Auto merge of #18981 - KiChjang:fold-type-destination, r=avadacatavra 2017-10-24 17:02:18 -05:00
htmlinputelement.rs Implement setRangeText API 2018-01-26 20:12:33 +01:00
htmllabelelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmllegendelement.rs script: Use ? on option more often. 2017-12-09 20:26:48 +01:00
htmllielement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmllinkelement.rs Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) 2017-11-09 16:56:39 +01:00
htmlmapelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlmediaelement.rs Remove gecko-media dependency 2018-01-19 15:06:52 +01:00
htmlmetaelement.rs Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) 2017-11-09 16:56:39 +01:00
htmlmeterelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlmodelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlobjectelement.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
htmlolistelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmloptgroupelement.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
htmloptionelement.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
htmloptionscollection.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmloutputelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlparagraphelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlparamelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlpreelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlprogresselement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlquoteelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlscriptelement.rs Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) 2017-11-09 16:56:39 +01:00
htmlselectelement.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
htmlsourceelement.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
htmlspanelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlstyleelement.rs queue event instead of immediately fire 2017-11-30 16:18:57 +00:00
htmltablecaptionelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmltablecellelement.rs Rename LayoutJS<T> to LayoutDom<T> 2017-09-26 09:49:04 +02:00
htmltablecolelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmltabledatacellelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmltableelement.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
htmltableheadercellelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmltablerowelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmltablesectionelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmltemplateelement.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
htmltextareaelement.rs Implement setRangeText API 2018-01-26 20:12:33 +01:00
htmltimeelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmltitleelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmltrackelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlulistelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlunknownelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
htmlvideoelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
imagedata.rs Use safe NonZero constructor instead of an explicit null check 2018-01-22 17:41:26 +01:00
inputevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
keyboardevent.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
location.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
macros.rs Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) 2017-11-09 16:56:39 +01:00
mediaerror.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
medialist.rs Change ToCss to take a CssWriter<W> 2018-01-23 10:41:42 +01:00
mediaquerylist.rs Change ToCss to take a CssWriter<W> 2018-01-23 10:41:42 +01:00
mediaquerylistevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
messageevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
mimetype.rs Rename Root<T> to DomRoot<T> 2017-09-26 09:49:10 +02:00
mimetypearray.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
mod.rs Extract common text control selection code 2017-11-18 22:33:05 +01:00
mouseevent.rs Use WebRender to compute text index on click events 2017-10-18 09:15:55 +02:00
mutationobserver.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
mutationrecord.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
namednodemap.rs Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) 2017-11-09 16:56:39 +01:00
navigator.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
navigatorinfo.rs First step toward iOS Support 2017-08-23 17:16:30 +02:00
node.rs Properly handle CR in textarea placeholders (fixes #19717) 2018-01-10 15:34:54 +01:00
nodeiterator.rs Update concept of node filter algorithm 2017-10-19 22:01:30 +08:00
nodelist.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
pagetransitionevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
paintrenderingcontext2d.rs Update euclid, azure, skia, offscreen_gl_context, plane-split, webrender 2017-12-08 14:32:28 +01:00
paintsize.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
paintworkletglobalscope.rs Fix tyvar_behind_raw_pointer warnings 2018-01-10 20:54:35 +01:00
performance.rs Do not fire pending callbacks on disconnected performance observer 2018-01-15 09:42:31 +01:00
performanceentry.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
performancemark.rs User Timing API 2017-09-06 13:33:30 +02:00
performancemeasure.rs User Timing API 2017-09-06 13:33:30 +02:00
performanceobserver.rs Fix some "unnecessary parentheses" warnings 2018-01-22 17:41:25 +01:00
performanceobserverentrylist.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
performancepainttiming.rs Fix float conversion of paint timing metrics 2017-12-07 07:26:39 +01:00
performancetiming.rs Add a topLevelDomComplete metric. 2017-12-14 16:48:19 -06:00
permissions.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
permissionstatus.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
plugin.rs Rename Root<T> to DomRoot<T> 2017-09-26 09:49:10 +02:00
pluginarray.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
popstateevent.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
processinginstruction.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
progressevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
promise.rs Fix tyvar_behind_raw_pointer warnings 2018-01-10 20:54:35 +01:00
promisenativehandler.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
radionodelist.rs Expand InputType to cover all possible types 2017-12-06 21:11:39 +01:00
range.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
request.rs allow unknown HTTP methods 2017-11-16 13:36:22 +08:00
response.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
screen.rs Fix some "unnecessary parentheses" warnings 2018-01-22 17:41:25 +01:00
serviceworker.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
serviceworkercontainer.rs Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) 2017-11-09 16:56:39 +01:00
serviceworkerglobalscope.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
serviceworkerregistration.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
storage.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
storageevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
stylepropertymapreadonly.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
stylesheet.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
stylesheetlist.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
svgelement.rs Solving merge conficts related to the html5ever_atoms -> html5ever change 2017-05-03 12:57:49 -05:00
svggraphicselement.rs Solving merge conficts related to the html5ever_atoms -> html5ever change 2017-05-03 12:57:49 -05:00
svgsvgelement.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
test_mapping.json Added randomness to the mutation strategy 2017-11-06 13:00:14 -05:00
testbinding.rs Use safe NonZero constructor instead of an explicit null check 2018-01-22 17:41:26 +01:00
testbindingiterable.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
testbindingpairiterable.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
testbindingproxy.rs removed instances of -> () in existing code 2017-03-13 17:38:33 +01:00
testrunner.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
testworklet.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
testworkletglobalscope.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
text.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
textcontrol.rs Implement setRangeText API 2018-01-26 20:12:33 +01:00
textdecoder.rs Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) 2017-11-09 16:56:39 +01:00
textencoder.rs Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
touch.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
touchevent.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
touchlist.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
transitionevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
treewalker.rs Auto merge of #18255 - CYBAI:prevent-reentrancy-pr18218, r=jdm 2017-10-21 15:13:04 -05:00
uievent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
url.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
urlhelper.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
urlsearchparams.rs Use the url crate without its query_encoding feature 2017-10-31 19:08:26 +01:00
userscripts.rs apply user scripts correctly 2017-03-13 21:57:50 +08:00
validation.rs
validitystate.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
values.rs
virtualmethods.rs script: Remove HTMLAppletElement. 2017-11-06 17:08:14 +01:00
vr.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
vrdisplay.rs Kick off WebGL 2.0 implementation 2017-10-27 12:53:11 +02:00
vrdisplaycapabilities.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
vrdisplayevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
vreyeparameters.rs Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
vrfieldofview.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
vrframedata.rs Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
vrpose.rs Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
vrstageparameters.rs Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
webgl2renderingcontext.rs Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
webglactiveinfo.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
webglbuffer.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
webglcontextevent.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
webglframebuffer.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
webglobject.rs Make #[dom_struct] a proc_macro attribute 2017-02-24 01:50:51 +01:00
webglprogram.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
webglrenderbuffer.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
webglrenderingcontext.rs Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
webglshader.rs Use specific assertion for DOM webgl shader 2018-01-26 01:18:58 +08:00
webglshaderprecisionformat.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
webgltexture.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
webgluniformlocation.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
websocket.rs Fix tyvar_behind_raw_pointer warnings 2018-01-10 20:54:35 +01:00
window.rs Introduce MaxRect trait 2018-01-17 23:29:57 +01:00
windowproxy.rs Use specific negative assertion for DOM Window Proxy 2018-01-26 02:23:39 +08:00
worker.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
workerglobalscope.rs changed f64 to u64 for navigation start timing until it had to be float 2017-11-01 20:45:22 +00:00
workerlocation.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
workernavigator.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
worklet.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
workletglobalscope.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
xmldocument.rs Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> 2018-01-22 17:41:25 +01:00
xmlhttprequest.rs Use specific negative assertion for DOM XMLHttpRequest 2018-01-26 02:23:49 +08:00
xmlhttprequesteventtarget.rs Use absolute paths in the event handlers macros 2017-09-01 11:54:09 +02:00
xmlhttprequestupload.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00