servo/components/script/dom
bors-servo 9a8d62286c Auto merge of #9887 - schuster:HTMLHyperlinkElementUtils, r=jdm
Implement HTMLHyperlinkElementUtils for HTMLAnchorElement

Fixes #7857

Origin is omitted since it's still not available in rust-url, but since the previous PR also left it out, I'm assuming that's okay.

Please let me know if there are any style issues. There might be more concise ways to do the pattern matching that I don't know about, I guessed at the indentation style in one or two places.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9887)
<!-- Reviewable:end -->
2016-03-25 11:36:35 +05:30
..
bindings Auto merge of #10152 - jdm:9511-rebase, r=nox 2016-03-24 10:40:44 +05:30
webidls Auto merge of #9887 - schuster:HTMLHyperlinkElementUtils, r=jdm 2016-03-25 11:36:35 +05:30
activation.rs Call synthetic_click_activation for all clicks 2016-03-10 14:43:33 -05:00
attr.rs Implement SetNamedItem, SetNamedItemNS, SetAttributeNode and SetAttributeNodeNS 2016-01-28 12:35:44 +01:00
blob.rs Implementation of Blob Constructor with test changes 2016-03-17 23:47:12 +05:30
bluetooth.rs WebBluetooth API classes 2016-03-16 10:34:48 +01:00
bluetoothadvertisingdata.rs WebBluetooth API classes 2016-03-16 10:34:48 +01:00
bluetoothcharacteristicproperties.rs WebBluetooth API classes 2016-03-16 10:34:48 +01:00
bluetoothdevice.rs WebBluetooth API classes 2016-03-16 10:34:48 +01:00
bluetoothremotegattcharacteristic.rs WebBluetooth API classes 2016-03-16 10:34:48 +01:00
bluetoothremotegattdescriptor.rs WebBluetooth API classes 2016-03-16 10:34:48 +01:00
bluetoothremotegattserver.rs WebBluetooth API classes 2016-03-16 10:34:48 +01:00
bluetoothremotegattservice.rs WebBluetooth API classes 2016-03-16 10:34:48 +01:00
bluetoothuuid.rs WebBluetooth API classes 2016-03-16 10:34:48 +01:00
browsingcontext.rs Make fill_property_descriptor take a flags argument 2016-02-23 17:14:27 +01:00
canvasgradient.rs Parse currentColor as Canvas2D color 2015-11-21 11:59:19 -08:00
canvaspattern.rs Add origin-clean flag tracking for canvas 2015-12-17 11:40:38 -08:00
canvasrenderingcontext2d.rs Stop sending the renderer id to script. 2016-03-21 17:55:08 +01:00
characterdata.rs rename deprecated utf16_units to encode_utf16 2016-03-07 16:14:04 +01:00
closeevent.rs implement and use From<bool> for enum and back 2016-03-17 22:50:22 +01:00
comment.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
console.rs Implement console#time and console#timeEnd methods 2016-01-25 14:21:32 -05:00
create.rs Implement HTMLDetailsElement. Fixes #9216 2016-01-20 16:15:37 +01:00
crypto.rs Say farewell to in-tree HeapSizeOf 2016-02-04 22:03:32 +01:00
css.rs Replaced DOMString constructor by conversion functions. 2015-11-12 17:52:59 -06:00
cssstyledeclaration.rs Implement From<DOMString> for Atom 2016-02-24 17:52:17 +01:00
customevent.rs Implement From<DOMString> for Atom 2016-02-24 17:52:17 +01:00
dedicatedworkerglobalscope.rs task -> thread 2016-01-10 17:58:13 +09:00
document.rs Store the encoding in the Document rather than its name. 2016-03-18 16:22:52 +01:00
documentfragment.rs Implement From<DOMString> for Atom 2016-02-24 17:52:17 +01:00
documenttype.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
domexception.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
domimplementation.rs Make it possible for XMLDocuments to have a browsing context. 2016-02-20 18:03:14 +01:00
domparser.rs Store a pointer to the browsing context in the Document. 2016-02-11 13:08:11 +01:00
dompoint.rs Add DOMQuad element 2015-12-18 17:37:10 +01:00
dompointreadonly.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
domquad.rs Add global default method for Reflectable trait 2016-01-11 20:23:47 -05:00
domrect.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
domrectlist.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
domrectreadonly.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
domstringmap.rs Reduce 'match' body, remove unnecessary clone 2016-01-05 16:55:37 -08:00
domtokenlist.rs Implement value for DOMTokenList 2016-02-29 16:07:03 +01:00
element.rs Implement initial pieces of form validation. 2016-03-24 09:07:38 -04:00
errorevent.rs implement and use From<bool> for enum and back 2016-03-17 22:50:22 +01:00
event.rs implement and use From<bool> for enum and back 2016-03-17 22:50:22 +01:00
eventdispatcher.rs Refactor dispatch_event according to the spec (fixes #9178) 2016-02-29 10:42:09 +01:00
eventsource.rs Silence a warning in EventSourceReadyState. 2016-01-07 09:45:12 +01:00
eventtarget.rs rename deprecated utf16_units to encode_utf16 2016-03-07 16:14:04 +01:00
file.rs Remove global field from Blob 2016-01-10 21:20:31 -05:00
filelist.rs merge from master 2015-11-03 19:01:23 +09:00
filereader.rs Issue #9561 continued - renamed *_thread_source to *_task_source in global.rs and related files 2016-02-17 21:25:12 +01:00
focusevent.rs implement and use From<bool> for enum and back 2016-03-17 22:50:22 +01:00
formdata.rs Make use of From<String> for Atom 2016-02-24 17:52:13 +01:00
htmlanchorelement.rs Implement HTMLHyperlinkElementUtils for HTMLAnchorElement 2016-03-24 21:14:28 -04:00
htmlappletelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlareaelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlaudioelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlbaseelement.rs Auto merge of #8506 - nox:finish-ranges, r=dzbarsky 2015-12-26 04:08:15 +05:30
htmlbodyelement.rs Compile raw inline event handlers lazily. Resolves #8489. 2016-02-11 15:44:52 +01:00
htmlbrelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlbuttonelement.rs Implement initial pieces of form validation. 2016-03-24 09:07:38 -04:00
htmlcanvaselement.rs Change old references of ecoal95 2016-03-23 18:12:40 +01:00
htmlcollection.rs Remove HTMLCollectionElementsRevIter 2016-03-19 20:28:40 -04:00
htmldataelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmldatalistelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmldetailselement.rs Add task_source directory 2016-03-10 01:05:53 -05:00
htmldialogelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmldirectoryelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmldivelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmldlistelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlelement.rs Auto merge of #9930 - rebstar6:htmlclick, r=jdm 2016-03-11 10:06:24 +05:30
htmlembedelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlfieldsetelement.rs Implement initial pieces of form validation. 2016-03-24 09:07:38 -04:00
htmlfontelement.rs refactor, moving functions into attr and htmlfontelemend fixes #9639 #9638 2016-02-15 22:33:14 +00:00
htmlformcontrolscollection.rs Fix #9508: Beautify our union enums constructors 2016-02-07 02:55:21 +03:00
htmlformelement.rs Add task_source directory 2016-03-10 01:05:53 -05:00
htmlframeelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlframesetelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlheadelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlheadingelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlhrelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlhtmlelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmliframeelement.rs Add history information to mozbrowserlocationchange event 2016-03-21 19:19:48 +08:00
htmlimageelement.rs Use presentation hints correctly for the dimensions of <img>. 2016-02-25 14:04:06 -05:00
htmlinputelement.rs Implement initial pieces of form validation. 2016-03-24 09:07:38 -04:00
htmllabelelement.rs Call synthetic_click_activation for all clicks 2016-03-10 14:43:33 -05:00
htmllegendelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmllielement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmllinkelement.rs Issue #9561 Renamed *_thread_source to *_task_source and ThreadSource to TaskSource 2016-02-14 15:29:44 +01:00
htmlmapelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlmediaelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlmetaelement.rs Recompute viewport-dependent styles on viewport size change 2016-03-19 13:23:39 -07:00
htmlmeterelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlmodelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlobjectelement.rs Implement initial pieces of form validation. 2016-03-24 09:07:38 -04:00
htmlolistelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmloptgroupelement.rs Update rust-selectors 2016-02-03 02:11:31 +01:00
htmloptionelement.rs Update rust-selectors 2016-02-03 02:11:31 +01:00
htmloutputelement.rs Implement initial pieces of form validation. 2016-03-24 09:07:38 -04:00
htmlparagraphelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlparamelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlpreelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlprogresselement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlquoteelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlscriptelement.rs Use a Cell for HTMLScriptElement::block_character_encoding. 2016-03-18 16:51:29 +01:00
htmlselectelement.rs Implement initial pieces of form validation. 2016-03-24 09:07:38 -04:00
htmlsourceelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlspanelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlstyleelement.rs Refactor style to be completely backend-independent 2016-02-13 16:05:14 +01:00
htmltablecaptionelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmltablecellelement.rs Fix a bunch of clippy lints 2016-01-02 23:27:15 +01:00
htmltablecolelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmltabledatacellelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmltableelement.rs Move parse_integer and parse_unsigned_integer from util::str to style::attr 2016-02-17 07:05:39 +01:00
htmltableheadercellelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmltablerowelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmltablesectionelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmltemplateelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmltextareaelement.rs Implement initial pieces of form validation. 2016-03-24 09:07:38 -04:00
htmltimeelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmltitleelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmltrackelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlulistelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlunknownelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
htmlvideoelement.rs Remove unnecessary conversion to/from DOMString for localName. 2015-12-02 13:42:45 -08:00
imagedata.rs Remove #[allow(raw_pointer_derive)] attributes 2015-11-27 14:32:57 -05:00
keyboardevent.rs Spec says 'ContextMenu', not 'Menu' 2016-03-22 21:09:43 +05:30
location.rs add origin to location and url api 2016-01-21 11:06:41 -08:00
macros.rs use return value of invoking event handlers to cancel the event 2016-02-26 10:17:57 -05:00
messageevent.rs Implement From<DOMString> for Atom 2016-02-24 17:52:17 +01:00
mod.rs Implement initial pieces of form validation. 2016-03-24 09:07:38 -04:00
mouseevent.rs implement and use From<bool> for enum and back 2016-03-17 22:50:22 +01:00
namednodemap.rs Updated SupportedPropertyNames in NamedNodeMap to match spec 2016-03-05 17:21:01 +05:30
navigator.rs implements NavigatorLanguage 2016-03-17 16:13:37 +05:30
navigatorinfo.rs implements NavigatorLanguage 2016-03-17 16:13:37 +05:30
node.rs Store the encoding in the Document rather than its name. 2016-03-18 16:22:52 +01:00
nodeiterator.rs Get rid of a bunch of explicit derefs 2015-11-03 19:51:46 -08:00
nodelist.rs Implement NamedItem and NamedGetter on HTMLFormControlsCollection 2016-01-28 18:33:51 -05:00
performance.rs merge from master 2015-11-03 19:01:23 +09:00
performancetiming.rs Add DOM-related performance timing properties 2015-11-13 17:51:34 -05:00
processinginstruction.rs Explicitly customise flags of new nodes where needed 2015-10-15 17:30:41 +02:00
progressevent.rs implement and use From<bool> for enum and back 2016-03-17 22:50:22 +01:00
radionodelist.rs Implement NamedItem and NamedGetter on HTMLFormControlsCollection 2016-01-28 18:33:51 -05:00
range.rs Implement Stringifier for Range 2016-03-09 15:27:37 -05:00
screen.rs more refactoring 2015-10-30 20:26:29 +09:00
servohtmlparser.rs Update html5ever to 0.5.0 2016-02-08 16:58:18 -05:00
servoxmlparser.rs task -> thread 2016-01-10 17:58:13 +09:00
storage.rs Add task_source directory 2016-03-10 01:05:53 -05:00
storageevent.rs implement and use From<bool> for enum and back 2016-03-17 22:50:22 +01:00
testbinding.rs Fixed compile error in generated code, when webidl constructors have same number of args 2016-03-03 20:21:48 +00:00
testbindingproxy.rs Use DOMString::new() somewhat consistently. 2015-11-04 12:09:10 +01:00
text.rs Properly propagate changes when range or trees are mutated 2015-12-25 23:35:57 +01:00
textdecoder.rs conversion: Extrapolate array_buffer_view_data 2016-01-04 15:19:29 +01:00
textencoder.rs Replaced DOMString constructor by conversion functions. 2015-11-12 17:52:59 -06:00
touch.rs more refactoring 2015-10-30 20:26:29 +09:00
touchevent.rs implement and use From<bool> for enum and back 2016-03-17 22:50:22 +01:00
touchlist.rs merge from master 2015-11-03 19:01:23 +09:00
treewalker.rs Get rid of a bunch of explicit derefs 2015-11-03 19:51:46 -08:00
uievent.rs implement and use From<bool> for enum and back 2016-03-17 22:50:22 +01:00
url.rs add origin to location and url api 2016-01-21 11:06:41 -08:00
urlhelper.rs Implement HTMLHyperlinkElementUtils for HTMLAnchorElement 2016-03-24 21:14:28 -04:00
urlsearchparams.rs Fix #9508: Beautify our union enums constructors 2016-02-07 02:55:21 +03:00
userscripts.rs Fix a bunch of clippy lints 2016-01-02 23:27:15 +01:00
validation.rs Implement initial pieces of form validation. 2016-03-24 09:07:38 -04:00
validitystate.rs Implement initial pieces of form validation. 2016-03-24 09:07:38 -04:00
values.rs Consolidate magic number representing max unsigned long 2015-10-10 13:46:11 -04:00
virtualmethods.rs Move comment about removing steps 2016-02-13 14:22:10 -05:00
webglactiveinfo.rs Make DOMString a newtype around String, rather than a typedef. 2015-11-04 12:09:11 +01:00
webglbuffer.rs Issue #8738: bufferSubData and texImage2D argument sanity checks. 2015-12-26 18:56:48 +01:00
webglcontextevent.rs implement and use From<bool> for enum and back 2016-03-17 22:50:22 +01:00
webglframebuffer.rs merge from master 2015-11-03 19:01:23 +09:00
webglobject.rs more refactoring 2015-10-30 20:26:29 +09:00
webglprogram.rs Change old references of ecoal95 2016-03-23 18:12:40 +01:00
webglrenderbuffer.rs merge from master 2015-11-03 19:01:23 +09:00
webglrenderingcontext.rs Change old references of ecoal95 2016-03-23 18:12:40 +01:00
webglshader.rs webgl: Check shader compilation status on use_program. 2016-01-13 15:28:36 +01:00
webglshaderprecisionformat.rs more refactoring 2015-10-30 20:26:29 +09:00
webgltexture.rs webgl: Fix texturing 2015-12-03 02:53:37 +01:00
webgluniformlocation.rs webgl: Track uniformlocation's program 2016-01-13 13:41:30 +01:00
websocket.rs Update WebSocket blocked ports to match the Fetch spec 2016-03-17 18:21:20 +05:30
window.rs script: Don't paint layouts induced by hit test queries. 2016-03-21 08:39:46 -07:00
worker.rs Add task_source directory 2016-03-10 01:05:53 -05:00
workerglobalscope.rs Clean up of script timer code. 2016-02-20 22:43:16 +01:00
workerlocation.rs Replaced DOMString constructor by conversion functions. 2015-11-12 17:52:59 -06:00
workernavigator.rs implements NavigatorLanguage 2016-03-17 16:13:37 +05:30
xmldocument.rs Suppress reflows before RefreshTick or FirstLoad 2016-03-03 15:17:46 -07:00
xmlhttprequest.rs Bug 8830 - Implemented XMLHttpRequest.responseURL 2016-03-22 13:56:31 +08:00
xmlhttprequesteventtarget.rs Introduce trait Castable 2015-10-21 11:37:16 +02:00
xmlhttprequestupload.rs more refactoring 2015-10-30 20:26:29 +09:00