ladybird/Userland/Libraries/LibWeb/DOM
Luke Wilde 821702fadd LibWeb: Set Comment's prototype
This makes YouTube's thumbnails start appearing on the homepage.
Yes,seriously.

Simply put, this is because this check failed when Comment had the
incorrect prototype:
90cb97f847/packages/shadycss/src/style-util.js (L397)

This causes it to try and reconvert style sheets that are already in
Shady format, which would cause it to spuriously add things such as
class selectors on the end of tag selectors. This caused nothing to
match the selectors.

When YouTube is generating the thumbnails, it checks if the thumbnail
grid container has a non-zero clientWidth. If it's zero, it simply
bails generating thumbnails. Since the selectors for this container did
not apply, we would not properly create a paint box for it, causing
clientWidth to return zero.
2023-04-14 12:30:43 +02:00
..
AbortController.cpp LibWeb: Make factory method of DOM::AbortSignal fallible 2023-02-18 00:52:47 +01:00
AbortController.h LibWeb: Make factory method of DOM::AbortController fallible 2023-02-18 00:52:47 +01:00
AbortController.idl
AbortSignal.cpp LibWeb: Port {Mouse,UI,Wheel,}Event to new String 2023-04-07 22:41:01 +02:00
AbortSignal.h LibWeb: Make factory method of DOM::AbortSignal fallible 2023-02-18 00:52:47 +01:00
AbortSignal.idl
AbstractRange.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AbstractRange.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
AbstractRange.idl
AccessibilityTreeNode.cpp LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr 2023-03-15 08:48:49 +01:00
AccessibilityTreeNode.h LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr 2023-03-15 08:48:49 +01:00
Attr.cpp LibWeb: Handle null values when making args for attributeChangedCallback 2023-04-11 23:42:15 +02:00
Attr.h LibWeb: Introduce CustomElementRegistry and creating custom elements 2023-04-06 11:36:56 +02:00
Attr.idl
CDATASection.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
CDATASection.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
CDATASection.idl
CharacterData.cpp LibWeb: Make factory method of DOM::StaticNodeList fallible 2023-02-18 00:52:47 +01:00
CharacterData.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
CharacterData.idl
ChildNode.h LibWeb: Fix a few const-ness issues 2023-03-06 13:05:43 +00:00
ChildNode.idl
Comment.cpp LibWeb: Set Comment's prototype 2023-04-14 12:30:43 +02:00
Comment.h LibWeb: Set Comment's prototype 2023-04-14 12:30:43 +02:00
Comment.idl
CustomEvent.cpp LibWeb: Port {Mouse,UI,Wheel,}Event to new String 2023-04-07 22:41:01 +02:00
CustomEvent.h LibWeb: Port CustomEvent to new String 2023-04-07 22:41:01 +02:00
CustomEvent.idl LibWeb: Port CustomEvent to new String 2023-04-07 22:41:01 +02:00
Document.cpp LibWeb: Port fire_a_page_transition_event() to new FlyString 2023-04-09 17:27:27 +02:00
Document.h LibWeb: Port {HTML,UIEvents,XHR}::EventNames to new String 2023-04-06 23:49:08 +02:00
Document.idl LibWeb: Add a bunch of missing CEReactions 2023-04-06 11:36:56 +02:00
DocumentFragment.cpp LibWeb: Make factory method of DOM::DocumentFragment fallible 2023-02-18 00:52:47 +01:00
DocumentFragment.h LibWeb: Make factory method of DOM::DocumentFragment fallible 2023-02-18 00:52:47 +01:00
DocumentFragment.idl
DocumentLoadEventDelayer.cpp
DocumentLoadEventDelayer.h
DocumentType.cpp LibWeb: Make factory method of DOM::DocumentType fallible 2023-02-18 00:52:47 +01:00
DocumentType.h LibWeb: Make factory method of DOM::DocumentType fallible 2023-02-18 00:52:47 +01:00
DocumentType.idl
DOMEventListener.cpp
DOMEventListener.h LibWeb: Port DOMEventListener to new FlyString 2023-04-09 17:27:27 +02:00
DOMImplementation.cpp LibWeb: Introduce CustomElementRegistry and creating custom elements 2023-04-06 11:36:56 +02:00
DOMImplementation.h LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr 2023-03-15 08:48:49 +01:00
DOMImplementation.idl
DOMTokenList.cpp LibWeb: Fix a few const-ness issues 2023-03-06 13:05:43 +00:00
DOMTokenList.h LibWeb: Fix a few const-ness issues 2023-03-06 13:05:43 +00:00
DOMTokenList.idl
Element.cpp LibWeb: Introduce CustomElementRegistry and creating custom elements 2023-04-06 11:36:56 +02:00
Element.h LibWeb: Introduce CustomElementRegistry and creating custom elements 2023-04-06 11:36:56 +02:00
Element.idl LibWeb: Add a bunch of missing CEReactions 2023-04-06 11:36:56 +02:00
ElementFactory.cpp LibWeb: Introduce CustomElementRegistry and creating custom elements 2023-04-06 11:36:56 +02:00
ElementFactory.h LibWeb: Introduce CustomElementRegistry and creating custom elements 2023-04-06 11:36:56 +02:00
Event.cpp LibWeb: Port {Mouse,UI,Wheel,}Event to new String 2023-04-07 22:41:01 +02:00
Event.h LibWeb: Port {Mouse,UI,Wheel,}Event to new String 2023-04-07 22:41:01 +02:00
Event.idl LibWeb: Port {Mouse,UI,Wheel,}Event to new String 2023-04-07 22:41:01 +02:00
EventDispatcher.cpp LibWeb: Port DOMEventListener to new FlyString 2023-04-09 17:27:27 +02:00
EventDispatcher.h
EventHandler.idl
EventTarget.cpp LibWeb: Port DOMEventListener to new FlyString 2023-04-09 17:27:27 +02:00
EventTarget.h LibWeb: Port EventTarget to new {Fly}String 2023-04-09 17:27:27 +02:00
EventTarget.idl LibWeb: Port EventTarget to new {Fly}String 2023-04-09 17:27:27 +02:00
HTMLCollection.cpp LibWeb: Don't match the root node of HTMLCollection 2023-04-13 18:24:18 +02:00
HTMLCollection.h LibWeb: Restore proper functionality of legacy platform objects 2023-02-28 12:36:14 +01:00
HTMLCollection.idl
IDLEventListener.cpp LibJS: Make intrinsics getters return NonnullGCPtr 2023-04-13 14:29:42 +02:00
IDLEventListener.h LibWeb: Make factory methods of IDLEventListener and NodeFilter fallible 2023-02-22 09:55:33 +01:00
InnerHTML.idl
LiveNodeList.cpp LibWeb: Make factory method of DOM::LiveNodeList fallible 2023-02-18 00:52:47 +01:00
LiveNodeList.h LibWeb: Make factory method of DOM::LiveNodeList fallible 2023-02-18 00:52:47 +01:00
MutationObserver.cpp LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr 2023-03-15 08:48:49 +01:00
MutationObserver.h Everywhere: Remove NonnullRefPtr.h includes 2023-03-06 23:46:35 +01:00
MutationObserver.idl
MutationRecord.cpp LibWeb: Port MutationRecord types to FlyString 2023-03-18 19:50:45 +01:00
MutationRecord.h LibWeb: Port MutationRecord types to FlyString 2023-03-18 19:50:45 +01:00
MutationRecord.idl
MutationType.cpp LibWeb: Port MutationRecord types to FlyString 2023-03-18 19:50:45 +01:00
MutationType.h LibWeb: Port MutationRecord types to FlyString 2023-03-18 19:50:45 +01:00
NamedNodeMap.cpp LibWeb: Implement Element.setAttributeNode{,NS}() 2023-03-10 14:56:29 +01:00
NamedNodeMap.h LibWeb: Implement Element.setAttributeNode{,NS}() 2023-03-10 14:56:29 +01:00
NamedNodeMap.idl
Node.cpp LibWeb: Introduce CustomElementRegistry and creating custom elements 2023-04-06 11:36:56 +02:00
Node.h LibWeb: Introduce CustomElementRegistry and creating custom elements 2023-04-06 11:36:56 +02:00
Node.idl LibWeb: Add a bunch of missing CEReactions 2023-04-06 11:36:56 +02:00
NodeFilter.cpp LibJS: Make intrinsics getters return NonnullGCPtr 2023-04-13 14:29:42 +02:00
NodeFilter.h LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr 2023-03-15 08:48:49 +01:00
NodeFilter.idl
NodeIterator.cpp LibWeb: Make factory method of DOM::NodeIterator fallible 2023-02-18 00:52:47 +01:00
NodeIterator.h LibWeb: Make factory method of DOM::NodeIterator fallible 2023-02-18 00:52:47 +01:00
NodeIterator.idl
NodeList.cpp LibWeb: Restore proper functionality of legacy platform objects 2023-02-28 12:36:14 +01:00
NodeList.h LibWeb: Restore proper functionality of legacy platform objects 2023-02-28 12:36:14 +01:00
NodeList.idl
NodeOperations.cpp LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
NodeOperations.h
NonDocumentTypeChildNode.h
NonElementParentNode.h LibWeb: Fix a few const-ness issues 2023-03-06 13:05:43 +00:00
ParentNode.cpp LibWeb: Pass scope in ParentNode::query_selector_all 2023-03-21 10:45:19 +01:00
ParentNode.h
ParentNode.idl
Position.cpp LibWeb: Skip over grapheme clusters on left/right arrow key presses 2023-03-01 14:24:01 +00:00
Position.h LibWeb: Convert Web::DOM::Position::to_deprecated_string to String 2023-03-01 14:24:01 +00:00
ProcessingInstruction.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ProcessingInstruction.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
ProcessingInstruction.idl
QualifiedName.cpp LibWeb: Introduce CustomElementRegistry and creating custom elements 2023-04-06 11:36:56 +02:00
QualifiedName.h LibWeb: Introduce CustomElementRegistry and creating custom elements 2023-04-06 11:36:56 +02:00
Range.cpp LibWeb: Implement Range.createContextualFragment() 2023-03-10 14:58:55 +01:00
Range.h LibWeb: Implement Range.createContextualFragment() 2023-03-10 14:58:55 +01:00
Range.idl LibWeb: Implement Range.createContextualFragment() 2023-03-10 14:58:55 +01:00
ShadowRoot.cpp LibWeb: Allow to set a root mode value when constructing a ShadowRoot 2023-02-02 14:43:29 +01:00
ShadowRoot.h LibWeb: Introduce CustomElementRegistry and creating custom elements 2023-04-06 11:36:56 +02:00
ShadowRoot.idl LibWeb: Make ShadowRoot.mode return ShadowRootMode instead of String 2023-02-02 14:43:29 +01:00
StaticNodeList.cpp LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr 2023-03-15 08:48:49 +01:00
StaticNodeList.h LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr 2023-03-15 08:48:49 +01:00
StaticRange.cpp LibWeb: Return JS::NonnullGCPtr<StaticRange> instead of StaticRange* 2023-02-18 00:52:47 +01:00
StaticRange.h LibWeb: Return JS::NonnullGCPtr<StaticRange> instead of StaticRange* 2023-02-18 00:52:47 +01:00
StaticRange.idl
Text.cpp LibWeb: Make factory method of DOM::Text fallible 2023-02-18 00:52:47 +01:00
Text.h LibWeb: Make factory method of DOM::Text fallible 2023-02-18 00:52:47 +01:00
Text.idl
TreeWalker.cpp LibWeb: Make factory method of DOM::TreeWalker fallible 2023-02-18 00:52:47 +01:00
TreeWalker.h LibWeb: Make factory method of DOM::TreeWalker fallible 2023-02-18 00:52:47 +01:00
TreeWalker.idl