From 2774f7e8e6b987962a531fde05f45127461ebffd Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 12:36:57 +0100 Subject: [PATCH 01/19] yarn content move Web/API/HTMLHyperlinkElementUtils/hash Web/API/HTMLAnchorElement/hash --- files/en-us/_redirects.txt | 28 ++++++------- files/en-us/_wikihistory.json | 42 +++++++++---------- .../hash/index.html | 14 +++---- 3 files changed, 41 insertions(+), 43 deletions(-) rename files/en-us/web/api/{htmlhyperlinkelementutils => htmlanchorelement}/hash/index.html (92%) diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index ca0147c36b7109e..39d6fe2306f259d 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -509,7 +509,6 @@ /en-US/docs/CSS/CSS_animated_properties /en-US/docs/Web/CSS/CSS_animated_properties /en-US/docs/CSS/CSS_animations /en-US/docs/Web/CSS/CSS_Animations/Using_CSS_animations /en-US/docs/CSS/CSS_animations/Detecting_CSS_animation_support /en-US/docs/Web/CSS/CSS_Animations/Detecting_CSS_animation_support -/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Mixins /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Backwards_Compatibility_of_Flexbox /en-US/docs/CSS/CSS_flex-wrap /en-US/docs/Web/CSS/flex-wrap /en-US/docs/CSS/CSS_percentage_values /en-US/docs/Web/CSS /en-US/docs/CSS/CSS_transform_functions /en-US/docs/Web/CSS/transform @@ -4954,7 +4953,7 @@ /en-US/docs/FORCE_SHARED_LIB /en-US/docs/Mozilla/Developer_guide/Build_Instructions/Configuring_Build_Options /en-US/docs/FORCE_STATIC_LIB /en-US/docs/Mozilla/Developer_guide/Build_Instructions/Configuring_Build_Options /en-US/docs/File_System_Access_API /en-US/docs/Web/API/File_System_Access_API -/en-US/docs/Firefox 11 for developers /en-US/docs/Mozilla/Firefox/Releases/11 +/en-US/docs/Firefox 11 /en-US/docs/Firefox_1.5 /en-US/docs/Mozilla/Firefox/Releases/1.5 /en-US/docs/Firefox_1.5_Beta_for_Developers /en-US/docs/Mozilla/Firefox/Releases/1.5 /en-US/docs/Firefox_1.5_for_developers /en-US/docs/Mozilla/Firefox/Releases/1.5 @@ -5508,7 +5507,7 @@ /en-US/docs/IMAP /en-US/docs/Glossary/IMAP /en-US/docs/IPv6 /en-US/docs/Glossary/IPv6 /en-US/docs/Inbox/Advance_HTML_Tags /en-US/docs/Learn/Common_questions/HTML_features_for_accessibility -/en-US/docs/Inbox/Advanced_layouts_with_flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Mixins +/en-US/docs/Inbox/Advanced_layouts_with_flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Backwards_Compatibility_of_Flexbox /en-US/docs/Inbox/Using_flexbox_to_lay_out_web_applications /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Typical_Use_Cases_of_Flexbox /en-US/docs/Inbox/Writing_a_WebSocket_server_in_Java /en-US/docs/Web/API/WebSockets_API/Writing_a_WebSocket_server_in_Java /en-US/docs/Incorrect_MIME_Type_for_CSS_Files /en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types @@ -6690,7 +6689,7 @@ /en-US/docs/JavaScript_typed_arrays/Uint8Array /en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array /en-US/docs/LIBRARY_NAME /en-US/docs/Mozilla/Developer_guide/Build_Instructions/Configuring_Build_Options /en-US/docs/LIBXUL_LIBRARY /en-US/docs/Mozilla/Developer_guide/Build_Instructions/Configuring_Build_Options -/en-US/docs/Learn/Advanced_layouts_with_flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Mixins +/en-US/docs/Learn/Advanced_layouts_with_flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Backwards_Compatibility_of_Flexbox /en-US/docs/Learn/Anatomy_of_a_web_page /en-US/docs/Learn/Common_questions/Common_web_layouts /en-US/docs/Learn/CSS/Basic_text_styling_in_CSS /en-US/docs/Learn/CSS/Styling_text/Fundamentals /en-US/docs/Learn/CSS/Basics /en-US/docs/Learn/CSS/First_steps @@ -6739,7 +6738,7 @@ /en-US/docs/Learn/Choose,_Install_and_set_up_a_text_editor /en-US/docs/Learn/Common_questions/Available_text_editors /en-US/docs/Learn/Client-side_web_APIs /en-US/docs/Learn/JavaScript/Client-side_web_APIs /en-US/docs/Learn/Coding-Scripting /en-US/docs/Learn -/en-US/docs/Learn/Common_questions/How_do_you_host_your_website_on_Google_App_Engine /en-US/docs/Learn/Common_questions/How_do_you_host_your_website_on_Google_App_Engine +/en-US/docs/Learn/Common_questions/How_do_you_host_your_website_on_Google_App_Engine /en-US/docs/Learn/Common_questions/How_do_you_host_your_website_on_Google_App_Engine /en-US/docs/Learn/Common_questions/Set_up_a_basic_working_environment /en-US/docs/Learn/Common_questions/set_up_a_local_testing_server /en-US/docs/Learn/Composing_for_the_web /en-US/docs/Learn/Common_questions /en-US/docs/Learn/Design_and_Accessibility /en-US/docs/Learn/Common_questions @@ -7231,7 +7230,7 @@ /en-US/docs/Mozilla_developer_guide /en-US/docs/Mozilla/Developer_guide /en-US/docs/Mozilla_event_reference /en-US/docs/Web/Events /en-US/docs/Mozilla_event_reference/DOMContentLoaded_(event) /en-US/docs/Web/API/Window/DOMContentLoaded_event -/en-US/docs/Mozilla_event_reference/DOMContentLoading (event) /en-US/docs/Web/API/Window/DOMContentLoaded_event +/en-US/docs/Mozilla_event_reference/DOMContentLoading (event) /en-US/docs/Mozilla_event_reference/DOMContentLoading_(event) /en-US/docs/Web/API/Window/DOMContentLoaded_event /en-US/docs/Mozilla_event_reference/SVGAbort /en-US/docs/Web/API/SVGElement/abort_event /en-US/docs/Mozilla_event_reference/SVGError /en-US/docs/Web/API/SVGElement/error_event @@ -7339,7 +7338,7 @@ /en-US/docs/Mozilla_event_reference/ratechange /en-US/docs/Web/API/HTMLMediaElement/ratechange_event /en-US/docs/Mozilla_event_reference/readystatechange /en-US/docs/Web/API/Document/readystatechange_event /en-US/docs/Mozilla_event_reference/repeatEvent /en-US/docs/Web/API/SVGAnimationElement/repeatEvent_event -/en-US/docs/Mozilla_event_reference/reset (event) /en-US/docs/Web/API/HTMLFormElement/reset_event +/en-US/docs/Mozilla_event_reference/reset (event) /en-US/docs/Mozilla_event_reference/reset_(event) /en-US/docs/Web/API/HTMLFormElement/reset_event /en-US/docs/Mozilla_event_reference/resize /en-US/docs/Web/API/Window/resize_event /en-US/docs/Mozilla_event_reference/scroll /en-US/docs/Web/API/Document/scroll_event @@ -7349,8 +7348,7 @@ /en-US/docs/Mozilla_event_reference/show /en-US/docs/Web/API/Element/show_event /en-US/docs/Mozilla_event_reference/stalled /en-US/docs/Web/API/HTMLMediaElement/stalled_event /en-US/docs/Mozilla_event_reference/storage /en-US/docs/Web/API/Window/storage_event -/en-US/docs/Mozilla_event_reference/submit /en-US/docs/Web/API/HTMLFormElement/submit_event -/en-US/docs/Mozilla_event_reference/submit (event) /en-US/docs/Web/API/HTMLFormElement/submit_event +/en-US/docs/Mozilla_event_reference/submit (event) /en-US/docs/Mozilla_event_reference/submit_(event) /en-US/docs/Web/API/HTMLFormElement/submit_event /en-US/docs/Mozilla_event_reference/success_indexedDB /en-US/docs/Web/API/IDBRequest/success_event /en-US/docs/Mozilla_event_reference/success_indexedDB-redirect-1 /en-US/docs/Web/API/IDBRequest/success_event @@ -8185,7 +8183,7 @@ /en-US/docs/Transforming_XML_with_XSLT:The_Netscape_XSLT_XPath_Reference:Functions /en-US/docs/Web/XPath/Functions /en-US/docs/Traversing_an_HTML_table_with_JavaScript_and_DOM_Interfaces /en-US/docs/Web/API/Document_Object_Model/Traversing_an_HTML_table_with_JavaScript_and_DOM_Interfaces /en-US/docs/URI /en-US/docs/Glossary/URI -/en-US/docs/URI/www and non-www URLs /en-US/docs/Web/HTTP/Basics_of_HTTP/Choosing_between_www_and_non-www_URLs +/en-US/docs/URI/www and /en-US/docs/URI/www_vs_non-www_URLs /en-US/docs/Web/HTTP/Basics_of_HTTP/Choosing_between_www_and_non-www_URLs /en-US/docs/URL.createObjectURL /en-US/docs/Web/API/URL/createObjectURL /en-US/docs/URLUtilsReadOnly.origin /en-US/docs/Web/API/URLUtilsReadOnly/origin @@ -9195,6 +9193,7 @@ /en-US/docs/Web/API/HTMLFrameSetElement/onpopstate /en-US/docs/Web/API/WindowEventHandlers/onpopstate /en-US/docs/Web/API/HTMLFrameSetElement/onunload /en-US/docs/Web/API/WindowEventHandlers/onunload /en-US/docs/Web/API/HTMLHTMLElement.version /en-US/docs/Web/API/HTMLHtmlElement/version +/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash /en-US/docs/Web/API/HTMLAnchorElement/hash /en-US/docs/Web/API/HTMLIFrameElement.contentWindow /en-US/docs/Web/API/HTMLIFrameElement/contentWindow /en-US/docs/Web/API/HTMLIFrameElement/referrer /en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy /en-US/docs/Web/API/HTMLIFrameElement/setNfcFocus /en-US/docs/Web/API/HTMLIFrameElement @@ -11477,8 +11476,9 @@ /en-US/docs/Web/CSS/CSS_Colors /en-US/docs/Web/CSS/CSS_Color /en-US/docs/Web/CSS/CSS_Compositing_and_Blending /en-US/docs/Web/CSS/Compositing_and_Blending /en-US/docs/Web/CSS/CSS_Device_Adaptation/Viewport_Concepts /en-US/docs/Web/CSS/Viewport_concepts -/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Advanced_layouts_with_flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Mixins +/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Advanced_layouts_with_flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Backwards_Compatibility_of_Flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Box_Alignment_in_Flexbox /en-US/docs/Web/CSS/CSS_Box_Alignment/Box_Alignment_in_Flexbox +/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Mixins /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Backwards_Compatibility_of_Flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Using_CSS_flexible_boxes /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Using_flexbox_to_lay_out_web_applications /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Typical_Use_Cases_of_Flexbox /en-US/docs/Web/CSS/CSS_Flow_Layout/Formatting_Contexts_Explained /en-US/docs/Web/CSS/CSS_Flow_Layout/Intro_to_formatting_contexts @@ -11986,9 +11986,7 @@ /en-US/docs/Web/Guide/API/DOM/Using_dynamic_styling_information /en-US/docs/Web/API/CSS_Object_Model/Using_dynamic_styling_information /en-US/docs/Web/Guide/API/DOM/Using_full_screen_mode /en-US/docs/Web/API/Fullscreen_API /en-US/docs/Web/Guide/API/DOM/Whitespace_in_the_DOM /en-US/docs/Web/API/Document_Object_Model/Whitespace -/en-US/docs/Web/Guide/API/File System /en-US/docs/Web/API/File_and_Directory_Entries_API/Introduction -/en-US/docs/Web/Guide/API/File System/FileError /en-US/docs/Web/API/FileError -/en-US/docs/Web/Guide/API/File System/Introduction /en-US/docs/Web/API/File_and_Directory_Entries_API/Introduction +/en-US/docs/Web/Guide/API/File System/Introduction /en-US/docs/Web/Guide/API/Gamepad /en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API /en-US/docs/Web/Guide/API/Vibration /en-US/docs/Web/API/Vibration_API /en-US/docs/Web/Guide/API/WebRTC /en-US/docs/Web/API/WebRTC_API @@ -12692,7 +12690,7 @@ /en-US/docs/Web/Reference/Events/waiting /en-US/docs/Web/API/HTMLMediaElement/waiting_event /en-US/docs/Web/Reference/Events/wheel /en-US/docs/Web/API/Element/wheel_event /en-US/docs/Web/Reference/File_System_API /en-US/docs/Web/API/File_and_Directory_Entries_API -/en-US/docs/Web/Reference/Functions_and classes_available_to_workers /en-US/docs/Web/API/Web_Workers_API/Functions_and_classes_available_to_workers +/en-US/docs/Web/Reference/Functions_and classes_available_to_workers /en-US/docs/Web/Reference/Functions_and_classes_available_to_workers /en-US/docs/Web/API/Web_Workers_API/Functions_and_classes_available_to_workers /en-US/docs/Web/SVG/Attribute/dataset /en-US/docs/Web/API/HTMLOrForeignElement/dataset /en-US/docs/Web/SVG/Tutorial/Fill_Stroke_and_Gradients /en-US/docs/Web/SVG/Tutorial/Fills_and_Strokes diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index 400070193a4ce6a..e75e1d06e3aa950 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -55767,26 +55767,6 @@ "Annevk" ] }, - "Web/API/HTMLHyperlinkElementUtils/hash": { - "modified": "2020-10-15T21:24:52.659Z", - "contributors": [ - "Wind1808", - "sjfortin", - "Tigt", - "fscholz", - "SLYJason", - "lmika", - "jpmedley", - "libbymc", - "HassenPy", - "teoli", - "azasypkin", - "Sebastianz", - "chrisdavidmills", - "kohei.yoshino", - "vishu_gawli" - ] - }, "Web/API/HTMLHyperlinkElementUtils/host": { "modified": "2020-10-15T21:24:52.503Z", "contributors": [ @@ -165935,5 +165915,25 @@ "stephaniehobson", "groovecoder" ] + }, + "Web/API/HTMLAnchorElement/hash": { + "modified": "2020-10-15T21:24:52.659Z", + "contributors": [ + "Wind1808", + "sjfortin", + "Tigt", + "fscholz", + "SLYJason", + "lmika", + "jpmedley", + "libbymc", + "HassenPy", + "teoli", + "azasypkin", + "Sebastianz", + "chrisdavidmills", + "kohei.yoshino", + "vishu_gawli" + ] } -} +} \ No newline at end of file diff --git a/files/en-us/web/api/htmlhyperlinkelementutils/hash/index.html b/files/en-us/web/api/htmlanchorelement/hash/index.html similarity index 92% rename from files/en-us/web/api/htmlhyperlinkelementutils/hash/index.html rename to files/en-us/web/api/htmlanchorelement/hash/index.html index f72bafb87a8832f..1329ccba9843673 100644 --- a/files/en-us/web/api/htmlhyperlinkelementutils/hash/index.html +++ b/files/en-us/web/api/htmlanchorelement/hash/index.html @@ -1,13 +1,13 @@ --- title: HTMLHyperlinkElementUtils.hash -slug: Web/API/HTMLHyperlinkElementUtils/hash +slug: Web/API/HTMLAnchorElement/hash tags: -- API -- Experimental -- HTMLHyperlinkElementUtils -- Property -- Reference -- URL API + - API + - Experimental + - HTMLHyperlinkElementUtils + - Property + - Reference + - URL API ---
{{ APIRef("URLUtils") }}
From b7e0d0e0616af252b46fe6fd3e8e50689ffe57fe Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 12:42:05 +0100 Subject: [PATCH 02/19] yarn content move Web/API/HTMLHyperlinkElementUtils/href Web/API/HTMLAnchorElement/href --- files/en-us/_redirects.txt | 1 + files/en-us/_wikihistory.json | 34 +++++++++---------- .../href/index.html | 16 ++++----- 3 files changed, 26 insertions(+), 25 deletions(-) rename files/en-us/web/api/{htmlhyperlinkelementutils => htmlanchorelement}/href/index.html (91%) diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index 39d6fe2306f259d..9c45171f873d4ea 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -9194,6 +9194,7 @@ /en-US/docs/Web/API/HTMLFrameSetElement/onunload /en-US/docs/Web/API/WindowEventHandlers/onunload /en-US/docs/Web/API/HTMLHTMLElement.version /en-US/docs/Web/API/HTMLHtmlElement/version /en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash /en-US/docs/Web/API/HTMLAnchorElement/hash +/en-US/docs/Web/API/HTMLHyperlinkElementUtils/href /en-US/docs/Web/API/HTMLAnchorElement/href /en-US/docs/Web/API/HTMLIFrameElement.contentWindow /en-US/docs/Web/API/HTMLIFrameElement/contentWindow /en-US/docs/Web/API/HTMLIFrameElement/referrer /en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy /en-US/docs/Web/API/HTMLIFrameElement/setNfcFocus /en-US/docs/Web/API/HTMLIFrameElement diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index e75e1d06e3aa950..9e6c612589e2a12 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -55799,23 +55799,6 @@ "Kartik_Chadha" ] }, - "Web/API/HTMLHyperlinkElementUtils/href": { - "modified": "2020-10-15T21:24:52.508Z", - "contributors": [ - "chrisdavidmills", - "Wind1808", - "alattalatta", - "fscholz", - "jpmedley", - "libbymc", - "nufercle", - "Sheppy", - "teoli", - "Sebastianz", - "kscarfone", - "Kartik_Chadha" - ] - }, "Web/API/HTMLHyperlinkElementUtils/origin": { "modified": "2020-10-15T21:24:54.809Z", "contributors": [ @@ -165935,5 +165918,22 @@ "kohei.yoshino", "vishu_gawli" ] + }, + "Web/API/HTMLAnchorElement/href": { + "modified": "2020-10-15T21:24:52.508Z", + "contributors": [ + "chrisdavidmills", + "Wind1808", + "alattalatta", + "fscholz", + "jpmedley", + "libbymc", + "nufercle", + "Sheppy", + "teoli", + "Sebastianz", + "kscarfone", + "Kartik_Chadha" + ] } } \ No newline at end of file diff --git a/files/en-us/web/api/htmlhyperlinkelementutils/href/index.html b/files/en-us/web/api/htmlanchorelement/href/index.html similarity index 91% rename from files/en-us/web/api/htmlhyperlinkelementutils/href/index.html rename to files/en-us/web/api/htmlanchorelement/href/index.html index 24301bcdf88929b..9080e69a72013bf 100644 --- a/files/en-us/web/api/htmlhyperlinkelementutils/href/index.html +++ b/files/en-us/web/api/htmlanchorelement/href/index.html @@ -1,14 +1,14 @@ --- title: HTMLHyperlinkElementUtils.href -slug: Web/API/HTMLHyperlinkElementUtils/href +slug: Web/API/HTMLAnchorElement/href tags: -- API -- Experimental -- HTMLHyperlinkElementUtils -- Location -- Property -- Reference -- URL API + - API + - Experimental + - HTMLHyperlinkElementUtils + - Location + - Property + - Reference + - URL API ---

{{ApiRef("URL API")}}

From fac35c379140d43f2ecb8999314e80a11a200676 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 12:43:11 +0100 Subject: [PATCH 03/19] yarn content move Web/API/HTMLHyperlinkElementUtils/protocol Web/API/HTMLAnchorElement/protocol --- files/en-us/_redirects.txt | 1 + files/en-us/_wikihistory.json | 28 +++++++++---------- .../protocol/index.html | 12 ++++---- 3 files changed, 21 insertions(+), 20 deletions(-) rename files/en-us/web/api/{htmlhyperlinkelementutils => htmlanchorelement}/protocol/index.html (92%) diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index 9c45171f873d4ea..f0d435751a6ce4a 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -9195,6 +9195,7 @@ /en-US/docs/Web/API/HTMLHTMLElement.version /en-US/docs/Web/API/HTMLHtmlElement/version /en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash /en-US/docs/Web/API/HTMLAnchorElement/hash /en-US/docs/Web/API/HTMLHyperlinkElementUtils/href /en-US/docs/Web/API/HTMLAnchorElement/href +/en-US/docs/Web/API/HTMLHyperlinkElementUtils/protocol /en-US/docs/Web/API/HTMLAnchorElement/protocol /en-US/docs/Web/API/HTMLIFrameElement.contentWindow /en-US/docs/Web/API/HTMLIFrameElement/contentWindow /en-US/docs/Web/API/HTMLIFrameElement/referrer /en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy /en-US/docs/Web/API/HTMLIFrameElement/setNfcFocus /en-US/docs/Web/API/HTMLIFrameElement diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index 9e6c612589e2a12..065739cc3f3a068 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -55862,20 +55862,6 @@ "Kartik_Chadha" ] }, - "Web/API/HTMLHyperlinkElementUtils/protocol": { - "modified": "2020-10-15T21:24:52.609Z", - "contributors": [ - "Wind1808", - "epascarello", - "fscholz", - "erikadoyle", - "jpmedley", - "libbymc", - "teoli", - "chrisdavidmills", - "Kartik_Chadha" - ] - }, "Web/API/HTMLHyperlinkElementUtils/search": { "modified": "2020-10-15T21:24:52.537Z", "contributors": [ @@ -165935,5 +165921,19 @@ "kscarfone", "Kartik_Chadha" ] + }, + "Web/API/HTMLAnchorElement/protocol": { + "modified": "2020-10-15T21:24:52.609Z", + "contributors": [ + "Wind1808", + "epascarello", + "fscholz", + "erikadoyle", + "jpmedley", + "libbymc", + "teoli", + "chrisdavidmills", + "Kartik_Chadha" + ] } } \ No newline at end of file diff --git a/files/en-us/web/api/htmlhyperlinkelementutils/protocol/index.html b/files/en-us/web/api/htmlanchorelement/protocol/index.html similarity index 92% rename from files/en-us/web/api/htmlhyperlinkelementutils/protocol/index.html rename to files/en-us/web/api/htmlanchorelement/protocol/index.html index 8c6aae024ca4e7b..20dff4dd4478364 100644 --- a/files/en-us/web/api/htmlhyperlinkelementutils/protocol/index.html +++ b/files/en-us/web/api/htmlanchorelement/protocol/index.html @@ -1,12 +1,12 @@ --- title: HTMLHyperlinkElementUtils.protocol -slug: Web/API/HTMLHyperlinkElementUtils/protocol +slug: Web/API/HTMLAnchorElement/protocol tags: -- API -- Experimental -- HTMLHyperlinkElementUtils -- Property -- URL API + - API + - Experimental + - HTMLHyperlinkElementUtils + - Property + - URL API ---

{{ApiRef("URL API")}}

From cd3a0231f7e93f2aa88c92914b1a4de2198bf1ca Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 12:44:04 +0100 Subject: [PATCH 04/19] yarn content move Web/API/HTMLHyperlinkElementUtils/host Web/API/HTMLAnchorElement/host --- files/en-us/_redirects.txt | 1 + files/en-us/_wikihistory.json | 36 +++++++++---------- .../host/index.html | 14 ++++---- 3 files changed, 26 insertions(+), 25 deletions(-) rename files/en-us/web/api/{htmlhyperlinkelementutils => htmlanchorelement}/host/index.html (93%) diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index f0d435751a6ce4a..e23389ee1e857bb 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -9194,6 +9194,7 @@ /en-US/docs/Web/API/HTMLFrameSetElement/onunload /en-US/docs/Web/API/WindowEventHandlers/onunload /en-US/docs/Web/API/HTMLHTMLElement.version /en-US/docs/Web/API/HTMLHtmlElement/version /en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash /en-US/docs/Web/API/HTMLAnchorElement/hash +/en-US/docs/Web/API/HTMLHyperlinkElementUtils/host /en-US/docs/Web/API/HTMLAnchorElement/host /en-US/docs/Web/API/HTMLHyperlinkElementUtils/href /en-US/docs/Web/API/HTMLAnchorElement/href /en-US/docs/Web/API/HTMLHyperlinkElementUtils/protocol /en-US/docs/Web/API/HTMLAnchorElement/protocol /en-US/docs/Web/API/HTMLIFrameElement.contentWindow /en-US/docs/Web/API/HTMLIFrameElement/contentWindow diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index 065739cc3f3a068..8c233d25117a1fd 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -55767,24 +55767,6 @@ "Annevk" ] }, - "Web/API/HTMLHyperlinkElementUtils/host": { - "modified": "2020-10-15T21:24:52.503Z", - "contributors": [ - "Wind1808", - "fscholz", - "lap00zza", - "jpmedley", - "libbymc", - "teoli", - "Sebastianz", - "chrisdavidmills", - "cvrebert", - "mbudde", - "Bzbarsky", - "mattbasta", - "Kartik_Chadha" - ] - }, "Web/API/HTMLHyperlinkElementUtils/hostname": { "modified": "2020-10-15T21:24:52.580Z", "contributors": [ @@ -165935,5 +165917,23 @@ "chrisdavidmills", "Kartik_Chadha" ] + }, + "Web/API/HTMLAnchorElement/host": { + "modified": "2020-10-15T21:24:52.503Z", + "contributors": [ + "Wind1808", + "fscholz", + "lap00zza", + "jpmedley", + "libbymc", + "teoli", + "Sebastianz", + "chrisdavidmills", + "cvrebert", + "mbudde", + "Bzbarsky", + "mattbasta", + "Kartik_Chadha" + ] } } \ No newline at end of file diff --git a/files/en-us/web/api/htmlhyperlinkelementutils/host/index.html b/files/en-us/web/api/htmlanchorelement/host/index.html similarity index 93% rename from files/en-us/web/api/htmlhyperlinkelementutils/host/index.html rename to files/en-us/web/api/htmlanchorelement/host/index.html index eb768b037416f12..541b4c8d6d7d5f6 100644 --- a/files/en-us/web/api/htmlhyperlinkelementutils/host/index.html +++ b/files/en-us/web/api/htmlanchorelement/host/index.html @@ -1,13 +1,13 @@ --- title: HTMLHyperlinkElementUtils.host -slug: Web/API/HTMLHyperlinkElementUtils/host +slug: Web/API/HTMLAnchorElement/host tags: -- API -- Experimental -- HTMLHyperlinkElementUtils -- Property -- Reference -- URL API + - API + - Experimental + - HTMLHyperlinkElementUtils + - Property + - Reference + - URL API ---
{{ApiRef("URL API")}}
From aa4126f4d012a8146320183040bd4152625554d8 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 12:44:42 +0100 Subject: [PATCH 05/19] yarn content move Web/API/HTMLHyperlinkElementUtils/hostname Web/API/HTMLAnchorElement/hostname --- files/en-us/_redirects.txt | 1 + files/en-us/_wikihistory.json | 28 +++++++++---------- .../hostname/index.html | 14 +++++----- 3 files changed, 22 insertions(+), 21 deletions(-) rename files/en-us/web/api/{htmlhyperlinkelementutils => htmlanchorelement}/hostname/index.html (91%) diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index e23389ee1e857bb..8e0d5d7776c68c7 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -9195,6 +9195,7 @@ /en-US/docs/Web/API/HTMLHTMLElement.version /en-US/docs/Web/API/HTMLHtmlElement/version /en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash /en-US/docs/Web/API/HTMLAnchorElement/hash /en-US/docs/Web/API/HTMLHyperlinkElementUtils/host /en-US/docs/Web/API/HTMLAnchorElement/host +/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hostname /en-US/docs/Web/API/HTMLAnchorElement/hostname /en-US/docs/Web/API/HTMLHyperlinkElementUtils/href /en-US/docs/Web/API/HTMLAnchorElement/href /en-US/docs/Web/API/HTMLHyperlinkElementUtils/protocol /en-US/docs/Web/API/HTMLAnchorElement/protocol /en-US/docs/Web/API/HTMLIFrameElement.contentWindow /en-US/docs/Web/API/HTMLIFrameElement/contentWindow diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index 8c233d25117a1fd..384f4fa09a00397 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -55767,20 +55767,6 @@ "Annevk" ] }, - "Web/API/HTMLHyperlinkElementUtils/hostname": { - "modified": "2020-10-15T21:24:52.580Z", - "contributors": [ - "CarstenDeyl", - "Wind1808", - "fscholz", - "tyoshino", - "jpmedley", - "libbymc", - "teoli", - "chrisdavidmills", - "Kartik_Chadha" - ] - }, "Web/API/HTMLHyperlinkElementUtils/origin": { "modified": "2020-10-15T21:24:54.809Z", "contributors": [ @@ -165935,5 +165921,19 @@ "mattbasta", "Kartik_Chadha" ] + }, + "Web/API/HTMLAnchorElement/hostname": { + "modified": "2020-10-15T21:24:52.580Z", + "contributors": [ + "CarstenDeyl", + "Wind1808", + "fscholz", + "tyoshino", + "jpmedley", + "libbymc", + "teoli", + "chrisdavidmills", + "Kartik_Chadha" + ] } } \ No newline at end of file diff --git a/files/en-us/web/api/htmlhyperlinkelementutils/hostname/index.html b/files/en-us/web/api/htmlanchorelement/hostname/index.html similarity index 91% rename from files/en-us/web/api/htmlhyperlinkelementutils/hostname/index.html rename to files/en-us/web/api/htmlanchorelement/hostname/index.html index 04d0a59710bf325..c39e4945e2887e6 100644 --- a/files/en-us/web/api/htmlhyperlinkelementutils/hostname/index.html +++ b/files/en-us/web/api/htmlanchorelement/hostname/index.html @@ -1,13 +1,13 @@ --- title: HTMLHyperlinkElementUtils.hostname -slug: Web/API/HTMLHyperlinkElementUtils/hostname +slug: Web/API/HTMLAnchorElement/hostname tags: -- API -- Experimental -- HTMLHyperlinkElementUtils -- Property -- Reference -- URL API + - API + - Experimental + - HTMLHyperlinkElementUtils + - Property + - Reference + - URL API ---

{{ApiRef("URL API")}}

From eced4fc348ea08b7261c6d878441efd4e8038560 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 12:45:20 +0100 Subject: [PATCH 06/19] yarn content move Web/API/HTMLHyperlinkElementUtils/port Web/API/HTMLAnchorElement/port --- files/en-us/_redirects.txt | 1 + files/en-us/_wikihistory.json | 28 +++++++++---------- .../port/index.html | 14 +++++----- 3 files changed, 22 insertions(+), 21 deletions(-) rename files/en-us/web/api/{htmlhyperlinkelementutils => htmlanchorelement}/port/index.html (91%) diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index 8e0d5d7776c68c7..044c866af779686 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -9197,6 +9197,7 @@ /en-US/docs/Web/API/HTMLHyperlinkElementUtils/host /en-US/docs/Web/API/HTMLAnchorElement/host /en-US/docs/Web/API/HTMLHyperlinkElementUtils/hostname /en-US/docs/Web/API/HTMLAnchorElement/hostname /en-US/docs/Web/API/HTMLHyperlinkElementUtils/href /en-US/docs/Web/API/HTMLAnchorElement/href +/en-US/docs/Web/API/HTMLHyperlinkElementUtils/port /en-US/docs/Web/API/HTMLAnchorElement/port /en-US/docs/Web/API/HTMLHyperlinkElementUtils/protocol /en-US/docs/Web/API/HTMLAnchorElement/protocol /en-US/docs/Web/API/HTMLIFrameElement.contentWindow /en-US/docs/Web/API/HTMLIFrameElement/contentWindow /en-US/docs/Web/API/HTMLIFrameElement/referrer /en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index 384f4fa09a00397..4cb74dcf8a80f8e 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -55816,20 +55816,6 @@ "mikemcg" ] }, - "Web/API/HTMLHyperlinkElementUtils/port": { - "modified": "2020-10-15T21:24:52.528Z", - "contributors": [ - "Wind1808", - "fscholz", - "adambrenecki", - "erikadoyle", - "jpmedley", - "libbymc", - "teoli", - "chrisdavidmills", - "Kartik_Chadha" - ] - }, "Web/API/HTMLHyperlinkElementUtils/search": { "modified": "2020-10-15T21:24:52.537Z", "contributors": [ @@ -165935,5 +165921,19 @@ "chrisdavidmills", "Kartik_Chadha" ] + }, + "Web/API/HTMLAnchorElement/port": { + "modified": "2020-10-15T21:24:52.528Z", + "contributors": [ + "Wind1808", + "fscholz", + "adambrenecki", + "erikadoyle", + "jpmedley", + "libbymc", + "teoli", + "chrisdavidmills", + "Kartik_Chadha" + ] } } \ No newline at end of file diff --git a/files/en-us/web/api/htmlhyperlinkelementutils/port/index.html b/files/en-us/web/api/htmlanchorelement/port/index.html similarity index 91% rename from files/en-us/web/api/htmlhyperlinkelementutils/port/index.html rename to files/en-us/web/api/htmlanchorelement/port/index.html index 39f036764300f34..32ee2131e6dfd4d 100644 --- a/files/en-us/web/api/htmlhyperlinkelementutils/port/index.html +++ b/files/en-us/web/api/htmlanchorelement/port/index.html @@ -1,13 +1,13 @@ --- title: HTMLHyperlinkElementUtils.port -slug: Web/API/HTMLHyperlinkElementUtils/port +slug: Web/API/HTMLAnchorElement/port tags: -- API -- Experimental -- HTMLHyperlinkElementUtils -- Property -- Reference -- URL API + - API + - Experimental + - HTMLHyperlinkElementUtils + - Property + - Reference + - URL API ---

{{ApiRef("URL API")}}

From 8b155a49a14db38dc9904c155e7fc0758c09809f Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 12:46:01 +0100 Subject: [PATCH 07/19] yarn content move Web/API/HTMLHyperlinkElementUtils/pathname Web/API/HTMLAnchorElement/pathname --- files/en-us/_redirects.txt | 1 + files/en-us/_wikihistory.json | 38 +++++++++---------- .../pathname/index.html | 14 +++---- 3 files changed, 27 insertions(+), 26 deletions(-) rename files/en-us/web/api/{htmlhyperlinkelementutils => htmlanchorelement}/pathname/index.html (91%) diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index 044c866af779686..0c8783b3646fae4 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -9197,6 +9197,7 @@ /en-US/docs/Web/API/HTMLHyperlinkElementUtils/host /en-US/docs/Web/API/HTMLAnchorElement/host /en-US/docs/Web/API/HTMLHyperlinkElementUtils/hostname /en-US/docs/Web/API/HTMLAnchorElement/hostname /en-US/docs/Web/API/HTMLHyperlinkElementUtils/href /en-US/docs/Web/API/HTMLAnchorElement/href +/en-US/docs/Web/API/HTMLHyperlinkElementUtils/pathname /en-US/docs/Web/API/HTMLAnchorElement/pathname /en-US/docs/Web/API/HTMLHyperlinkElementUtils/port /en-US/docs/Web/API/HTMLAnchorElement/port /en-US/docs/Web/API/HTMLHyperlinkElementUtils/protocol /en-US/docs/Web/API/HTMLAnchorElement/protocol /en-US/docs/Web/API/HTMLIFrameElement.contentWindow /en-US/docs/Web/API/HTMLIFrameElement/contentWindow diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index 4cb74dcf8a80f8e..deb5d43aabe0a61 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -55797,25 +55797,6 @@ "Kartik_Chadha" ] }, - "Web/API/HTMLHyperlinkElementUtils/pathname": { - "modified": "2020-11-13T08:38:15.177Z", - "contributors": [ - "Rumyra", - "Brettz9", - "fscholz", - "johnjacobkenny", - "erikadoyle", - "chrisdavidmills", - "jpmedley", - "libbymc", - "teoli", - "klusark", - "fusionchess", - "mturnwall", - "Kartik_Chadha", - "mikemcg" - ] - }, "Web/API/HTMLHyperlinkElementUtils/search": { "modified": "2020-10-15T21:24:52.537Z", "contributors": [ @@ -165935,5 +165916,24 @@ "chrisdavidmills", "Kartik_Chadha" ] + }, + "Web/API/HTMLAnchorElement/pathname": { + "modified": "2020-11-13T08:38:15.177Z", + "contributors": [ + "Rumyra", + "Brettz9", + "fscholz", + "johnjacobkenny", + "erikadoyle", + "chrisdavidmills", + "jpmedley", + "libbymc", + "teoli", + "klusark", + "fusionchess", + "mturnwall", + "Kartik_Chadha", + "mikemcg" + ] } } \ No newline at end of file diff --git a/files/en-us/web/api/htmlhyperlinkelementutils/pathname/index.html b/files/en-us/web/api/htmlanchorelement/pathname/index.html similarity index 91% rename from files/en-us/web/api/htmlhyperlinkelementutils/pathname/index.html rename to files/en-us/web/api/htmlanchorelement/pathname/index.html index 346e2b4d6b6ba56..fcff4928d8d3a7d 100644 --- a/files/en-us/web/api/htmlhyperlinkelementutils/pathname/index.html +++ b/files/en-us/web/api/htmlanchorelement/pathname/index.html @@ -1,13 +1,13 @@ --- title: HTMLHyperlinkElementUtils.pathname -slug: Web/API/HTMLHyperlinkElementUtils/pathname +slug: Web/API/HTMLAnchorElement/pathname tags: -- API -- Experimental -- HTMLHyperlinkElementUtils -- Property -- Reference -- URL API + - API + - Experimental + - HTMLHyperlinkElementUtils + - Property + - Reference + - URL API ---

{{ApiRef("URL API")}}

From 0af75c2292ac215dfd1e513e56d05b0360fe0aa5 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 12:46:55 +0100 Subject: [PATCH 08/19] yarn content move Web/API/HTMLHyperlinkElementUtils/search Web/API/HTMLAnchorElement/search --- files/en-us/_redirects.txt | 1 + files/en-us/_wikihistory.json | 38 +++++++++---------- .../search/index.html | 14 +++---- 3 files changed, 27 insertions(+), 26 deletions(-) rename files/en-us/web/api/{htmlhyperlinkelementutils => htmlanchorelement}/search/index.html (93%) diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index 0c8783b3646fae4..3b215d87c8402a8 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -9200,6 +9200,7 @@ /en-US/docs/Web/API/HTMLHyperlinkElementUtils/pathname /en-US/docs/Web/API/HTMLAnchorElement/pathname /en-US/docs/Web/API/HTMLHyperlinkElementUtils/port /en-US/docs/Web/API/HTMLAnchorElement/port /en-US/docs/Web/API/HTMLHyperlinkElementUtils/protocol /en-US/docs/Web/API/HTMLAnchorElement/protocol +/en-US/docs/Web/API/HTMLHyperlinkElementUtils/search /en-US/docs/Web/API/HTMLAnchorElement/search /en-US/docs/Web/API/HTMLIFrameElement.contentWindow /en-US/docs/Web/API/HTMLIFrameElement/contentWindow /en-US/docs/Web/API/HTMLIFrameElement/referrer /en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy /en-US/docs/Web/API/HTMLIFrameElement/setNfcFocus /en-US/docs/Web/API/HTMLIFrameElement diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index deb5d43aabe0a61..cec1c7c0f00d0f5 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -55797,25 +55797,6 @@ "Kartik_Chadha" ] }, - "Web/API/HTMLHyperlinkElementUtils/search": { - "modified": "2020-10-15T21:24:52.537Z", - "contributors": [ - "Wind1808", - "mfluehr", - "BuonOmo", - "fscholz", - "Jonathan_Watt", - "chrisdavidmills", - "jpmedley", - "AndySky21", - "libbymc", - "teoli", - "jsx", - "madarche", - "fusionchess", - "Kartik_Chadha" - ] - }, "Web/API/HTMLHyperlinkElementUtils/toString": { "modified": "2020-10-15T21:24:54.612Z", "contributors": [ @@ -165935,5 +165916,24 @@ "Kartik_Chadha", "mikemcg" ] + }, + "Web/API/HTMLAnchorElement/search": { + "modified": "2020-10-15T21:24:52.537Z", + "contributors": [ + "Wind1808", + "mfluehr", + "BuonOmo", + "fscholz", + "Jonathan_Watt", + "chrisdavidmills", + "jpmedley", + "AndySky21", + "libbymc", + "teoli", + "jsx", + "madarche", + "fusionchess", + "Kartik_Chadha" + ] } } \ No newline at end of file diff --git a/files/en-us/web/api/htmlhyperlinkelementutils/search/index.html b/files/en-us/web/api/htmlanchorelement/search/index.html similarity index 93% rename from files/en-us/web/api/htmlhyperlinkelementutils/search/index.html rename to files/en-us/web/api/htmlanchorelement/search/index.html index 86e48db58632a9b..1536585d283b31e 100644 --- a/files/en-us/web/api/htmlhyperlinkelementutils/search/index.html +++ b/files/en-us/web/api/htmlanchorelement/search/index.html @@ -1,13 +1,13 @@ --- title: HTMLHyperlinkElementUtils.search -slug: Web/API/HTMLHyperlinkElementUtils/search +slug: Web/API/HTMLAnchorElement/search tags: -- API -- Experimental -- HTMLHyperlinkElementUtils -- Property -- Reference -- URL API + - API + - Experimental + - HTMLHyperlinkElementUtils + - Property + - Reference + - URL API ---
{{ApiRef("URL API")}}
From ca5516b395ec91b81cb8a60da360bc981ccbdc28 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 12:47:42 +0100 Subject: [PATCH 09/19] yarn content move Web/API/HTMLHyperlinkElementUtils/username Web/API/HTMLAnchorElement/username --- files/en-us/_redirects.txt | 1 + files/en-us/_wikihistory.json | 22 +++++++++---------- .../username/index.html | 14 ++++++------ 3 files changed, 19 insertions(+), 18 deletions(-) rename files/en-us/web/api/{htmlhyperlinkelementutils => htmlanchorelement}/username/index.html (91%) diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index 3b215d87c8402a8..e81623b9f9c7301 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -9201,6 +9201,7 @@ /en-US/docs/Web/API/HTMLHyperlinkElementUtils/port /en-US/docs/Web/API/HTMLAnchorElement/port /en-US/docs/Web/API/HTMLHyperlinkElementUtils/protocol /en-US/docs/Web/API/HTMLAnchorElement/protocol /en-US/docs/Web/API/HTMLHyperlinkElementUtils/search /en-US/docs/Web/API/HTMLAnchorElement/search +/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username /en-US/docs/Web/API/HTMLAnchorElement/username /en-US/docs/Web/API/HTMLIFrameElement.contentWindow /en-US/docs/Web/API/HTMLIFrameElement/contentWindow /en-US/docs/Web/API/HTMLIFrameElement/referrer /en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy /en-US/docs/Web/API/HTMLIFrameElement/setNfcFocus /en-US/docs/Web/API/HTMLIFrameElement diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index cec1c7c0f00d0f5..622db2988ffe3ce 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -55811,17 +55811,6 @@ "Kartik_Chadha" ] }, - "Web/API/HTMLHyperlinkElementUtils/username": { - "modified": "2020-10-15T21:24:54.543Z", - "contributors": [ - "Wind1808", - "fscholz", - "jpmedley", - "teoli", - "chrisdavidmills", - "Kartik_Chadha" - ] - }, "Web/API/HTMLIFrameElement": { "modified": "2020-10-15T21:07:37.626Z", "contributors": [ @@ -165935,5 +165924,16 @@ "fusionchess", "Kartik_Chadha" ] + }, + "Web/API/HTMLAnchorElement/username": { + "modified": "2020-10-15T21:24:54.543Z", + "contributors": [ + "Wind1808", + "fscholz", + "jpmedley", + "teoli", + "chrisdavidmills", + "Kartik_Chadha" + ] } } \ No newline at end of file diff --git a/files/en-us/web/api/htmlhyperlinkelementutils/username/index.html b/files/en-us/web/api/htmlanchorelement/username/index.html similarity index 91% rename from files/en-us/web/api/htmlhyperlinkelementutils/username/index.html rename to files/en-us/web/api/htmlanchorelement/username/index.html index b54c8195b07ea78..abf777b81d37ece 100644 --- a/files/en-us/web/api/htmlhyperlinkelementutils/username/index.html +++ b/files/en-us/web/api/htmlanchorelement/username/index.html @@ -1,13 +1,13 @@ --- title: HTMLHyperlinkElementUtils.username -slug: Web/API/HTMLHyperlinkElementUtils/username +slug: Web/API/HTMLAnchorElement/username tags: -- API -- Experimental -- HTMLHyperlinkElementUtils -- Property -- Reference -- URL API + - API + - Experimental + - HTMLHyperlinkElementUtils + - Property + - Reference + - URL API ---

{{ApiRef("URL API")}}

From 9bdf7fb2ff9c0bd790e9490f75fb4a22e1779557 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 12:48:18 +0100 Subject: [PATCH 10/19] yarn content move Web/API/HTMLHyperlinkElementUtils/password Web/API/HTMLAnchorElement/password --- files/en-us/_redirects.txt | 1 + files/en-us/_wikihistory.json | 24 +++++++++---------- .../password/index.html | 14 +++++------ 3 files changed, 20 insertions(+), 19 deletions(-) rename files/en-us/web/api/{htmlhyperlinkelementutils => htmlanchorelement}/password/index.html (92%) diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index e81623b9f9c7301..68418803572532e 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -9197,6 +9197,7 @@ /en-US/docs/Web/API/HTMLHyperlinkElementUtils/host /en-US/docs/Web/API/HTMLAnchorElement/host /en-US/docs/Web/API/HTMLHyperlinkElementUtils/hostname /en-US/docs/Web/API/HTMLAnchorElement/hostname /en-US/docs/Web/API/HTMLHyperlinkElementUtils/href /en-US/docs/Web/API/HTMLAnchorElement/href +/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password /en-US/docs/Web/API/HTMLAnchorElement/password /en-US/docs/Web/API/HTMLHyperlinkElementUtils/pathname /en-US/docs/Web/API/HTMLAnchorElement/pathname /en-US/docs/Web/API/HTMLHyperlinkElementUtils/port /en-US/docs/Web/API/HTMLAnchorElement/port /en-US/docs/Web/API/HTMLHyperlinkElementUtils/protocol /en-US/docs/Web/API/HTMLAnchorElement/protocol diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index 622db2988ffe3ce..1dddbd54cd13169 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -55785,18 +55785,6 @@ "Kartik_Chadha" ] }, - "Web/API/HTMLHyperlinkElementUtils/password": { - "modified": "2020-10-15T21:24:54.829Z", - "contributors": [ - "fscholz", - "sideshowbarker", - "jpmedley", - "Tigt", - "teoli", - "chrisdavidmills", - "Kartik_Chadha" - ] - }, "Web/API/HTMLHyperlinkElementUtils/toString": { "modified": "2020-10-15T21:24:54.612Z", "contributors": [ @@ -165935,5 +165923,17 @@ "chrisdavidmills", "Kartik_Chadha" ] + }, + "Web/API/HTMLAnchorElement/password": { + "modified": "2020-10-15T21:24:54.829Z", + "contributors": [ + "fscholz", + "sideshowbarker", + "jpmedley", + "Tigt", + "teoli", + "chrisdavidmills", + "Kartik_Chadha" + ] } } \ No newline at end of file diff --git a/files/en-us/web/api/htmlhyperlinkelementutils/password/index.html b/files/en-us/web/api/htmlanchorelement/password/index.html similarity index 92% rename from files/en-us/web/api/htmlhyperlinkelementutils/password/index.html rename to files/en-us/web/api/htmlanchorelement/password/index.html index fe0083644c24d79..01a8db31ffdb3dc 100644 --- a/files/en-us/web/api/htmlhyperlinkelementutils/password/index.html +++ b/files/en-us/web/api/htmlanchorelement/password/index.html @@ -1,13 +1,13 @@ --- title: HTMLHyperlinkElementUtils.password -slug: Web/API/HTMLHyperlinkElementUtils/password +slug: Web/API/HTMLAnchorElement/password tags: -- API -- Experimental -- HTMLHyperlinkElementUtils -- Property -- Read-only -- URL API + - API + - Experimental + - HTMLHyperlinkElementUtils + - Property + - Read-only + - URL API ---

{{ApiRef("URL API")}}

From 20a17ccf01823938b8c0d87ac0d1bd2894856479 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 12:49:19 +0100 Subject: [PATCH 11/19] yarn content move Web/API/HTMLHyperlinkElementUtils/origin Web/API/HTMLAnchorElement/origin --- files/en-us/_redirects.txt | 1 + files/en-us/_wikihistory.json | 36 +++++++++---------- .../origin/index.html | 16 ++++----- 3 files changed, 27 insertions(+), 26 deletions(-) rename files/en-us/web/api/{htmlhyperlinkelementutils => htmlanchorelement}/origin/index.html (92%) diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index 68418803572532e..adfa617ee439ccf 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -9197,6 +9197,7 @@ /en-US/docs/Web/API/HTMLHyperlinkElementUtils/host /en-US/docs/Web/API/HTMLAnchorElement/host /en-US/docs/Web/API/HTMLHyperlinkElementUtils/hostname /en-US/docs/Web/API/HTMLAnchorElement/hostname /en-US/docs/Web/API/HTMLHyperlinkElementUtils/href /en-US/docs/Web/API/HTMLAnchorElement/href +/en-US/docs/Web/API/HTMLHyperlinkElementUtils/origin /en-US/docs/Web/API/HTMLAnchorElement/origin /en-US/docs/Web/API/HTMLHyperlinkElementUtils/password /en-US/docs/Web/API/HTMLAnchorElement/password /en-US/docs/Web/API/HTMLHyperlinkElementUtils/pathname /en-US/docs/Web/API/HTMLAnchorElement/pathname /en-US/docs/Web/API/HTMLHyperlinkElementUtils/port /en-US/docs/Web/API/HTMLAnchorElement/port diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index 1dddbd54cd13169..63ffc4a7bf3c04f 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -55767,24 +55767,6 @@ "Annevk" ] }, - "Web/API/HTMLHyperlinkElementUtils/origin": { - "modified": "2020-10-15T21:24:54.809Z", - "contributors": [ - "sideshowbarker", - "fscholz", - "jpmedley", - "libbymc", - "teoli", - "claudepache", - "chrisdavidmills", - "cvrebert", - "poke", - "jonathanKingston", - "ziyunfei", - "Korikulum", - "Kartik_Chadha" - ] - }, "Web/API/HTMLHyperlinkElementUtils/toString": { "modified": "2020-10-15T21:24:54.612Z", "contributors": [ @@ -165935,5 +165917,23 @@ "chrisdavidmills", "Kartik_Chadha" ] + }, + "Web/API/HTMLAnchorElement/origin": { + "modified": "2020-10-15T21:24:54.809Z", + "contributors": [ + "sideshowbarker", + "fscholz", + "jpmedley", + "libbymc", + "teoli", + "claudepache", + "chrisdavidmills", + "cvrebert", + "poke", + "jonathanKingston", + "ziyunfei", + "Korikulum", + "Kartik_Chadha" + ] } } \ No newline at end of file diff --git a/files/en-us/web/api/htmlhyperlinkelementutils/origin/index.html b/files/en-us/web/api/htmlanchorelement/origin/index.html similarity index 92% rename from files/en-us/web/api/htmlhyperlinkelementutils/origin/index.html rename to files/en-us/web/api/htmlanchorelement/origin/index.html index 6d3851a805f96fd..70c22f48fe2d9ed 100644 --- a/files/en-us/web/api/htmlhyperlinkelementutils/origin/index.html +++ b/files/en-us/web/api/htmlanchorelement/origin/index.html @@ -1,14 +1,14 @@ --- title: HTMLHyperlinkElementUtils.origin -slug: Web/API/HTMLHyperlinkElementUtils/origin +slug: Web/API/HTMLAnchorElement/origin tags: -- API -- Experimental -- HTMLHyperlinkElementUtils -- Property -- Read-only -- Reference -- URL API + - API + - Experimental + - HTMLHyperlinkElementUtils + - Property + - Read-only + - Reference + - URL API ---

{{APIRef("URL API")}}

From 1553d71e1ec7cf16a016daabfc2b9046b322f04e Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 12:51:02 +0100 Subject: [PATCH 12/19] yarn content move Web/API/HTMLHyperlinkElementUtils/toString Web/API/HTMLAnchorElement/toString --- files/en-us/_redirects.txt | 1 + files/en-us/_wikihistory.json | 28 +++++++++---------- .../tostring/index.html | 16 +++++------ 3 files changed, 23 insertions(+), 22 deletions(-) rename files/en-us/web/api/{htmlhyperlinkelementutils => htmlanchorelement}/tostring/index.html (90%) diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index adfa617ee439ccf..0ccba27122ebc62 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -9203,6 +9203,7 @@ /en-US/docs/Web/API/HTMLHyperlinkElementUtils/port /en-US/docs/Web/API/HTMLAnchorElement/port /en-US/docs/Web/API/HTMLHyperlinkElementUtils/protocol /en-US/docs/Web/API/HTMLAnchorElement/protocol /en-US/docs/Web/API/HTMLHyperlinkElementUtils/search /en-US/docs/Web/API/HTMLAnchorElement/search +/en-US/docs/Web/API/HTMLHyperlinkElementUtils/toString /en-US/docs/Web/API/HTMLAnchorElement/toString /en-US/docs/Web/API/HTMLHyperlinkElementUtils/username /en-US/docs/Web/API/HTMLAnchorElement/username /en-US/docs/Web/API/HTMLIFrameElement.contentWindow /en-US/docs/Web/API/HTMLIFrameElement/contentWindow /en-US/docs/Web/API/HTMLIFrameElement/referrer /en-US/docs/Web/API/HTMLIFrameElement/referrerPolicy diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index 63ffc4a7bf3c04f..5ce49a397b7bcb2 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -55767,20 +55767,6 @@ "Annevk" ] }, - "Web/API/HTMLHyperlinkElementUtils/toString": { - "modified": "2020-10-15T21:24:54.612Z", - "contributors": [ - "sideshowbarker", - "fscholz", - "jpmedley", - "libbymc", - "nufercle", - "Sheppy", - "teoli", - "chrisdavidmills", - "Kartik_Chadha" - ] - }, "Web/API/HTMLIFrameElement": { "modified": "2020-10-15T21:07:37.626Z", "contributors": [ @@ -165935,5 +165921,19 @@ "Korikulum", "Kartik_Chadha" ] + }, + "Web/API/HTMLAnchorElement/toString": { + "modified": "2020-10-15T21:24:54.612Z", + "contributors": [ + "sideshowbarker", + "fscholz", + "jpmedley", + "libbymc", + "nufercle", + "Sheppy", + "teoli", + "chrisdavidmills", + "Kartik_Chadha" + ] } } \ No newline at end of file diff --git a/files/en-us/web/api/htmlhyperlinkelementutils/tostring/index.html b/files/en-us/web/api/htmlanchorelement/tostring/index.html similarity index 90% rename from files/en-us/web/api/htmlhyperlinkelementutils/tostring/index.html rename to files/en-us/web/api/htmlanchorelement/tostring/index.html index d18ddb5ec8ae74f..baa42a56b0eb0e5 100644 --- a/files/en-us/web/api/htmlhyperlinkelementutils/tostring/index.html +++ b/files/en-us/web/api/htmlanchorelement/tostring/index.html @@ -1,14 +1,14 @@ --- title: HTMLHyperlinkElementUtils.toString() -slug: Web/API/HTMLHyperlinkElementUtils/toString +slug: Web/API/HTMLAnchorElement/toString tags: -- API -- Experimental -- HTMLHyperlinkElementUtils -- Location -- Method -- Stringifier -- URL API + - API + - Experimental + - HTMLHyperlinkElementUtils + - Location + - Method + - Stringifier + - URL API ---

{{ApiRef("URL API")}}

From 6e491e24e19366f5b9ab028ea97c85c2eba7364b Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 12:55:07 +0100 Subject: [PATCH 13/19] yarn content delete Web/API/HTMLHyperlinkElementUtils --- files/en-us/_wikihistory.json | 19 ----- .../api/htmlhyperlinkelementutils/index.html | 85 ------------------- 2 files changed, 104 deletions(-) delete mode 100644 files/en-us/web/api/htmlhyperlinkelementutils/index.html diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index 5ce49a397b7bcb2..5b3cf710457f6b1 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -55748,25 +55748,6 @@ "ThomasACorey" ] }, - "Web/API/HTMLHyperlinkElementUtils": { - "modified": "2020-11-13T08:35:00.542Z", - "contributors": [ - "Rumyra", - "chrisdavidmills", - "Wind1808", - "connorshea", - "fscholz", - "myf", - "RayannTedds", - "ricea", - "jpmedley", - "teoli", - "cvrebert", - "baku", - "Bzbarsky", - "Annevk" - ] - }, "Web/API/HTMLIFrameElement": { "modified": "2020-10-15T21:07:37.626Z", "contributors": [ diff --git a/files/en-us/web/api/htmlhyperlinkelementutils/index.html b/files/en-us/web/api/htmlhyperlinkelementutils/index.html deleted file mode 100644 index 18652de0d8ca3e2..000000000000000 --- a/files/en-us/web/api/htmlhyperlinkelementutils/index.html +++ /dev/null @@ -1,85 +0,0 @@ ---- -title: HTMLHyperlinkElementUtils -slug: Web/API/HTMLHyperlinkElementUtils -tags: - - API - - Experimental - - Mixin - - URL API ---- -

{{ApiRef("URL API")}}{{SeeCompatTable}}

- -

The HTMLHyperlinkElementUtils mixin defines utility methods and properties to work with {{domxref("HTMLAnchorElement")}} and {{domxref("HTMLAreaElement")}}. These utilities allow to deal with common features like URLs.

- -

There are no objects of this type, but several objects such as {{domxref("HTMLAnchorElement")}} and {{domxref("HTMLAreaElement")}} implement it.

- -

Properties

- -
-

Note: This interface doesn't inherit any property.

-
- -
-
{{domxref("HTMLHyperlinkElementUtils.href")}}
-
This a stringifier property that returns a {{domxref("USVString")}} containing the whole URL, and allows the href to be updated.
-
{{domxref("HTMLHyperlinkElementUtils.protocol")}}
-
This is a {{domxref("USVString")}} containing the protocol scheme of the URL, including the final ':'.
-
{{domxref("HTMLHyperlinkElementUtils.host")}}
-
This is a {{domxref("USVString")}} containing the host, that is the hostname, and then, if the port of the URL is not empty (which can happen because it was not specified or because it was specified to be the default port of the URL's scheme), a ':', and the port of the URL.
-
{{domxref("HTMLHyperlinkElementUtils.hostname")}}
-
This is a {{domxref("USVString")}} containing the domain of the URL.
-
{{domxref("HTMLHyperlinkElementUtils.port")}}
-
This is a {{domxref("USVString")}} containing the port number of the URL.
-
{{domxref("HTMLHyperlinkElementUtils.pathname")}}
-
Is a {{domxref("USVString")}} containing an initial '/' followed by the path of the URL, not including the query string or fragment.
-
{{domxref("HTMLHyperlinkElementUtils.search")}}
-
This is a {{domxref("USVString")}} containing a '?' followed by the parameters of the URL.
-
{{domxref("HTMLHyperlinkElementUtils.hash")}}
-
This is a {{domxref("USVString")}} containing a '#' followed by the fragment identifier of the URL.
-
{{domxref("HTMLHyperlinkElementUtils.username")}}
-
This is a {{domxref("USVString")}} containing the username specified before the domain name.
-
{{domxref("HTMLHyperlinkElementUtils.password")}}
-
This is a {{domxref("USVString")}} containing the password specified before the domain name.
-
{{domxref("HTMLHyperlinkElementUtils.origin")}} {{readonlyInline}}
-
This returns a {{domxref("USVString")}} containing the origin of the URL (that is its scheme, its domain and its port).
-
- -

Methods

- -
-

Note: This interface doesn't inherit any method.

-
- -
-
{{domxref("HTMLHyperlinkElementUtils.toString()")}}
-
This returns a {{domxref("USVString")}} containing the whole URL. It is a synonym for {{domxref("HTMLHyperlinkElementUtils.href")}}, though it can't be used to modify the value.
-
- -

Specifications

- - - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('HTML WHATWG', '#htmlhyperlinkelementutils', 'HTMLHyperlinkElementUtils')}}{{Spec2('HTML WHATWG')}}Initial definition
- -

Browser compatibility

- -

{{Compat("api.HTMLHyperlinkElementUtils")}}

- -

See also

- -
    -
  • Interfaces implementing this one: {{domxref("HTMLAnchorElement")}}, {{domxref("HTMLAreaElement")}}
  • -
From 66f5aac6a0a6670cb64f91f69d844d7265b67af0 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 12:59:45 +0100 Subject: [PATCH 14/19] Cleanup HTMLAnchorElement main page --- .../web/api/htmlanchorelement/index.html | 57 +++++-------------- 1 file changed, 15 insertions(+), 42 deletions(-) diff --git a/files/en-us/web/api/htmlanchorelement/index.html b/files/en-us/web/api/htmlanchorelement/index.html index c0d5afad114e573..3b0713c0d786563 100644 --- a/files/en-us/web/api/htmlanchorelement/index.html +++ b/files/en-us/web/api/htmlanchorelement/index.html @@ -15,32 +15,32 @@

Properties

-

Inherits properties from its parent, {{domxref("HTMLElement")}}, and implements those from {{domxref("HTMLHyperlinkElementUtils")}}.

+

Inherits properties from its parent, {{domxref("HTMLElement")}}.

{{domxref("Element.accessKey")}}
Is a {{domxref("DOMString")}} representing a single character that switches input focus to the hyperlink.
{{domxref("HTMLAnchorElement.download")}} {{experimental_inline}}
Is a {{domxref("DOMString")}} indicating that the linked resource is intended to be downloaded rather than displayed in the browser. The value represent the proposed name of the file. If the name is not a valid filename of the underlying OS, browser will adapt it.
-
{{domxref("HTMLHyperlinkElementUtils.hash")}}
+
{{domxref("HTMLAnchorElement.hash")}}
Is a {{domxref("USVString")}} representing the fragment identifier, including the leading hash mark ('#'), if any, in the referenced URL.
-
{{domxref("HTMLHyperlinkElementUtils.host")}}
+
{{domxref("HTMLAnchorElement.host")}}
Is a {{domxref("USVString")}} representing the hostname and port (if it's not the default port) in the referenced URL.
-
{{domxref("HTMLHyperlinkElementUtils.hostname")}}
+
{{domxref("HTMLAnchorElement.hostname")}}
Is a {{domxref("USVString")}} representing the hostname in the referenced URL.
-
{{domxref("HTMLHyperlinkElementUtils.href")}}
+
{{domxref("HTMLAnchorElement.href")}}
Is a {{domxref("USVString")}} that is the result of parsing the {{htmlattrxref("href", "a")}} HTML attribute relative to the document, containing a valid URL of a linked resource.
{{domxref("HTMLAnchorElement.hreflang")}}
Is a {{domxref("DOMString")}} that reflects the {{htmlattrxref("hreflang", "a")}} HTML attribute, indicating the language of the linked resource.
-
{{domxref("HTMLHyperlinkElementUtils.password")}}
+
{{domxref("HTMLAnchorElement.password")}}
Is a {{domxref("USVString")}} containing the password specified before the domain name.
-
{{domxref("HTMLHyperlinkElementUtils.origin")}} {{readonlyInline}}
+
{{domxref("HTMLAnchorElement.origin")}} {{readonlyInline}}
Returns a {{domxref("USVString")}} containing the origin of the URL, that is its scheme, its domain and its port.
-
{{domxref("HTMLHyperlinkElementUtils.pathname")}}
+
{{domxref("HTMLAnchorElement.pathname")}}
Is a {{domxref("USVString")}} containing an initial '/' followed by the path of the URL, not including the query string or fragment.
-
{{domxref("HTMLHyperlinkElementUtils.port")}}
+
{{domxref("HTMLAnchorElement.port")}}
Is a {{domxref("USVString")}} representing the port component, if any, of the referenced URL.
-
{{domxref("HTMLHyperlinkElementUtils.protocol")}}
+
{{domxref("HTMLAnchorElement.protocol")}}
Is a {{domxref("USVString")}} representing the protocol component, including trailing colon (':'), of the referenced URL.
{{domxref("HTMLAnchorElement.referrerPolicy")}} {{experimental_inline}}
Is a {{domxref("DOMString")}} that reflects the {{htmlattrxref("referrerpolicy", "a")}} HTML attribute indicating which referrer to use.
@@ -48,7 +48,7 @@

Properties

Is a {{domxref("DOMString")}} that reflects the {{htmlattrxref("rel", "a")}} HTML attribute, specifying the relationship of the target object to the linked object.
{{domxref("HTMLAnchorElement.relList")}} {{readonlyInline}}
Returns a {{domxref("DOMTokenList")}} that reflects the {{htmlattrxref("rel", "a")}} HTML attribute, as a list of tokens.
-
{{domxref("HTMLHyperlinkElementUtils.search")}}
+
{{domxref("HTMLAnchorElement.search")}}
Is a {{domxref("USVString")}} representing the search element, including leading question mark ('?'), if any, of the referenced URL.
{{domxref("HTMLElement.tabindex")}}
Is a long containing the position of the element in the tabbing navigation order for the current document.
@@ -58,7 +58,7 @@

Properties

Is a {{domxref("DOMString")}} being a synonym for the {{domxref("Node.textContent")}} property.
{{domxref("HTMLAnchorElement.type")}}
Is a {{domxref("DOMString")}} that reflects the {{htmlattrxref("type", "a")}} HTML attribute, indicating the MIME type of the linked resource.
-
{{domxref("HTMLHyperlinkElementUtils.username")}}
+
{{domxref("HTMLAnchorElement.username")}}
Is a {{domxref("USVString")}} containing the username specified before the domain name.
@@ -81,15 +81,15 @@

Obsolete properties

Methods

-

Inherits methods from its parent, {{domxref("HTMLElement")}}, and implements those from {{domxref("HTMLHyperlinkElementUtils")}}.

+

Inherits methods from its parent, {{domxref("HTMLElement")}}.

{{domxref("HTMLElement.blur()")}}
Removes the keyboard focus from the current element.
{{domxref("HTMLElement.focus()")}}
Gives the keyboard focus to the current element.
-
{{domxref("HTMLHyperlinkElementUtils.toString()")}}
-
Returns a {{domxref("USVString")}} containing the whole URL. It is a synonym for {{domxref("HTMLHyperlinkElementUtils.href")}}, though it can't be used to modify the value.
+
{{domxref("HTMLAnchorElement.toString()")}}
+
Returns a {{domxref("USVString")}} containing the whole URL. It is a synonym for {{domxref("HTMLAnchorElement.href")}}, though it can't be used to modify the value.

The blur() and focus() methods are inherited from {{domxref("HTMLElement")}} from HTML5 on, but were defined on HTMLAnchorElement in DOM Level 2 HTML and earlier specifications.

@@ -100,44 +100,17 @@

Specifications

Specification - Status - Comment {{SpecName('HTML WHATWG', "#htmlanchorelement", "HTMLAnchorElement")}} - {{Spec2('HTML WHATWG')}} - The following property has been added: download.
- Technically, the URL-related properties, host, hostname, pathname, port, protocol, search, and hash, have been moved to the {{domxref("HTMLHyperlinkElementUtils")}} mixin, and HTMLAnchorElement implements this mixin. - - - {{SpecName('HTML5 W3C', "text-level-semantics.html#the-a-element", "HTMLAnchorElement")}} - {{Spec2('HTML5 W3C')}} - The methods blur() and focus(), as well as the properties tabindex and accessKey, are now defined on {{domxref("HTMLElement")}}.
- The following properties are now obsolete: charset, coords, name, rev, and shape.
- The following properties have been added: hash, host, hostname, pathname, port, protocol, relList, search, and text. - - - {{SpecName('DOM2 HTML', 'html.html#ID-48250443', 'HTMLAnchorElement')}} - {{Spec2('DOM2 HTML')}} - No change from {{SpecName("DOM1")}}. - - - {{SpecName('DOM1', 'level-one-html.html#ID-48250443', 'HTMLAnchorElement')}} - {{Spec2('DOM1')}} - Initial definition.

Browser compatibility

- -
-

{{Compat("api.HTMLAnchorElement")}}

-

See also

-
  • The HTML element implementing this interface: {{HTMLElement("a")}}
From 7e3675097399939c7a1c79061dce4089eb1158fc Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 15:24:37 +0100 Subject: [PATCH 15/19] Cleanup moved pages --- .../web/api/htmlanchorelement/hash/index.html | 49 ++++++++++--------- .../web/api/htmlanchorelement/host/index.html | 36 ++++++-------- .../api/htmlanchorelement/hostname/index.html | 34 ++++++------- .../web/api/htmlanchorelement/href/index.html | 34 ++++++------- .../api/htmlanchorelement/origin/index.html | 35 ++++++------- .../api/htmlanchorelement/password/index.html | 37 ++++++-------- .../api/htmlanchorelement/pathname/index.html | 34 ++++++------- .../web/api/htmlanchorelement/port/index.html | 36 +++++++------- .../api/htmlanchorelement/protocol/index.html | 36 +++++++------- .../api/htmlanchorelement/search/index.html | 47 +++++++++--------- .../api/htmlanchorelement/tostring/index.html | 31 +++++------- .../api/htmlanchorelement/username/index.html | 36 +++++++------- 12 files changed, 208 insertions(+), 237 deletions(-) diff --git a/files/en-us/web/api/htmlanchorelement/hash/index.html b/files/en-us/web/api/htmlanchorelement/hash/index.html index 1329ccba9843673..7eea813ab05ea99 100644 --- a/files/en-us/web/api/htmlanchorelement/hash/index.html +++ b/files/en-us/web/api/htmlanchorelement/hash/index.html @@ -1,18 +1,16 @@ --- -title: HTMLHyperlinkElementUtils.hash +title: HTMLAnchorElement.hash slug: Web/API/HTMLAnchorElement/hash tags: - API - - Experimental - - HTMLHyperlinkElementUtils + - HTMLAnchorElement - Property - Reference - - URL API --- -
{{ APIRef("URLUtils") }}
+
{{ APIRef("HTML DOM") }}

The - HTMLHyperlinkElementUtils.hash property returns a + HTMLAnchorElement.hash property returns a {{domxref("USVString")}} containing a '#' followed by the fragment identifier of the URL.

@@ -22,17 +20,29 @@

Syntax

-
string = object.hash;
-object.hash = string;
+
+// Getter
+string = anchor.hash;
+// Setter
+anchor.hash = string;
 
- +

Examples

-
<a id="myAnchor" href="/en-US/docs/HTMLHyperlinkElementUtils.href#Examples">Examples</a>
-<script>
-  var anchor = document.getElementById("myAnchor");
-  console.log(anchor.hash); // Returns '#Examples'
-</script>
+

Getting the hash from an anchor link

+ +Given this HTML + +
+<a id="myAnchor" href="/en-US/docs/HTMLAnchorElement#Examples">Examples</a>
+
+ +you can get the hash of the anchor like this: + +
+const anchor = document.getElementById("myAnchor");
+anchor.hash; // returns '#Examples'
+

Specifications

@@ -40,24 +50,19 @@

Specifications

Specification - Status - Comment - {{SpecName('HTML WHATWG', '#dom-hyperlink-hash', - 'HTMLHyperlinkElementUtils.hash')}} - {{Spec2('HTML WHATWG')}} - Initial definition + {{SpecName('HTML WHATWG', '#dom-hyperlink-hash','HTMLHyperlinkElementUtils.hash')}}

Browser compatibility

-

{{Compat("api.HTMLHyperlinkElementUtils.hash")}}

+

{{Compat("api.HTMLAnchorElement.hash")}}

See also

    -
  • The {{domxref("HTMLHyperlinkElementUtils")}} mixin it belongs to.
  • +
  • The {{domxref("HTMLAnchorElement")}} interface it belongs to.
diff --git a/files/en-us/web/api/htmlanchorelement/host/index.html b/files/en-us/web/api/htmlanchorelement/host/index.html index 541b4c8d6d7d5f6..52597cb5fb4ea30 100644 --- a/files/en-us/web/api/htmlanchorelement/host/index.html +++ b/files/en-us/web/api/htmlanchorelement/host/index.html @@ -1,39 +1,40 @@ --- -title: HTMLHyperlinkElementUtils.host +title: HTMLAnchorElement.host slug: Web/API/HTMLAnchorElement/host tags: - API - - Experimental - - HTMLHyperlinkElementUtils + - HTMLAnchorElement - Property - Reference - - URL API --- -
{{ApiRef("URL API")}}
+
{{ApiRef("HTML DOM")}}
-

The HTMLHyperlinkElementUtils.host property is a +

The HTMLAnchorElement.host property is a {{domxref("USVString")}} containing the host, that is the hostname, and then, if the port of the URL is nonempty, a ':', and the port of the URL.

Syntax

-
string = object.host;
-object.host = string;
+
+// Getter
+string = anchor.host;
+// Setter
+anchor.host = string;
 

Examples

-
var anchor = document.createElement("a");
+
const anchor = document.createElement("a");
 
-anchor.href = "https://developer.mozilla.org/en-US/HTMLHyperlinkElementUtils.host"
+anchor.href = "https://developer.mozilla.org/en-US/HTMLAnchorElement"
 anchor.host == "developer.mozilla.org"
 
-anchor.href = "https://developer.mozilla.org:443/en-US/HTMLHyperlinkElementUtils.host"
+anchor.href = "https://developer.mozilla.org:443/en-US/HTMLAnchorElement"
 anchor.host == "developer.mozilla.org"
 // The port number is not included because 443 is the scheme's default port
 
-anchor.href = "https://developer.mozilla.org:4097/en-US/HTMLHyperlinkElementUtils.host"
+anchor.href = "https://developer.mozilla.org:4097/en-US/HTMLAnchorElement"
 anchor.host == "developer.mozilla.org:4097"
 
@@ -43,24 +44,19 @@

Specifications

Specification - Status - Comment - {{SpecName('HTML WHATWG', '#dom-hyperlink-host', - 'HTMLHyperlinkElementUtils.host')}} - {{Spec2('HTML WHATWG')}} - Initial definition + {{SpecName('HTML WHATWG', '#dom-hyperlink-host','HTMLHyperlinkElementUtils.host')}}

Browser compatibility

-

{{Compat("api.HTMLHyperlinkElementUtils.host")}}

+

{{Compat("api.HTMLAnchorElement.host")}}

See also

    -
  • The {{domxref("HTMLHyperlinkElementUtils")}} mixin it belongs to.
  • +
  • The {{domxref("HTMLAnchorElement")}} interface it belongs to.
diff --git a/files/en-us/web/api/htmlanchorelement/hostname/index.html b/files/en-us/web/api/htmlanchorelement/hostname/index.html index c39e4945e2887e6..2f9367b06d76d3c 100644 --- a/files/en-us/web/api/htmlanchorelement/hostname/index.html +++ b/files/en-us/web/api/htmlanchorelement/hostname/index.html @@ -1,30 +1,31 @@ --- -title: HTMLHyperlinkElementUtils.hostname +title: HTMLAnchorElement.hostname slug: Web/API/HTMLAnchorElement/hostname tags: - API - - Experimental - - HTMLHyperlinkElementUtils + - HTMLAnchorElement - Property - Reference - - URL API --- -

{{ApiRef("URL API")}}

+

{{ApiRef("HTML DOM")}}

-

The HTMLHyperlinkElementUtils.hostname property is a +

The HTMLAnchorElement.hostname property is a {{domxref("USVString")}} containing the domain of the URL.

Syntax

-
string = object.hostname;
-object.hostname = string;
+
+// Getter
+string = anchor.hostname;
+// Setter
+anchor.hostname = string;
 

Examples

-
// Let's an <a id="myAnchor" href="/en-US/docs/HTMLHyperlinkElementUtils.hostname"> element be in the document
-var anchor = document.getElementById("myAnchor");
-var result = anchor.hostname; // Returns:'developer.mozilla.org'
+
// An <a id="myAnchor" href="/en-US/docs/HTMLAnchorElement"> element is in the document
+const anchor = document.getElementById("myAnchor");
+anchor.hostname; // returns 'developer.mozilla.org'

Specifications

@@ -32,24 +33,19 @@

Specifications

Specification - Status - Comment - {{SpecName('HTML WHATWG', '#dom-hyperlink-hostname', - 'HTMLHyperlinkElementUtils.hostname')}} - {{Spec2('HTML WHATWG')}} - Initial definition. + {{SpecName('HTML WHATWG', '#dom-hyperlink-hostname','HTMLHyperlinkElementUtils.hostname')}}

Browser compatibility

-

{{Compat("api.HTMLHyperlinkElementUtils.hostname")}}

+

{{Compat("api.HTMLAnchorElement.hostname")}}

See also

    -
  • The {{domxref("HTMLHyperlinkElementUtils")}} mixin it belongs to.
  • +
  • The {{domxref("HTMLAnchorElement")}} interface it belongs to.
diff --git a/files/en-us/web/api/htmlanchorelement/href/index.html b/files/en-us/web/api/htmlanchorelement/href/index.html index 9080e69a72013bf..49ad23073681567 100644 --- a/files/en-us/web/api/htmlanchorelement/href/index.html +++ b/files/en-us/web/api/htmlanchorelement/href/index.html @@ -1,32 +1,33 @@ --- -title: HTMLHyperlinkElementUtils.href +title: HTMLAnchorElement.href slug: Web/API/HTMLAnchorElement/href tags: - API - - Experimental - - HTMLHyperlinkElementUtils + - HTMLAnchorElement - Location - Property - Reference - - URL API --- -

{{ApiRef("URL API")}}

+

{{ApiRef("HTML DOM")}}

-

The HTMLHyperlinkElementUtils.href property is a +

The HTMLAnchorElement.href property is a stringifier that returns a {{domxref("USVString")}} containing the whole URL, and allows the href to be updated.

Syntax

-
string = object.href;
-object.href = string;
+
+// Getter
+string = anchor.href;
+// Setter
+anchor.href = string;
 

Examples

-
// Lets imagine an <a id="myAnchor" href="https://developer.mozilla.org/en-US/HTMLHyperlinkElementUtils/href"> element is in the document
-var anchor = document.getElementById("myAnchor");
-var result = anchor.href; // Returns: 'https://developer.mozilla.org/en-US/HTMLHyperlinkElementUtils/href'
+
// An <a id="myAnchor" href="https://developer.mozilla.org/en-US/HTMLAnchorElement"> element is in the document
+const anchor = document.getElementById("myAnchor");
+anchor.href; // returns 'https://developer.mozilla.org/en-US/HTMLAnchorElement'
 

Specifications

@@ -35,24 +36,19 @@

Specifications

Specification - Status - Comment - {{SpecName('HTML WHATWG', '#dom-hyperlink-href', - 'HTMLHyperlinkElementUtils.href')}} - {{Spec2('HTML WHATWG')}} - Initial definition. + {{SpecName('HTML WHATWG', '#dom-hyperlink-href','HTMLHyperlinkElementUtils.href')}}

Browser compatibility

-

{{Compat("api.HTMLHyperlinkElementUtils.href")}}

+

{{Compat("api.HTMLAnchorElement.href")}}

See also

    -
  • The {{domxref("HTMLHyperlinkElementUtils")}} mixin it belongs to.
  • +
  • The {{domxref("HTMLAnchorElement")}} interface it belongs to.
diff --git a/files/en-us/web/api/htmlanchorelement/origin/index.html b/files/en-us/web/api/htmlanchorelement/origin/index.html index 70c22f48fe2d9ed..e0db760aec0a6dd 100644 --- a/files/en-us/web/api/htmlanchorelement/origin/index.html +++ b/files/en-us/web/api/htmlanchorelement/origin/index.html @@ -1,19 +1,17 @@ --- -title: HTMLHyperlinkElementUtils.origin +title: HTMLAnchorElement.origin slug: Web/API/HTMLAnchorElement/origin tags: - API - - Experimental - - HTMLHyperlinkElementUtils + - HTMLAnchorElement - Property - Read-only - Reference - - URL API --- -

{{APIRef("URL API")}}

+

{{APIRef("HTML DOM")}}

The - HTMLHyperlinkElementUtils.origin read-only property is a + HTMLAnchorElement.origin read-only property is a {{domxref("USVString")}} containing the Unicode serialization of the origin of the represented URL; that is:

@@ -28,17 +26,21 @@ "https://mozilla.org". -

{{AvailableInWorkers}}

-

Syntax

-
string = object.origin;
+
+// Getter
+string = anchor.origin;
+
+// No setter; read-only property
 

Examples

-
// On this page, returns the origin
-var result = window.location.origin; // Returns:'https://developer.mozilla.org'
+
+
// An <a id="myAnchor" href="https://developer.mozilla.org/en-US/HTMLAnchorElement"> element is in the document
+const anchor = document.getElementById("myAnchor");
+anchor.origin; // returns 'https://developer.mozilla.org'
 

Specifications

@@ -47,24 +49,19 @@

Specifications

Specification - Status - Comment - {{SpecName('HTML WHATWG', '#dom-hyperlink-origin', - 'HTMLHyperlinkElementUtils.origin')}} - {{Spec2('HTML WHATWG')}} - Initial definition. + {{SpecName('HTML WHATWG', '#dom-hyperlink-origin','HTMLHyperlinkElementUtils.origin')}}

Browser compatibility

-

{{Compat("api.HTMLHyperlinkElementUtils.origin")}}

+

{{Compat("api.HTMLAnchorElement.origin")}}

See also

    -
  • The {{domxref("HTMLHyperlinkElementUtils")}} mixin it belongs to.
  • +
  • The {{domxref("HTMLAnchorElement")}} interface it belongs to.
diff --git a/files/en-us/web/api/htmlanchorelement/password/index.html b/files/en-us/web/api/htmlanchorelement/password/index.html index 01a8db31ffdb3dc..f385c7d036ca8ee 100644 --- a/files/en-us/web/api/htmlanchorelement/password/index.html +++ b/files/en-us/web/api/htmlanchorelement/password/index.html @@ -1,34 +1,34 @@ --- -title: HTMLHyperlinkElementUtils.password +title: HTMLAnchorElement.password slug: Web/API/HTMLAnchorElement/password tags: - API - - Experimental - - HTMLHyperlinkElementUtils + - HTMLAnchorElement - Property - - Read-only - - URL API --- -

{{ApiRef("URL API")}}

+

{{ApiRef("HTML DOM")}}

-

The HTMLHyperlinkElementUtils.password property is a +

The HTMLAnchorElement.password property is a {{domxref("USVString")}} containing the password specified before the domain name.

If it is set without first setting the - username + username property, it silently fails.

Syntax

-
string = object.password;
-object.password = string;
+
+// Getter
+string = anchor.password;
+// Setter
+anchor.password = string;
 

Examples

-
// Let's <a id="myAnchor" href="https://anonymous:flabada@developer.mozilla.org/en-US/docs/HTMLHyperlinkElementUtils.username"> be in the document
-var anchor = document.getElementByID("myAnchor");
-var result = anchor.password; // Returns:'flabada'
+
// An <a id="myAnchor" href="https://anonymous:flabada@developer.mozilla.org/en-US/docs/HTMLAnchorElement"> is in the document
+const anchor = document.getElementByID("myAnchor");
+anchor.password; // returns 'flabada'
 

Specifications

@@ -37,24 +37,19 @@

Specifications

Specification - Status - Comment - {{SpecName('HTML WHATWG', '#dom-hyperlink-password', - 'HTMLHyperlinkElementUtils.password')}} - {{Spec2('HTML WHATWG')}} - Initial definition. + {{SpecName('HTML WHATWG', '#dom-hyperlink-password','HTMLHyperlinkElementUtils.password')}}

Browser compatibility

-

{{Compat("api.HTMLHyperlinkElementUtils.password")}}

+

{{Compat("api.HTMLAnchorElement.password")}}

See also

    -
  • The {{domxref("HTMLHyperlinkElementUtils")}} mixin it belongs to.
  • +
  • The {{domxref("HTMLAnchorElement")}} interface it belongs to.
diff --git a/files/en-us/web/api/htmlanchorelement/pathname/index.html b/files/en-us/web/api/htmlanchorelement/pathname/index.html index fcff4928d8d3a7d..350bc822b91f25a 100644 --- a/files/en-us/web/api/htmlanchorelement/pathname/index.html +++ b/files/en-us/web/api/htmlanchorelement/pathname/index.html @@ -1,32 +1,33 @@ --- -title: HTMLHyperlinkElementUtils.pathname +title: HTMLAnchorElement.pathname slug: Web/API/HTMLAnchorElement/pathname tags: - API - - Experimental - - HTMLHyperlinkElementUtils + - HTMLAnchorElement - Property - Reference - - URL API --- -

{{ApiRef("URL API")}}

+

{{ApiRef("HTML DOM")}}

-

The HTMLHyperlinkElementUtils.pathname property is a +

The HTMLAnchorElement.pathname property is a {{domxref("USVString")}} containing an initial '/' followed by the path of the URL not including the query string or fragment (or the empty string if there is no path).

Syntax

-
string = object.pathname;
-object.pathname = string;
+
+// Getter
+string = anchor.pathname;
+// Setter
+anchor.pathname = string;
 

Examples

-
// Let's an <a id="myAnchor" href="/en-US/docs/HTMLHyperlinkElementUtils.pathname"> element be in the document
-var anchor = document.getElementById("myAnchor");
-var result = anchor.pathname; // Returns:'/en-US/docs/HTMLHyperlinkElementUtils.pathname'
+
// An <a id="myAnchor" href="/en-US/docs/HTMLAnchorElement"> element is in the document
+const anchor = document.getElementById("myAnchor");
+anchor.pathname; // returns '/en-US/docs/HTMLAnchorElement'
 

Specifications

@@ -35,24 +36,19 @@

Specifications

Specification - Status - Comment - {{SpecName('HTML WHATWG', '#dom-hyperlink-pathname', - 'HTMLHyperlinkElementUtils.pathname')}} - {{Spec2('HTML WHATWG')}} - Initial definition. + {{SpecName('HTML WHATWG', '#dom-hyperlink-pathname','HTMLHyperlinkElementUtils.pathname')}}

Browser compatibility

-

{{Compat("api.HTMLHyperlinkElementUtils.pathname")}}

+

{{Compat("api.HTMLAnchorElement.pathname")}}

See also

    -
  • The {{domxref("HTMLHyperlinkElementUtils")}} mixin it belongs to.
  • +
  • The {{domxref("HTMLAnchorElement")}} interface it belongs to.
diff --git a/files/en-us/web/api/htmlanchorelement/port/index.html b/files/en-us/web/api/htmlanchorelement/port/index.html index 32ee2131e6dfd4d..5c6d5ac7c1d9a1f 100644 --- a/files/en-us/web/api/htmlanchorelement/port/index.html +++ b/files/en-us/web/api/htmlanchorelement/port/index.html @@ -1,31 +1,34 @@ --- -title: HTMLHyperlinkElementUtils.port +title: HTMLAnchorElement.port slug: Web/API/HTMLAnchorElement/port tags: - API - - Experimental - - HTMLHyperlinkElementUtils + - HTMLAnchorElement - Property - Reference - - URL API --- -

{{ApiRef("URL API")}}

+

{{ApiRef("HTML DOM")}}

-

The HTMLHyperlinkElementUtils.port property is a +

The HTMLAnchorElement.port property is a {{domxref("USVString")}} containing the port number of the URL. If the URL does not contain an explicit port number, it will be set to ''.

Syntax

-
string = object.port;
-object.port = string;
+
+// Getter
+string = anchor.port;
+// Setter
+anchor.port = string;
 

Examples

-
// Let's an <a id="myAnchor" href="https://developer.mozilla.org:443/en-US/docs/HTMLHyperlinkElementUtils.port"> element be in the document
-var anchor = document.getElementByID("myAnchor");
-var result = anchor.port; // Returns:'443'
+

Getting the port from an anchor link

+ +
// An <a id="myAnchor" href="https://developer.mozilla.org:443/en-US/docs/HTMLAnchorElement"> element is in the document
+const anchor = document.getElementByID("myAnchor");
+anchor.port; // returns '443'
 

Specifications

@@ -34,24 +37,19 @@

Specifications

Specification - Status - Comment - {{SpecName('HTML WHATWG', '#dom-hyperlink-port', - 'HTMLHyperlinkElementUtils.port')}} - {{Spec2('HTML WHATWG')}} - Initial definition. + {{SpecName('HTML WHATWG', '#dom-hyperlink-port','HTMLHyperlinkElementUtils.port')}}

Browser compatibility

-

{{Compat("api.HTMLHyperlinkElementUtils.port")}}

+

{{Compat("api.HTMLAnchorElement.port")}}

See also

    -
  • The {{domxref("HTMLHyperlinkElementUtils")}} mixin it belongs to.
  • +
  • The {{domxref("HTMLAnchorElement")}} interface it belongs to.
diff --git a/files/en-us/web/api/htmlanchorelement/protocol/index.html b/files/en-us/web/api/htmlanchorelement/protocol/index.html index 20dff4dd4478364..5ae729ec6252543 100644 --- a/files/en-us/web/api/htmlanchorelement/protocol/index.html +++ b/files/en-us/web/api/htmlanchorelement/protocol/index.html @@ -1,31 +1,34 @@ --- -title: HTMLHyperlinkElementUtils.protocol +title: HTMLAnchorElement.protocol slug: Web/API/HTMLAnchorElement/protocol tags: - API - - Experimental - - HTMLHyperlinkElementUtils + - HTMLAnchorElement - Property - - URL API --- -

{{ApiRef("URL API")}}

+

{{ApiRef("HTML DOM")}}

The - HTMLHyperlinkElementUtils.protocol + HTMLAnchorElement.protocol property is a {{domxref("USVString")}} representing the protocol scheme of the URL, including the final ':'.

Syntax

-
string = object.protocol;
-object.protocol = string;
+
+// Getter
+string = anchor.protocol;
+// Setter
+anchor.protocol = string;
 

Examples

-
// Let's an <a id="myAnchor" href="https://developer.mozilla.org/en-US/HTMLHyperlinkElementUtils.protocol"> element be in the document
-var anchor = document.getElementById("myAnchor");
-var result = anchor.protocol; // Returns:'https:'
+

Getting the protocol of an anchor link

+ +
// An <a id="myAnchor" href="https://developer.mozilla.org/en-US/HTMLAnchorElement"> element is in the document
+const anchor = document.getElementById("myAnchor");
+anchor.protocol; // returns 'https:'
 

Specifications

@@ -34,24 +37,19 @@

Specifications

Specification - Status - Comment - {{SpecName('HTML WHATWG', '#dom-hyperlink-protocol', - 'HTMLHyperlinkElementUtils.protocol')}} - {{Spec2('HTML WHATWG')}} - Initial definition. + {{SpecName('HTML WHATWG', '#dom-hyperlink-protocol','HTMLHyperlinkElementUtils.protocol')}}

Browser compatibility

-

{{Compat("api.HTMLHyperlinkElementUtils.protocol")}}

+

{{Compat("api.HTMLAnchorElement.protocol")}}

See also

    -
  • The {{domxref("HTMLHyperlinkElementUtils")}} mixin it belongs to.
  • +
  • The {{domxref("HTMLAnchorElement")}} interface it belongs to.
diff --git a/files/en-us/web/api/htmlanchorelement/search/index.html b/files/en-us/web/api/htmlanchorelement/search/index.html index 1536585d283b31e..7e7720f4bad1c06 100644 --- a/files/en-us/web/api/htmlanchorelement/search/index.html +++ b/files/en-us/web/api/htmlanchorelement/search/index.html @@ -1,41 +1,47 @@ --- -title: HTMLHyperlinkElementUtils.search +title: HTMLAnchorElement.search slug: Web/API/HTMLAnchorElement/search tags: - API - - Experimental - - HTMLHyperlinkElementUtils + - HTMLAnchorElement - Property - Reference - - URL API --- -
{{ApiRef("URL API")}}
+
{{ApiRef("HTML DOM")}}
-

The HTMLHyperlinkElementUtils.search property is a search +

The HTMLAnchorElement.search property is a search string, also called a query string, that is {{domxref("USVString")}} containing a '?' followed by the parameters of the URL.

Modern browsers provide - URLSearchParams + URLSearchParams and - URL.searchParams + URL.searchParams to make it easy to parse out the parameters from the querystring.

Syntax

-
string = object.search;
-object.search = string;
+
+// Getter
+string = anchor.search;
+// Setter
+anchor.search = string;
 

Examples

-
// Let an <a id="myAnchor" href="/en-US/docs/HTMLHyperlinkElementUtils.search?q=123"> element be in the document
-var anchor = document.getElementById("myAnchor");
-var queryString = anchor.search; // Returns:'?q=123'
+

Getting the search string from an anchor link

-// Further parsing: +
// An <a id="myAnchor" href="/en-US/docs/HTMLAnchorElement?q=123"> element is in the document
+const anchor = document.getElementById("myAnchor");
+anchor.search; // returns '?q=123'
+
+ +

Advanced parsing using URLSearchParams

+Alternatively, URLSearchParams can be used:

+
 let params = new URLSearchParams(queryString);
-let q = parseInt(params.get("q"); // is the number 123
+let q = parseInt(params.get("q"); // returns the number 123
 

Specifications

@@ -44,24 +50,19 @@

Specifications

Specification - Status - Comment - {{SpecName('HTML WHATWG', '#dom-hyperlink-search', - 'HTMLHyperlinkElementUtils.search')}} - {{Spec2('HTML WHATWG')}} - Initial definition. + {{SpecName('HTML WHATWG', '#dom-hyperlink-search','HTMLHyperlinkElementUtils.search')}}

Browser compatibility

-

{{Compat("api.HTMLHyperlinkElementUtils.search")}}

+

{{Compat("api.HTMLAnchorElement.search")}}

See also

    -
  • The {{domxref("HTMLHyperlinkElementUtils")}} mixin it belongs to.
  • +
  • The {{domxref("HTMLAnchorElement")}} interface it belongs to.
diff --git a/files/en-us/web/api/htmlanchorelement/tostring/index.html b/files/en-us/web/api/htmlanchorelement/tostring/index.html index baa42a56b0eb0e5..5f1303456d4d3fe 100644 --- a/files/en-us/web/api/htmlanchorelement/tostring/index.html +++ b/files/en-us/web/api/htmlanchorelement/tostring/index.html @@ -1,30 +1,29 @@ --- -title: HTMLHyperlinkElementUtils.toString() +title: HTMLAnchorElement.toString() slug: Web/API/HTMLAnchorElement/toString tags: - API - - Experimental - - HTMLHyperlinkElementUtils - - Location + - HTMLAnchorElement - Method - Stringifier - - URL API ---

{{ApiRef("URL API")}}

-

The HTMLHyperlinkElementUtils.toString() stringifier +

The HTMLAnchorElement.toString() stringifier method returns a {{domxref("USVString")}} containing the whole URL. It is a read-only - version of {{domxref("HTMLHyperlinkElementUtils.href")}}.

+ version of {{domxref("HTMLAnchorElement.href")}}.

Syntax

-
string = object.toString();
+
anchor.toString();

Examples

-
// Let's imagine an <a id="myAnchor" href="/en-US/docs/HTMLHyperlinkElementUtils/toString"> element is in the document
-var anchor = document.getElementById("myAnchor");
-var result = anchor.toString(); // Returns: 'https://developer.mozilla.org/en-US/docs/HTMLHyperlinkElementUtils/toString'
+

Calling toString on an anchor element

+ +
// An <a id="myAnchor" href="/en-US/docs/HTMLAnchorElement"> element is in the document
+const anchor = document.getElementById("myAnchor");
+anchor.toString(); // returns 'https://developer.mozilla.org/en-US/docs/HTMLAnchorElement'
 

Specifications

@@ -33,23 +32,19 @@

Specifications

Specification - Status - Comment - {{SpecName('HTML WHATWG', "#dom-hyperlink-href")}} - {{Spec2('HTML WHATWG')}} - + {{SpecName('HTML WHATWG', "#dom-hyperlink-href", 'HTMLHyperlinkElementUtils.href')}}

Browser compatibility

-

{{Compat("api.HTMLHyperlinkElementUtils.toString")}}

+

{{Compat("api.HTMLAnchorElement.toString")}}

See also

    -
  • The {{domxref("HTMLHyperlinkElementUtils")}} mixin it belongs to.
  • +
  • The {{domxref("HTMLAnchorElement")}} interface it belongs to.
diff --git a/files/en-us/web/api/htmlanchorelement/username/index.html b/files/en-us/web/api/htmlanchorelement/username/index.html index abf777b81d37ece..628e247475d4d7d 100644 --- a/files/en-us/web/api/htmlanchorelement/username/index.html +++ b/files/en-us/web/api/htmlanchorelement/username/index.html @@ -1,30 +1,33 @@ --- -title: HTMLHyperlinkElementUtils.username +title: HTMLAnchorElement.username slug: Web/API/HTMLAnchorElement/username tags: - API - - Experimental - - HTMLHyperlinkElementUtils + - HTMLAnchorElement - Property - Reference - - URL API --- -

{{ApiRef("URL API")}}

+

{{ApiRef("HTML DOM")}}

-

The HTMLHyperlinkElementUtils.username property is a +

The HTMLAnchorElement.username property is a {{domxref("USVString")}} containing the username specified before the domain name.

Syntax

-
string = object.username;
-object.username = string;
+
+// Getter
+string = anchor.username;
+// Setter
+anchor.username = string;
 

Examples

-
// Let's <a id="myAnchor" href="https://anonymous:flabada@developer.mozilla.org/en-US/docs/HTMLHyperlinkElementUtils.username"> be in the document
-var anchor = document.getElementByID("myAnchor");
-var result = anchor.username; // Returns:'anonymous'
+

Getting the username from an anchor link

+ +
// An <a id="myAnchor" href="https://anonymous:flabada@developer.mozilla.org/en-US/docs/HTMLAnchorElement"> element is in the document
+const anchor = document.getElementByID("myAnchor");
+anchor.username; // returns 'anonymous'
 

Specifications

@@ -33,24 +36,19 @@

Specifications

Specification - Status - Comment - {{SpecName('HTML WHATWG', '#dom-hyperlink-username', - 'HTMLHyperlinkElementUtils.username')}} - {{Spec2('HTML WHATWG')}} - Initial definition. + {{SpecName('HTML WHATWG', '#dom-hyperlink-username','HTMLHyperlinkElementUtils.username')}}

Browser compatibility

-

{{Compat("api.HTMLHyperlinkElementUtils.username")}}

+

{{Compat("api.HTMLAnchorElement.username")}}

See also

    -
  • The {{domxref("HTMLHyperlinkElementUtils")}} mixin it belongs to.
  • +
  • The {{domxref("HTMLAnchorElement")}} interface it belongs to.
From 25e54259ca25e9e1e9b8592220ac34f9226808b6 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 16:06:27 +0100 Subject: [PATCH 16/19] Cleanup main HTMLAreaElement page --- .../en-us/web/api/htmlareaelement/index.html | 51 ++++++------------- 1 file changed, 15 insertions(+), 36 deletions(-) diff --git a/files/en-us/web/api/htmlareaelement/index.html b/files/en-us/web/api/htmlareaelement/index.html index 058743dc6790477..0db368ab6bb39c7 100644 --- a/files/en-us/web/api/htmlareaelement/index.html +++ b/files/en-us/web/api/htmlareaelement/index.html @@ -15,7 +15,7 @@

Properties

-

Inherits properties from its parent, {{domxref("HTMLElement")}}, and implements those from {{domxref("HTMLHyperlinkElementUtils")}}.

+

Inherits properties from its parent, {{domxref("HTMLElement")}}.

{{domxref("Element.accessKey")}}
@@ -26,25 +26,25 @@

Properties

Is a {{domxref("DOMString")}} that reflects the {{ htmlattrxref("coords", "area") }} HTML attribute, containing coordinates to define the hot-spot region.
{{domxref("HTMLAreaElement.download")}} {{experimental_inline}}
Is a {{domxref("DOMString")}} indicating that the linked resource is intended to be downloaded rather than displayed in the browser. The value represent the proposed name of the file. If the name is not a valid filename of the underlying OS, browser will adapt it.
-
{{domxref("HTMLHyperlinkElementUtils.hash")}}
+
{{domxref("HTMLAreaElement.hash")}}
Is a {{domxref("USVString")}} containing the fragment identifier (including the leading hash mark (#)), if any, in the referenced URL.
-
{{domxref("HTMLHyperlinkElementUtils.host")}}
+
{{domxref("HTMLAreaElement.host")}}
Is a {{domxref("USVString")}} containing the hostname and port (if it's not the default port) in the referenced URL.
-
{{domxref("HTMLHyperlinkElementUtils.hostname")}}
+
{{domxref("HTMLAreaElement.hostname")}}
Is a {{domxref("USVString")}} containing the hostname in the referenced URL.
-
{{domxref("HTMLHyperlinkElementUtils.href")}}
+
{{domxref("HTMLAreaElement.href")}}
Is a {{domxref("USVString")}} containing that reflects the {{ htmlattrxref("href", "area") }} HTML attribute, containing a valid URL of a linked resource.
{{domxref("HTMLAreaElement.noHref")}} {{obsolete_inline}}
Is a {{jsxref("Boolean")}} flag indicating if the area is inactive (true) or active (false).
-
{{domxref("HTMLHyperlinkElementUtils.password")}}
+
{{domxref("HTMLAreaElement.password")}}
Is a {{domxref("USVString")}} containing the password specified before the domain name.
-
{{domxref("HTMLHyperlinkElementUtils.origin")}} {{readonlyInline}}
+
{{domxref("HTMLAreaElement.origin")}} {{readonlyInline}}
Returns a {{domxref("USVString")}} containing the origin of the URL, that is its scheme, its domain and its port.
-
{{domxref("HTMLHyperlinkElementUtils.pathname")}}
+
{{domxref("HTMLAreaElement.pathname")}}
Is a {{domxref("USVString")}} containing the path name component, if any, of the referenced URL.
-
{{domxref("HTMLHyperlinkElementUtils.port")}}
+
{{domxref("HTMLAreaElement.port")}}
Is a {{domxref("USVString")}} containing the port component, if any, of the referenced URL.
-
{{domxref("HTMLHyperlinkElementUtils.protocol")}}
+
{{domxref("HTMLAreaElement.protocol")}}
Is a {{domxref("USVString")}} containing the protocol component (including trailing colon ':'), of the referenced URL.
{{domxref("HTMLAreaElement.referrerPolicy")}} {{experimental_inline}}
Is a {{domxref("DOMString")}} that reflects the {{htmlattrxref("referrerpolicy", "area")}} HTML attribute indicating which referrer to use when fetching the linked resource.
@@ -52,7 +52,7 @@

Properties

Is a {{domxref("DOMString")}} that reflects the {{ htmlattrxref("rel", "area") }} HTML attribute, indicating relationships of the current document to the linked resource.
{{domxref("HTMLAreaElement.relList")}} {{readOnlyInline}}
Returns a {{domxref("DOMTokenList")}} that reflects the {{ htmlattrxref("rel", "area") }} HTML attribute, indicating relationships of the current document to the linked resource, as a list of tokens.
-
{{domxref("HTMLHyperlinkElementUtils.search")}}
+
{{domxref("HTMLAreaElement.search")}}
Is a {{domxref("USVString")}} containing the search element (including leading question mark '?'), if any, of the referenced URL.
{{domxref("HTMLAreaElement.shape")}}
Is a {{domxref("DOMString")}} that reflects the {{ htmlattrxref("shape", "area") }} HTML attribute, indicating the shape of the hot-spot, limited to known values.
@@ -60,17 +60,17 @@

Properties

Is a long containing the element's position in the tabbing order.
{{domxref("HTMLAreaElement.target")}}
Is a {{domxref("DOMString")}} that reflects the {{ htmlattrxref("target", "area") }} HTML attribute, indicating the browsing context in which to open the linked resource.
-
{{domxref("HTMLHyperlinkElementUtils.username")}}
+
{{domxref("HTMLAreaElement.username")}}
Is a {{domxref("USVString")}} containing the username specified before the domain name.

Methods

-

Inherits methods from its parent, {{domxref("HTMLElement")}}, and implements those from {{domxref("HTMLHyperlinkElementUtils")}}.

+

Inherits methods from its parent, {{domxref("HTMLElement")}}.

-
{{domxref("HTMLHyperlinkElementUtils.toString()")}}
-
Returns a {{domxref("USVString")}} containing the whole URL of the script executed in the {{domxref("Worker")}}. It is a synonym for {{domxref("HTMLHyperlinkElementUtils.href")}}.
+
{{domxref("HTMLAreaElement.toString()")}}
+
Returns a {{domxref("USVString")}} containing the whole URL of the script executed in the {{domxref("Worker")}}. It is a synonym for {{domxref("HTMLAreaElement.href")}}.

Specifications

@@ -79,31 +79,10 @@

Specifications

Specification - Status - Comment {{SpecName('HTML WHATWG', "#htmlareaelement", "HTMLAreaElement")}} - {{Spec2('HTML WHATWG')}} - The following property has been added: download.
- Technically, the URL-related properties, host, hostname, pathname, port, protocol, search, and hash, have been moving to the {{domxref("HTMLHyperlinkElementUtils")}} mixin, and HTMLAreaElement implements this mixin. - - {{SpecName('HTML5 W3C', "embedded-content-0.html#the-area-element", "HTMLAreaElement")}} - {{Spec2('HTML5 W3C')}} - Technically, the properties tabindex and accesskey are now defined on {{domxref("HTMLElement")}}.
- The following property is now obsolete: nohref.
- The following properties have been added: rel, relList, hreflang, type, host, hostname, pathname, port, protocol, search, and hash. - - - {{SpecName('DOM2 HTML', 'html.html#ID-26019118', 'HTMLAreaElement')}} - {{Spec2('DOM2 HTML')}} - No change from {{SpecName("DOM1")}}. - - - {{SpecName('DOM1', 'level-one-html.html#ID-26019118', 'HTMLAreaElement')}} - {{Spec2('DOM1')}} - Initial definition From 787947f98a3dd6eb47a242614c66d31bb02d4b0f Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 3 Feb 2021 16:07:41 +0100 Subject: [PATCH 17/19] Add new HTMLAreaElement sub pages --- .../web/api/htmlareaelement/hash/index.html | 73 +++++++++++++++++++ .../web/api/htmlareaelement/host/index.html | 62 ++++++++++++++++ .../api/htmlareaelement/hostname/index.html | 51 +++++++++++++ .../web/api/htmlareaelement/href/index.html | 54 ++++++++++++++ .../web/api/htmlareaelement/origin/index.html | 66 +++++++++++++++++ .../api/htmlareaelement/password/index.html | 55 ++++++++++++++ .../api/htmlareaelement/pathname/index.html | 54 ++++++++++++++ .../web/api/htmlareaelement/port/index.html | 55 ++++++++++++++ .../api/htmlareaelement/protocol/index.html | 55 ++++++++++++++ .../web/api/htmlareaelement/search/index.html | 68 +++++++++++++++++ .../api/htmlareaelement/tostring/index.html | 50 +++++++++++++ .../api/htmlareaelement/username/index.html | 54 ++++++++++++++ 12 files changed, 697 insertions(+) create mode 100644 files/en-us/web/api/htmlareaelement/hash/index.html create mode 100644 files/en-us/web/api/htmlareaelement/host/index.html create mode 100644 files/en-us/web/api/htmlareaelement/hostname/index.html create mode 100644 files/en-us/web/api/htmlareaelement/href/index.html create mode 100644 files/en-us/web/api/htmlareaelement/origin/index.html create mode 100644 files/en-us/web/api/htmlareaelement/password/index.html create mode 100644 files/en-us/web/api/htmlareaelement/pathname/index.html create mode 100644 files/en-us/web/api/htmlareaelement/port/index.html create mode 100644 files/en-us/web/api/htmlareaelement/protocol/index.html create mode 100644 files/en-us/web/api/htmlareaelement/search/index.html create mode 100644 files/en-us/web/api/htmlareaelement/tostring/index.html create mode 100644 files/en-us/web/api/htmlareaelement/username/index.html diff --git a/files/en-us/web/api/htmlareaelement/hash/index.html b/files/en-us/web/api/htmlareaelement/hash/index.html new file mode 100644 index 000000000000000..97f564af67e7286 --- /dev/null +++ b/files/en-us/web/api/htmlareaelement/hash/index.html @@ -0,0 +1,73 @@ +--- +title: HTMLAreaElement.hash +slug: Web/API/HTMLAreaElement/hash +tags: + - API + - HTMLAreaElement + - Property + - Reference +--- +
{{ APIRef("HTML DOM") }}
+ +

The + HTMLAreaElement.hash property returns a + {{domxref("USVString")}} containing a '#' followed by the fragment + identifier of the URL.

+ +

The fragment is not percent-decoded. If the URL does not + have a fragment identifier, this property contains an empty string, "".

+ +

Syntax

+ +
+// Getter
+string = area.hash;
+// Setter
+area.hash = string;
+
+ +

Examples

+ +

Getting the hash from an area link

+ +Given this HTML + +
+<map name="infographic">
+  <area id="mdn-circle" shape="circle" coords="130,136,60" 
+  href="https://developer.mozilla.org/#ExampleSection" alt="MDN" />
+</map>
+
+<img usemap="#infographic" src="/media/examples/mdn-info.png" alt="MDN infographic" />
+
+ +you can get the hash of the area link like this: + +
+const area = document.getElementById("mdn-circle");
+area.hash; // returns '#ExampleSection'
+
+ +

Specifications

+ + + + + + + + + + +
Specification
{{SpecName('HTML WHATWG', '#dom-hyperlink-hash','HTMLHyperlinkElementUtils.hash')}}
+ +

Browser compatibility

+ +

{{Compat("api.HTMLAreaElement.hash")}}

+ +

See also

+ +
    +
  • The {{domxref("HTMLAreaElement")}} interface it belongs to.
  • +
diff --git a/files/en-us/web/api/htmlareaelement/host/index.html b/files/en-us/web/api/htmlareaelement/host/index.html new file mode 100644 index 000000000000000..76ae6556ed77736 --- /dev/null +++ b/files/en-us/web/api/htmlareaelement/host/index.html @@ -0,0 +1,62 @@ +--- +title: HTMLAreaElement.host +slug: Web/API/HTMLAreaElement/host +tags: + - API + - HTMLAreaElement + - Property + - Reference +--- +
{{ApiRef("HTML DOM")}}
+ +

The HTMLAreaElement.host property is a + {{domxref("USVString")}} containing the host, that is the hostname, and then, + if the port of the URL is nonempty, a ':', and the port + of the URL.

+ +

Syntax

+ +
+// Getter
+string = area.host;
+// Setter
+area.host = string;
+
+ +

Examples

+ +
const area = document.createElement("area");
+
+area.href = "https://developer.mozilla.org/en-US/HTMLAreaElement"
+area.host == "developer.mozilla.org"
+
+area.href = "https://developer.mozilla.org:443/en-US/HTMLAreaElement"
+area.host == "developer.mozilla.org"
+// The port number is not included because 443 is the scheme's default port
+
+area.href = "https://developer.mozilla.org:4097/en-US/HTMLAreaElement"
+area.host == "developer.mozilla.org:4097"
+
+ +

Specifications

+ + + + + + + + + + +
Specification
{{SpecName('HTML WHATWG', '#dom-hyperlink-host','HTMLHyperlinkElementUtils.host')}}
+ +

Browser compatibility

+ +

{{Compat("api.HTMLAreaElement.host")}}

+ +

See also

+ +
    +
  • The {{domxref("HTMLAreaElement")}} interface it belongs to.
  • +
diff --git a/files/en-us/web/api/htmlareaelement/hostname/index.html b/files/en-us/web/api/htmlareaelement/hostname/index.html new file mode 100644 index 000000000000000..ee2273cc45d5f27 --- /dev/null +++ b/files/en-us/web/api/htmlareaelement/hostname/index.html @@ -0,0 +1,51 @@ +--- +title: HTMLAreaElement.hostname +slug: Web/API/HTMLAreaElement/hostname +tags: + - API + - HTMLAreaElement + - Property + - Reference +--- +

{{ApiRef("HTML DOM")}}

+ +

The HTMLAreaElement.hostname property is a + {{domxref("USVString")}} containing the domain of the URL.

+ +

Syntax

+ +
+// Getter
+string = area.hostname;
+// Setter
+area.hostname = string;
+
+ +

Examples

+ +
// An <area id="myArea" href="/en-US/docs/HTMLAreaElement"> element is in the document
+const area = document.getElementById("myArea");
+HTMLAreaElement.hostname; // returns 'developer.mozilla.org'
+ +

Specifications

+ + + + + + + + + + +
Specification
{{SpecName('HTML WHATWG', '#dom-hyperlink-hostname','HTMLHyperlinkElementUtils.hostname')}}
+ +

Browser compatibility

+ +

{{Compat("api.HTMLAreaElement.hostname")}}

+ +

See also

+ +
    +
  • The {{domxref("HTMLAreaElement")}} interface it belongs to.
  • +
diff --git a/files/en-us/web/api/htmlareaelement/href/index.html b/files/en-us/web/api/htmlareaelement/href/index.html new file mode 100644 index 000000000000000..2efff615a646171 --- /dev/null +++ b/files/en-us/web/api/htmlareaelement/href/index.html @@ -0,0 +1,54 @@ +--- +title: HTMLAreaElement.href +slug: Web/API/HTMLAreaElement/href +tags: + - API + - HTMLAreaElement + - Location + - Property + - Reference +--- +

{{ApiRef("HTML DOM")}}

+ +

The HTMLAreaElement.href property is a + stringifier that returns a {{domxref("USVString")}} containing the whole URL, and allows + the href to be updated.

+ +

Syntax

+ +
+// Getter
+string = area.href;
+// Setter
+area.href = string;
+
+ +

Examples

+ +
// An <area id="myArea" href="https://developer.mozilla.org/en-US/HTMLAreaElement"> element is in the document
+const area = document.getElementById("myArea");
+area.href; // returns 'https://developer.mozilla.org/en-US/HTMLAreaElement'
+
+ +

Specifications

+ + + + + + + + + + +
Specification
{{SpecName('HTML WHATWG', '#dom-hyperlink-href','HTMLHyperlinkElementUtils.href')}}
+ +

Browser compatibility

+ +

{{Compat("api.HTMLAreaElement.href")}}

+ +

See also

+ +
    +
  • The {{domxref("HTMLAreaElement")}} interface it belongs to.
  • +
diff --git a/files/en-us/web/api/htmlareaelement/origin/index.html b/files/en-us/web/api/htmlareaelement/origin/index.html new file mode 100644 index 000000000000000..fe061788d280532 --- /dev/null +++ b/files/en-us/web/api/htmlareaelement/origin/index.html @@ -0,0 +1,66 @@ +--- +title: HTMLAreaElement.origin +slug: Web/API/HTMLAreaElement/origin +tags: + - API + - HTMLAreaElement + - Property + - Read-only + - Reference +--- +

{{APIRef("HTML DOM")}}

+ +

The + HTMLAreaElement.origin read-only property is a + {{domxref("USVString")}} containing the Unicode serialization of the origin of the + represented URL; that is:

+ +
    +
  • for URL using the http or https, the scheme followed by + '://', followed by the domain, followed by ':', followed by + the port (the default port, 80 and 443 respectively, if + explicitly specified);
  • +
  • for URL using file: scheme, the value is browser dependant;
  • +
  • for URL using the blob: scheme, the origin of the URL following + blob:. E.g "blob:https://mozilla.org" will have + "https://mozilla.org".
  • +
+ +

Syntax

+ +
+// Getter
+string = area.origin;
+
+// No setter; read-only property
+
+ +

Examples

+ +
// An <area id="myArea" href="https://developer.mozilla.org/en-US/HTMLAreaElement"> element is in the document
+const area = document.getElementById("myArea");
+area.origin; // returns 'https://developer.mozilla.org'
+
+ +

Specifications

+ + + + + + + + + + +
Specification
{{SpecName('HTML WHATWG', '#dom-hyperlink-origin','HTMLHyperlinkElementUtils.origin')}}
+ +

Browser compatibility

+ +

{{Compat("api.HTMLAreaElement.origin")}}

+ +

See also

+ +
    +
  • The {{domxref("HTMLAreaElement")}} interface it belongs to.
  • +
diff --git a/files/en-us/web/api/htmlareaelement/password/index.html b/files/en-us/web/api/htmlareaelement/password/index.html new file mode 100644 index 000000000000000..3d7967f84b75372 --- /dev/null +++ b/files/en-us/web/api/htmlareaelement/password/index.html @@ -0,0 +1,55 @@ +--- +title: HTMLAreaElement.password +slug: Web/API/HTMLAreaElement/password +tags: + - API + - HTMLAreaElement + - Property +--- +

{{ApiRef("HTML DOM")}}

+ +

The HTMLAreaElement.password property is a + {{domxref("USVString")}} containing the password specified before the domain name.

+ +

If it is set without first setting the + username + property, it silently fails.

+ +

Syntax

+ +
+// Getter
+string = area.password;
+// Setter
+area.password = string;
+
+ +

Examples

+ +
// An <area id="myArea" href="https://anonymous:flabada@developer.mozilla.org/en-US/docs/HTMLAreaElement"> is in the document
+const area = document.getElementByID("myArea");
+area.password; // returns 'flabada'
+
+ +

Specifications

+ + + + + + + + + + +
Specification
{{SpecName('HTML WHATWG', '#dom-hyperlink-password','HTMLHyperlinkElementUtils.password')}}
+ +

Browser compatibility

+ +

{{Compat("api.HTMLAreaElement.password")}}

+ +

See also

+ +
    +
  • The {{domxref("HTMLAreaElement")}} interface it belongs to.
  • +
diff --git a/files/en-us/web/api/htmlareaelement/pathname/index.html b/files/en-us/web/api/htmlareaelement/pathname/index.html new file mode 100644 index 000000000000000..8cef0eaa4160613 --- /dev/null +++ b/files/en-us/web/api/htmlareaelement/pathname/index.html @@ -0,0 +1,54 @@ +--- +title: HTMLAreaElement.pathname +slug: Web/API/HTMLAreaElement/pathname +tags: + - API + - HTMLAreaElement + - Property + - Reference +--- +

{{ApiRef("HTML DOM")}}

+ +

The HTMLAreaElement.pathname property is a + {{domxref("USVString")}} containing an initial '/' followed by the path of + the URL not including the query string or fragment (or the empty string if there is no + path).

+ +

Syntax

+ +
+// Getter
+string = area.pathname;
+// Setter
+area.pathname = string;
+
+ +

Examples

+ +
// An <area id="myArea" href="/en-US/docs/HTMLAreaElement"> element is in the document
+const area = document.getElementById("myArea");
+area.pathname; // returns '/en-US/docs/HTMLAreaElement'
+
+ +

Specifications

+ + + + + + + + + + +
Specification
{{SpecName('HTML WHATWG', '#dom-hyperlink-pathname','HTMLHyperlinkElementUtils.pathname')}}
+ +

Browser compatibility

+ +

{{Compat("api.HTMLAreaElement.pathname")}}

+ +

See also

+ +
    +
  • The {{domxref("HTMLAreaElement")}} interface it belongs to.
  • +
diff --git a/files/en-us/web/api/htmlareaelement/port/index.html b/files/en-us/web/api/htmlareaelement/port/index.html new file mode 100644 index 000000000000000..950a3c8a54b74cf --- /dev/null +++ b/files/en-us/web/api/htmlareaelement/port/index.html @@ -0,0 +1,55 @@ +--- +title: HTMLAreaElement.port +slug: Web/API/HTMLAreaElement/port +tags: + - API + - HTMLAreaElement + - Property + - Reference +--- +

{{ApiRef("HTML DOM")}}

+ +

The HTMLAreaElement.port property is a + {{domxref("USVString")}} containing the port number of the URL. If the URL does not + contain an explicit port number, it will be set to ''.

+ +

Syntax

+ +
+// Getter
+string = area.port;
+// Setter
+area.port = string;
+
+ +

Examples

+ +

Getting the port from an area link

+ +
// An <area id="myArea" href="https://developer.mozilla.org:443/en-US/docs/HTMLAreaElement"> element is in the document
+const area = document.getElementByID("myArea");
+area.port; // returns '443'
+
+ +

Specifications

+ + + + + + + + + + +
Specification
{{SpecName('HTML WHATWG', '#dom-hyperlink-port','HTMLHyperlinkElementUtils.port')}}
+ +

Browser compatibility

+ +

{{Compat("api.HTMLAreaElement.port")}}

+ +

See also

+ +
    +
  • The {{domxref("HTMLAreaElement")}} interface it belongs to.
  • +
diff --git a/files/en-us/web/api/htmlareaelement/protocol/index.html b/files/en-us/web/api/htmlareaelement/protocol/index.html new file mode 100644 index 000000000000000..f87d4c52e1dd28d --- /dev/null +++ b/files/en-us/web/api/htmlareaelement/protocol/index.html @@ -0,0 +1,55 @@ +--- +title: HTMLAreaElement.protocol +slug: Web/API/HTMLAreaElement/protocol +tags: + - API + - HTMLAreaElement + - Property +--- +

{{ApiRef("HTML DOM")}}

+ +

The + HTMLAreaElement.protocol + property is a {{domxref("USVString")}} representing the protocol scheme of the URL, + including the final ':'.

+ +

Syntax

+ +
+// Getter
+string = area.protocol;
+// Setter
+area.protocol = string;
+
+ +

Examples

+ +

Getting the protocol of an area link

+ +
// An <area id="myArea" href="https://developer.mozilla.org/en-US/HTMLAreaElement"> element is in the document
+const area = document.getElementById("myArea");
+area.protocol; // returns 'https:'
+
+ +

Specifications

+ + + + + + + + + + +
Specification
{{SpecName('HTML WHATWG', '#dom-hyperlink-protocol','HTMLHyperlinkElementUtils.protocol')}}
+ +

Browser compatibility

+ +

{{Compat("api.HTMLAreaElement.protocol")}}

+ +

See also

+ +
    +
  • The {{domxref("HTMLAreaElement")}} interface it belongs to.
  • +
diff --git a/files/en-us/web/api/htmlareaelement/search/index.html b/files/en-us/web/api/htmlareaelement/search/index.html new file mode 100644 index 000000000000000..d7b5e002a82a59e --- /dev/null +++ b/files/en-us/web/api/htmlareaelement/search/index.html @@ -0,0 +1,68 @@ +--- +title: HTMLAreaElement.search +slug: Web/API/HTMLAreaElement/search +tags: + - API + - HTMLAreaElement + - Property + - Reference +--- +
{{ApiRef("HTML DOM")}}
+ +

The HTMLAreaElement.search property is a search + string, also called a query string, that is {{domxref("USVString")}} containing + a '?' followed by the parameters of the URL.

+ +

Modern browsers provide + URLSearchParams + and + URL.searchParams + to make it easy to parse out the parameters from the querystring.

+ +

Syntax

+ +
+// Getter
+string = area.search;
+// Setter
+area.search = string;
+
+ +

Examples

+ +

Getting the search string from an area link

+ +
// An <area id="myArea" href="/en-US/docs/HTMLAreaElement?q=123"> element is in the document
+const area = document.getElementById("myArea");
+area.search; // returns '?q=123'
+
+ +

Advanced parsing using URLSearchParams

+Alternatively, URLSearchParams can be used:

+
+let params = new URLSearchParams(queryString);
+let q = parseInt(params.get("q"); // returns the number 123
+
+ +

Specifications

+ + + + + + + + + + +
Specification
{{SpecName('HTML WHATWG', '#dom-hyperlink-search','HTMLHyperlinkElementUtils.search')}}
+ +

Browser compatibility

+ +

{{Compat("api.HTMLAreaElement.search")}}

+ +

See also

+ +
    +
  • The {{domxref("HTMLAreaElement")}} interface it belongs to.
  • +
diff --git a/files/en-us/web/api/htmlareaelement/tostring/index.html b/files/en-us/web/api/htmlareaelement/tostring/index.html new file mode 100644 index 000000000000000..acd50cd7213d618 --- /dev/null +++ b/files/en-us/web/api/htmlareaelement/tostring/index.html @@ -0,0 +1,50 @@ +--- +title: HTMLAreaElement.toString() +slug: Web/API/HTMLAreaElement/toString +tags: + - API + - HTMLAreaElement + - Method + - Stringifier +--- +

{{ApiRef("URL API")}}

+ +

The HTMLAreaElement.toString() stringifier + method returns a {{domxref("USVString")}} containing the whole URL. It is a read-only + version of {{domxref("HTMLAreaElement.href")}}.

+ +

Syntax

+ +
area.toString();
+ +

Examples

+ +

Calling toString on an area element

+ +
// An <area id="myArea" href="/en-US/docs/HTMLAreaElement"> element is in the document
+const area = document.getElementById("myArea");
+area.toString(); // returns 'https://developer.mozilla.org/en-US/docs/HTMLAreaElement'
+
+ +

Specifications

+ + + + + + + + + + +
Specification
{{SpecName('HTML WHATWG', "#dom-hyperlink-href", 'HTMLHyperlinkElementUtils.href')}}
+ +

Browser compatibility

+ +

{{Compat("api.HTMLAreaElement.toString")}}

+ +

See also

+ +
    +
  • The {{domxref("HTMLAreaElement")}} interface it belongs to.
  • +
diff --git a/files/en-us/web/api/htmlareaelement/username/index.html b/files/en-us/web/api/htmlareaelement/username/index.html new file mode 100644 index 000000000000000..dc885ecccd52c90 --- /dev/null +++ b/files/en-us/web/api/htmlareaelement/username/index.html @@ -0,0 +1,54 @@ +--- +title: HTMLAreaElement.username +slug: Web/API/HTMLAreaElement/username +tags: + - API + - HTMLAreaElement + - Property + - Reference +--- +

{{ApiRef("HTML DOM")}}

+ +

The HTMLAreaElement.username property is a + {{domxref("USVString")}} containing the username specified before the domain name.

+ +

Syntax

+ +
+// Getter
+string = area.username;
+// Setter
+area.username = string;
+
+ +

Examples

+ +

Getting the username from an area link

+ +
// An <area id="myArea" href="https://anonymous:flabada@developer.mozilla.org/en-US/docs/HTMLAreaElement"> element is in the document
+const area = document.getElementByID("myArea");
+area.username; // returns 'anonymous'
+
+ +

Specifications

+ + + + + + + + + + +
Specification
{{SpecName('HTML WHATWG', '#dom-hyperlink-username','HTMLHyperlinkElementUtils.username')}}
+ +

Browser compatibility

+ +

{{Compat("api.HTMLAreaElement.username")}}

+ +

See also

+ +
    +
  • The {{domxref("HTMLAreaElement")}} interface it belongs to.
  • +
From 6573fd610c6231b487a892a16ca10ec34ba2a572 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 10 Feb 2021 14:59:04 +0100 Subject: [PATCH 18/19] fixup redirects --- files/en-us/_redirects.txt | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index 0ccba27122ebc62..be4d995e6ae92c5 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -509,6 +509,7 @@ /en-US/docs/CSS/CSS_animated_properties /en-US/docs/Web/CSS/CSS_animated_properties /en-US/docs/CSS/CSS_animations /en-US/docs/Web/CSS/CSS_Animations/Using_CSS_animations /en-US/docs/CSS/CSS_animations/Detecting_CSS_animation_support /en-US/docs/Web/CSS/CSS_Animations/Detecting_CSS_animation_support +/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Mixins /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Backwards_Compatibility_of_Flexbox /en-US/docs/CSS/CSS_flex-wrap /en-US/docs/Web/CSS/flex-wrap /en-US/docs/CSS/CSS_percentage_values /en-US/docs/Web/CSS /en-US/docs/CSS/CSS_transform_functions /en-US/docs/Web/CSS/transform @@ -4953,7 +4954,7 @@ /en-US/docs/FORCE_SHARED_LIB /en-US/docs/Mozilla/Developer_guide/Build_Instructions/Configuring_Build_Options /en-US/docs/FORCE_STATIC_LIB /en-US/docs/Mozilla/Developer_guide/Build_Instructions/Configuring_Build_Options /en-US/docs/File_System_Access_API /en-US/docs/Web/API/File_System_Access_API -/en-US/docs/Firefox 11 +/en-US/docs/Firefox 11 for developers /en-US/docs/Mozilla/Firefox/Releases/11 /en-US/docs/Firefox_1.5 /en-US/docs/Mozilla/Firefox/Releases/1.5 /en-US/docs/Firefox_1.5_Beta_for_Developers /en-US/docs/Mozilla/Firefox/Releases/1.5 /en-US/docs/Firefox_1.5_for_developers /en-US/docs/Mozilla/Firefox/Releases/1.5 @@ -5507,7 +5508,7 @@ /en-US/docs/IMAP /en-US/docs/Glossary/IMAP /en-US/docs/IPv6 /en-US/docs/Glossary/IPv6 /en-US/docs/Inbox/Advance_HTML_Tags /en-US/docs/Learn/Common_questions/HTML_features_for_accessibility -/en-US/docs/Inbox/Advanced_layouts_with_flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Backwards_Compatibility_of_Flexbox +/en-US/docs/Inbox/Advanced_layouts_with_flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Mixins /en-US/docs/Inbox/Using_flexbox_to_lay_out_web_applications /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Typical_Use_Cases_of_Flexbox /en-US/docs/Inbox/Writing_a_WebSocket_server_in_Java /en-US/docs/Web/API/WebSockets_API/Writing_a_WebSocket_server_in_Java /en-US/docs/Incorrect_MIME_Type_for_CSS_Files /en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types @@ -6689,7 +6690,7 @@ /en-US/docs/JavaScript_typed_arrays/Uint8Array /en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array /en-US/docs/LIBRARY_NAME /en-US/docs/Mozilla/Developer_guide/Build_Instructions/Configuring_Build_Options /en-US/docs/LIBXUL_LIBRARY /en-US/docs/Mozilla/Developer_guide/Build_Instructions/Configuring_Build_Options -/en-US/docs/Learn/Advanced_layouts_with_flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Backwards_Compatibility_of_Flexbox +/en-US/docs/Learn/Advanced_layouts_with_flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Mixins /en-US/docs/Learn/Anatomy_of_a_web_page /en-US/docs/Learn/Common_questions/Common_web_layouts /en-US/docs/Learn/CSS/Basic_text_styling_in_CSS /en-US/docs/Learn/CSS/Styling_text/Fundamentals /en-US/docs/Learn/CSS/Basics /en-US/docs/Learn/CSS/First_steps @@ -6738,7 +6739,7 @@ /en-US/docs/Learn/Choose,_Install_and_set_up_a_text_editor /en-US/docs/Learn/Common_questions/Available_text_editors /en-US/docs/Learn/Client-side_web_APIs /en-US/docs/Learn/JavaScript/Client-side_web_APIs /en-US/docs/Learn/Coding-Scripting /en-US/docs/Learn -/en-US/docs/Learn/Common_questions/How_do_you_host_your_website_on_Google_App_Engine /en-US/docs/Learn/Common_questions/How_do_you_host_your_website_on_Google_App_Engine +/en-US/docs/Learn/Common_questions/How_do_you_host_your_website_on_Google_App_Engine /en-US/docs/Learn/Common_questions/How_do_you_host_your_website_on_Google_App_Engine /en-US/docs/Learn/Common_questions/Set_up_a_basic_working_environment /en-US/docs/Learn/Common_questions/set_up_a_local_testing_server /en-US/docs/Learn/Composing_for_the_web /en-US/docs/Learn/Common_questions /en-US/docs/Learn/Design_and_Accessibility /en-US/docs/Learn/Common_questions @@ -7230,7 +7231,7 @@ /en-US/docs/Mozilla_developer_guide /en-US/docs/Mozilla/Developer_guide /en-US/docs/Mozilla_event_reference /en-US/docs/Web/Events /en-US/docs/Mozilla_event_reference/DOMContentLoaded_(event) /en-US/docs/Web/API/Window/DOMContentLoaded_event -/en-US/docs/Mozilla_event_reference/DOMContentLoading (event) +/en-US/docs/Mozilla_event_reference/DOMContentLoading (event) /en-US/docs/Web/API/Window/DOMContentLoaded_event /en-US/docs/Mozilla_event_reference/DOMContentLoading_(event) /en-US/docs/Web/API/Window/DOMContentLoaded_event /en-US/docs/Mozilla_event_reference/SVGAbort /en-US/docs/Web/API/SVGElement/abort_event /en-US/docs/Mozilla_event_reference/SVGError /en-US/docs/Web/API/SVGElement/error_event @@ -7338,7 +7339,7 @@ /en-US/docs/Mozilla_event_reference/ratechange /en-US/docs/Web/API/HTMLMediaElement/ratechange_event /en-US/docs/Mozilla_event_reference/readystatechange /en-US/docs/Web/API/Document/readystatechange_event /en-US/docs/Mozilla_event_reference/repeatEvent /en-US/docs/Web/API/SVGAnimationElement/repeatEvent_event -/en-US/docs/Mozilla_event_reference/reset (event) +/en-US/docs/Mozilla_event_reference/reset (event) /en-US/docs/Web/API/HTMLFormElement/reset_event /en-US/docs/Mozilla_event_reference/reset_(event) /en-US/docs/Web/API/HTMLFormElement/reset_event /en-US/docs/Mozilla_event_reference/resize /en-US/docs/Web/API/Window/resize_event /en-US/docs/Mozilla_event_reference/scroll /en-US/docs/Web/API/Document/scroll_event @@ -7348,7 +7349,8 @@ /en-US/docs/Mozilla_event_reference/show /en-US/docs/Web/API/Element/show_event /en-US/docs/Mozilla_event_reference/stalled /en-US/docs/Web/API/HTMLMediaElement/stalled_event /en-US/docs/Mozilla_event_reference/storage /en-US/docs/Web/API/Window/storage_event -/en-US/docs/Mozilla_event_reference/submit (event) +/en-US/docs/Mozilla_event_reference/submit /en-US/docs/Web/API/HTMLFormElement/submit_event +/en-US/docs/Mozilla_event_reference/submit (event) /en-US/docs/Web/API/HTMLFormElement/submit_event /en-US/docs/Mozilla_event_reference/submit_(event) /en-US/docs/Web/API/HTMLFormElement/submit_event /en-US/docs/Mozilla_event_reference/success_indexedDB /en-US/docs/Web/API/IDBRequest/success_event /en-US/docs/Mozilla_event_reference/success_indexedDB-redirect-1 /en-US/docs/Web/API/IDBRequest/success_event @@ -8183,7 +8185,7 @@ /en-US/docs/Transforming_XML_with_XSLT:The_Netscape_XSLT_XPath_Reference:Functions /en-US/docs/Web/XPath/Functions /en-US/docs/Traversing_an_HTML_table_with_JavaScript_and_DOM_Interfaces /en-US/docs/Web/API/Document_Object_Model/Traversing_an_HTML_table_with_JavaScript_and_DOM_Interfaces /en-US/docs/URI /en-US/docs/Glossary/URI -/en-US/docs/URI/www and +/en-US/docs/URI/www and non-www URLs /en-US/docs/Web/HTTP/Basics_of_HTTP/Choosing_between_www_and_non-www_URLs /en-US/docs/URI/www_vs_non-www_URLs /en-US/docs/Web/HTTP/Basics_of_HTTP/Choosing_between_www_and_non-www_URLs /en-US/docs/URL.createObjectURL /en-US/docs/Web/API/URL/createObjectURL /en-US/docs/URLUtilsReadOnly.origin /en-US/docs/Web/API/URLUtilsReadOnly/origin @@ -11487,9 +11489,8 @@ /en-US/docs/Web/CSS/CSS_Colors /en-US/docs/Web/CSS/CSS_Color /en-US/docs/Web/CSS/CSS_Compositing_and_Blending /en-US/docs/Web/CSS/Compositing_and_Blending /en-US/docs/Web/CSS/CSS_Device_Adaptation/Viewport_Concepts /en-US/docs/Web/CSS/Viewport_concepts -/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Advanced_layouts_with_flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Backwards_Compatibility_of_Flexbox +/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Advanced_layouts_with_flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Mixins /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Box_Alignment_in_Flexbox /en-US/docs/Web/CSS/CSS_Box_Alignment/Box_Alignment_in_Flexbox -/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Mixins /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Backwards_Compatibility_of_Flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Using_CSS_flexible_boxes /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Using_flexbox_to_lay_out_web_applications /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Typical_Use_Cases_of_Flexbox /en-US/docs/Web/CSS/CSS_Flow_Layout/Formatting_Contexts_Explained /en-US/docs/Web/CSS/CSS_Flow_Layout/Intro_to_formatting_contexts @@ -11997,7 +11998,9 @@ /en-US/docs/Web/Guide/API/DOM/Using_dynamic_styling_information /en-US/docs/Web/API/CSS_Object_Model/Using_dynamic_styling_information /en-US/docs/Web/Guide/API/DOM/Using_full_screen_mode /en-US/docs/Web/API/Fullscreen_API /en-US/docs/Web/Guide/API/DOM/Whitespace_in_the_DOM /en-US/docs/Web/API/Document_Object_Model/Whitespace -/en-US/docs/Web/Guide/API/File System/Introduction +/en-US/docs/Web/Guide/API/File System /en-US/docs/Web/API/File_and_Directory_Entries_API/Introduction +/en-US/docs/Web/Guide/API/File System/FileError /en-US/docs/Web/API/FileError +/en-US/docs/Web/Guide/API/File System/Introduction /en-US/docs/Web/API/File_and_Directory_Entries_API/Introduction /en-US/docs/Web/Guide/API/Gamepad /en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API /en-US/docs/Web/Guide/API/Vibration /en-US/docs/Web/API/Vibration_API /en-US/docs/Web/Guide/API/WebRTC /en-US/docs/Web/API/WebRTC_API @@ -12701,7 +12704,7 @@ /en-US/docs/Web/Reference/Events/waiting /en-US/docs/Web/API/HTMLMediaElement/waiting_event /en-US/docs/Web/Reference/Events/wheel /en-US/docs/Web/API/Element/wheel_event /en-US/docs/Web/Reference/File_System_API /en-US/docs/Web/API/File_and_Directory_Entries_API -/en-US/docs/Web/Reference/Functions_and classes_available_to_workers +/en-US/docs/Web/Reference/Functions_and classes_available_to_workers /en-US/docs/Web/API/Web_Workers_API/Functions_and_classes_available_to_workers /en-US/docs/Web/Reference/Functions_and_classes_available_to_workers /en-US/docs/Web/API/Web_Workers_API/Functions_and_classes_available_to_workers /en-US/docs/Web/SVG/Attribute/dataset /en-US/docs/Web/API/HTMLOrForeignElement/dataset /en-US/docs/Web/SVG/Tutorial/Fill_Stroke_and_Gradients /en-US/docs/Web/SVG/Tutorial/Fills_and_Strokes From 5041ded14e527e46a34b35fd7facbefb94780bac Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 10 Feb 2021 15:21:06 +0100 Subject: [PATCH 19/19] Fix alphabetic order on index pages --- files/en-us/web/api/htmlanchorelement/index.html | 4 ++-- files/en-us/web/api/htmlareaelement/index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/files/en-us/web/api/htmlanchorelement/index.html b/files/en-us/web/api/htmlanchorelement/index.html index 3b0713c0d786563..c964107ff4f0a89 100644 --- a/files/en-us/web/api/htmlanchorelement/index.html +++ b/files/en-us/web/api/htmlanchorelement/index.html @@ -32,10 +32,10 @@

Properties

Is a {{domxref("USVString")}} that is the result of parsing the {{htmlattrxref("href", "a")}} HTML attribute relative to the document, containing a valid URL of a linked resource.
{{domxref("HTMLAnchorElement.hreflang")}}
Is a {{domxref("DOMString")}} that reflects the {{htmlattrxref("hreflang", "a")}} HTML attribute, indicating the language of the linked resource.
-
{{domxref("HTMLAnchorElement.password")}}
-
Is a {{domxref("USVString")}} containing the password specified before the domain name.
{{domxref("HTMLAnchorElement.origin")}} {{readonlyInline}}
Returns a {{domxref("USVString")}} containing the origin of the URL, that is its scheme, its domain and its port.
+
{{domxref("HTMLAnchorElement.password")}}
+
Is a {{domxref("USVString")}} containing the password specified before the domain name.
{{domxref("HTMLAnchorElement.pathname")}}
Is a {{domxref("USVString")}} containing an initial '/' followed by the path of the URL, not including the query string or fragment.
{{domxref("HTMLAnchorElement.port")}}
diff --git a/files/en-us/web/api/htmlareaelement/index.html b/files/en-us/web/api/htmlareaelement/index.html index 0db368ab6bb39c7..386f57b5bb7b8cc 100644 --- a/files/en-us/web/api/htmlareaelement/index.html +++ b/files/en-us/web/api/htmlareaelement/index.html @@ -36,10 +36,10 @@

Properties

Is a {{domxref("USVString")}} containing that reflects the {{ htmlattrxref("href", "area") }} HTML attribute, containing a valid URL of a linked resource.
{{domxref("HTMLAreaElement.noHref")}} {{obsolete_inline}}
Is a {{jsxref("Boolean")}} flag indicating if the area is inactive (true) or active (false).
-
{{domxref("HTMLAreaElement.password")}}
-
Is a {{domxref("USVString")}} containing the password specified before the domain name.
{{domxref("HTMLAreaElement.origin")}} {{readonlyInline}}
Returns a {{domxref("USVString")}} containing the origin of the URL, that is its scheme, its domain and its port.
+
{{domxref("HTMLAreaElement.password")}}
+
Is a {{domxref("USVString")}} containing the password specified before the domain name.
{{domxref("HTMLAreaElement.pathname")}}
Is a {{domxref("USVString")}} containing the path name component, if any, of the referenced URL.
{{domxref("HTMLAreaElement.port")}}