1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:18:11 +00:00
serenity/Libraries/LibWeb/DOM
Tom 27bd2eab22 LibWeb: Require parent window argument for MessageBox
Since the vast majority of message boxes should be modal, require
the parent window to be passed in, which can be nullptr for the
rare case that they don't. By it being the first argument, the
default arguments also don't need to be explicitly stated in most
cases, and it encourages passing in a parent window handle.

Fix up several message boxes that should have been modal.
2020-07-16 16:10:21 +02:00
..
Attribute.h LibWeb: Move Attribute to its own header file 2020-05-22 21:45:00 +02:00
AttributeNames.cpp LibWeb: Special-case initialization of HTML::AttributeNames::class_ 2020-06-03 22:06:52 +02:00
AttributeNames.h LibWeb: Add "data" to HTML::AttributeNames 2020-06-13 22:21:25 +02:00
CanvasRenderingContext2D.cpp LibWeb: Add CanvasRenderingContext2D.rotate() 2020-06-26 18:27:12 +02:00
CanvasRenderingContext2D.h LibWeb: Add CanvasRenderingContext2D.rotate() 2020-06-26 18:27:12 +02:00
CanvasRenderingContext2D.idl LibWeb: Add CanvasRenderingContext2D.rotate() 2020-06-26 18:27:12 +02:00
CharacterData.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
CharacterData.h LibWeb: Start implementing character token parsing 2020-05-24 23:54:22 +02:00
Comment.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Comment.h LibWeb: Make Element::tag_name() return a const FlyString& 2020-06-16 19:09:14 +02:00
Document.cpp LibWeb: Don't call did_layout in non-main frame documents 2020-07-08 23:45:12 +02:00
Document.h LibWeb: Implement fragment parsing and use it for Element.innerHTML 2020-06-26 00:53:25 +02:00
Document.idl LibWeb: Add Document.getElementsByTagName() 2020-06-26 00:53:25 +02:00
DocumentFragment.h LibWeb: Make Element::tag_name() return a const FlyString& 2020-06-16 19:09:14 +02:00
DocumentType.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
DocumentType.h LibWeb: Make Element::tag_name() return a const FlyString& 2020-06-16 19:09:14 +02:00
Element.cpp LibWeb: Turn floated display:inline elements into block-level elements 2020-07-07 17:10:12 +02:00
Element.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
Element.idl LibWeb: Add Element.tagName and Element.className 2020-06-21 12:01:13 +02:00
ElementFactory.cpp LibWeb: Add basic <object> element support 2020-06-13 22:24:49 +02:00
ElementFactory.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
Event.h LibWeb: Generate Event and MouseEvent bindings from IDL :^) 2020-06-21 16:12:28 +02:00
Event.idl LibWeb: Generate Event and MouseEvent bindings from IDL :^) 2020-06-21 16:12:28 +02:00
EventListener.cpp LibWeb: Make EventListener::function() return a reference 2020-04-29 12:46:20 +02:00
EventListener.h LibWeb: Make EventListener::function() return a reference 2020-04-29 12:46:20 +02:00
EventTarget.cpp LibWeb: Add EventTarget.removeEventListener() 2020-06-21 12:37:34 +02:00
EventTarget.h LibWeb: Add EventTarget.removeEventListener() 2020-06-21 12:37:34 +02:00
EventTarget.idl LibWeb: Add EventTarget.removeEventListener() 2020-06-21 12:37:34 +02:00
HTMLAnchorElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLAnchorElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLBlinkElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLBlinkElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLBodyElement.cpp LibWeb: Fix <body> and <img> elements not parsing their class attribute 2020-06-04 16:04:52 +02:00
HTMLBodyElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLBRElement.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLBRElement.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLCanvasElement.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLCanvasElement.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLCanvasElement.idl LibWeb: Generate HTMLCanvasElement bindings from IDL :^) 2020-06-21 15:37:13 +02:00
HTMLElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLElement.h LibWeb: Add HTMLElement wrapper 2020-06-21 14:39:15 +02:00
HTMLElement.idl LibWeb: Add HTMLElement wrapper 2020-06-21 14:39:15 +02:00
HTMLFontElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLFontElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLFormElement.cpp LibWeb: Use the URL encoder from AK instead of rolling a custom one 2020-06-15 17:56:00 +02:00
HTMLFormElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLHeadElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHeadElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHeadingElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHeadingElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHRElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHRElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLHtmlElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHtmlElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLIFrameElement.cpp LibWeb: Add type for FrameLoader::load 2020-07-08 23:45:12 +02:00
HTMLIFrameElement.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLImageElement.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLImageElement.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLImageElement.idl LibWeb: Generate HTMLImageElement bindings from IDL :^) 2020-06-21 15:26:09 +02:00
HTMLInputElement.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLInputElement.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLLinkElement.cpp LibWeb: Don't tolerate unit-less lengths (except 0) in standards mode 2020-06-28 12:46:40 +02:00
HTMLLinkElement.h LibWeb: Don't load stylesheets with rel="alternate" 2020-06-15 20:31:18 +02:00
HTMLObjectElement.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLObjectElement.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
HTMLScriptElement.cpp LibWeb: Let HTMLScriptElement call Document::run_javascript() 2020-06-23 16:45:01 +02:00
HTMLScriptElement.h LibWeb: Remove hacky old ways of running <script> element contents 2020-06-23 16:45:01 +02:00
HTMLStyleElement.cpp LibWeb: Don't tolerate unit-less lengths (except 0) in standards mode 2020-06-28 12:46:40 +02:00
HTMLStyleElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLTableCellElement.cpp LibWeb: Turn <td width> into a CSS width property 2020-06-28 14:30:37 +02:00
HTMLTableCellElement.h LibWeb: Turn <td bgcolor> into background-color 2020-06-12 22:47:51 +02:00
HTMLTableElement.cpp LibWeb: Don't tolerate unit-less lengths (except 0) in standards mode 2020-06-28 12:46:40 +02:00
HTMLTableElement.h LibWeb: Turn <table width> into the CSS width property 2020-06-12 22:52:38 +02:00
HTMLTableRowElement.cpp LibWeb: Add (stub) HTMLTable{,Cell,Row}Element C++ classes 2020-06-07 23:10:45 +02:00
HTMLTableRowElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLTitleElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLTitleElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
ImageData.cpp LibWeb: Generate ImageData bindings from IDL :^) 2020-06-21 15:57:10 +02:00
ImageData.h LibWeb: Generate ImageData bindings from IDL :^) 2020-06-21 15:57:10 +02:00
ImageData.idl LibWeb: Generate ImageData bindings from IDL :^) 2020-06-21 15:57:10 +02:00
MouseEvent.h Meta: Add missing copyright headers 2020-04-06 11:09:01 +02:00
MouseEvent.idl LibWeb: Generate Event and MouseEvent bindings from IDL :^) 2020-06-21 16:12:28 +02:00
Node.cpp LibWeb: Fix EVENT_DEBUG dump compilation 2020-07-11 11:34:59 +02:00
Node.h LibWeb: Implement fragment parsing and use it for Element.innerHTML 2020-06-26 00:53:25 +02:00
Node.idl LibWeb: Add Node.insertBefore(Node node, Node? child) 2020-06-21 17:42:00 +02:00
NonElementParentNode.h LibWeb: Add cached global attribute name FlyStrings 2020-05-26 23:45:43 +02:00
ParentNode.cpp LibWeb: Add ParentNode::remove_all_children() 2020-03-25 18:52:03 +01:00
ParentNode.h LibWeb: Add ParentNode::remove_all_children() 2020-03-25 18:52:03 +01:00
TagNames.cpp LibWeb: Use HTML::TagNames globals in the new HTML parser 2020-06-07 23:53:16 +02:00
TagNames.h LibWeb: Update parser with more insertion modes :^) 2020-06-21 10:13:31 +02:00
Text.cpp LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
Text.h LibWeb: Move border width and color into LayoutStyle 2020-06-24 19:43:27 +02:00
Timer.cpp LibWeb: Make DOM timers cancellable and stop leaking them 2020-06-27 20:02:04 +02:00
Timer.h LibWeb: Make DOM timers cancellable and stop leaking them 2020-06-27 20:02:04 +02:00
Window.cpp LibWeb: Require parent window argument for MessageBox 2020-07-16 16:10:21 +02:00
Window.h LibWeb: Make DOM timers cancellable and stop leaking them 2020-06-27 20:02:04 +02:00
XMLHttpRequest.cpp LibWeb: Make wrapper factory functions take JS::GlobalObject& 2020-06-23 16:57:39 +02:00
XMLHttpRequest.h LibWeb: Add XMLHttpRequest.readyState and constants 2020-04-23 11:03:17 +02:00