summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-05-29 11:50:10 +0100
committerAndreas Kling <kling@serenityos.org>2022-05-29 15:22:00 +0200
commit173dcfb7cb13fac29d06bfef0130a0469cd4ee27 (patch)
tree1622300c30db0e7e3ba42a07d23fc43a46d68ca2 /Userland/Libraries/LibWeb
parentf377951178dcc29e0a0b776f20576f76c86bc666 (diff)
downloadserenity-173dcfb7cb13fac29d06bfef0130a0469cd4ee27.zip
Everywhere: Fix a bunch of typos
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r--Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp2
-rw-r--r--Userland/Libraries/LibWeb/HTML/FormAssociatedElement.h4
-rw-r--r--Userland/Libraries/LibWeb/HTML/Worker.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp b/Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp
index 182f7d040a..597b7ebdd5 100644
--- a/Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp
+++ b/Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp
@@ -166,7 +166,7 @@ void EventLoop::process()
// - The user agent believes that updating the rendering of the Document's browsing context would have no visible effect, and
// - The Document's map of animation frame callbacks is empty.
- // FIXME: 5. Remove from docs all Document objects for which the user agent believes that it's preferrable to skip updating the rendering for other reasons.
+ // FIXME: 5. Remove from docs all Document objects for which the user agent believes that it's preferable to skip updating the rendering for other reasons.
// FIXME: 6. For each fully active Document in docs, flush autofocus candidates for that Document if its browsing context is a top-level browsing context.
diff --git a/Userland/Libraries/LibWeb/HTML/FormAssociatedElement.h b/Userland/Libraries/LibWeb/HTML/FormAssociatedElement.h
index 1434eedec2..82bf4b81e4 100644
--- a/Userland/Libraries/LibWeb/HTML/FormAssociatedElement.h
+++ b/Userland/Libraries/LibWeb/HTML/FormAssociatedElement.h
@@ -11,8 +11,8 @@
namespace Web::HTML {
-// Form-associated elements should invoke this macro to inject overidden FormAssociatedElement and HTMLElement
-// methods as needed. If your class wished to override an HTMLElement method that is overidden here, use the
+// Form-associated elements should invoke this macro to inject overridden FormAssociatedElement and HTMLElement
+// methods as needed. If your class wished to override an HTMLElement method that is overridden here, use the
// following methods instead:
//
// HTMLElement::inserted() -> Use form_associated_element_was_inserted()
diff --git a/Userland/Libraries/LibWeb/HTML/Worker.cpp b/Userland/Libraries/LibWeb/HTML/Worker.cpp
index f0a4fc7c1a..3fef01f121 100644
--- a/Userland/Libraries/LibWeb/HTML/Worker.cpp
+++ b/Userland/Libraries/LibWeb/HTML/Worker.cpp
@@ -111,7 +111,7 @@ void Worker::run_a_worker(AK::URL& url, EnvironmentSettingsObject& outside_setti
if (is_shared)
TODO();
- // FIXME: Make and use subclasses of WorkerGlobalScope, however this requries JS::GlobalObject to
+ // FIXME: Make and use subclasses of WorkerGlobalScope, however this requires JS::GlobalObject to
// play nicely with the IDL interpreter, to make spec-compliant extensions, which it currently does not.
m_worker_scope = m_worker_vm->heap().allocate_without_global_object<JS::GlobalObject>();
m_worker_scope->initialize_global_object();
@@ -171,7 +171,7 @@ void Worker::run_a_worker(AK::URL& url, EnvironmentSettingsObject& outside_setti
m_inner_settings = WorkerEnvironmentSettingsObject::setup(*m_document, m_execution_context);
// 10. Set worker global scope's name to the value of options's name member.
- // FIXME: name propery requires the SharedWorkerGlobalScope or DedicatedWorkerGlobalScope child class to be used
+ // FIXME: name property requires the SharedWorkerGlobalScope or DedicatedWorkerGlobalScope child class to be used
// 11. Append owner to worker global scope's owner set.
// FIXME: support for 'owner' set on WorkerGlobalScope