summaryrefslogtreecommitdiff
path: root/dom
Commit message (Collapse)AuthorAge
* Bug 1422931 - Fix crash with slot element and make webcomponents preference ↵Matt A. Tobin2020-04-17
| | | | | | per-doc Tag #1375
* Bug 1419799 - Fix nsContentUtils::IsInSameAnonymousTree in Shadow DOMMatt A. Tobin2020-04-17
| | | | Tag #1375
* Bug 1413619 - Fix insertion point computation when display: contents pseudos ↵Matt A. Tobin2020-04-17
| | | | | | are involved. Tag #1375
* Bug 1409975 - Implement node distribution for shadow tree slotsMatt A. Tobin2020-04-17
| | | | | | | | | | * Implementation for assignedNodes * Include slots in the flat tree * Fix event get-the-parent algorithm for a node * Update and add reftests for Shadow DOM v1 * Update web platform tests expectations Tag #1375
* Bug 1418002 - Remove HTMLContentElementMatt A. Tobin2020-04-17
| | | | Tag #1375
* Bug 1416999 - Remove document.registerElementMatt A. Tobin2020-04-17
| | | | Tag #1375
* Bug 1411878 - Support Element.shadowRoot and Element.assignedSlot / ↵Matt A. Tobin2020-04-17
| | | | | | TextNode.assignedSlot on closed shadow root Tag #1375
* Bug 1404842 - Implement Element.attachShadow and Element.slotMatt A. Tobin2020-04-17
| | | | Tag #1375
* Bug 1411754 - Rename PresShell::DestroyFramesFor to DestroyFramesForAndRestyleMatt A. Tobin2020-04-17
| | | | Tag #1375
* Bug 1404789 - Stop reconstructing frames for the whole shadow root each time ↵Matt A. Tobin2020-04-17
| | | | | | | | | | | | content is inserted in a shadow tree * Cleanup a bit the ShadowRoot code * Privatize ShadowRoot methods * When the shadow tree distribution changes, post a restyle + reframe * Simplify ShadowRoot::IsPooledNode * Be a bit better at detecting distribution changes Tag #1375
* Bug 1408341 - Implement assignedSlot on Element and TextMatt A. Tobin2020-04-17
| | | | Tag #1375
* Bug 1402941 - Add HTMLSlotElementMatt A. Tobin2020-04-17
| | | | Tag #1375
* Bug 1401097 - Simplify gHTMLElements and remove redundant conditions in ↵Matt A. Tobin2020-04-17
| | | | | | nsXHTMLContentSerializer::LineBreakAfterClose() Tag #1375
* Bug 1396584 - Remove support for multiple ShadowRootsMatt A. Tobin2020-04-17
| | | | Tag #1375
* Issue #1375 - Stop largely using the parser serviceMatt A. Tobin2020-04-17
| | | | | | | | | This is based on Bug 1395828 * Add nsHTMLElement::IsBlock() * Rename nsHTMLTags methods * Remove AssertParserServiceIsCorrect() * Remove most uses of nsIParserService/nsParserService
* Bug 1396568 - Make DocumentFragment::mHost a strong reference (so that ↵Matt A. Tobin2020-04-17
| | | | | | ShadowRoot.host doesn't become null) Tag #1375
* Bug 1389743 - Only reconstruct frames synchronously from ContentRemoved when ↵Matt A. Tobin2020-04-17
| | | | | | called from frame construction Tag #1375
* Bug 1375701 - Atomize class attribute value in the parser in the innerHTML caseMatt A. Tobin2020-04-17
| | | | Tag #1375
* Bug 1382357 - Wait to destroy frames until after we've successfully fetched ↵Matt A. Tobin2020-04-17
| | | | | | the binding Tag #1375
* Bug 1377978 - Make nsRange use uint32_t to offsetMatt A. Tobin2020-04-17
| | | | Tag #1375
* Bug 1373798 - Move HTML dir attribute state into event state flagsMatt A. Tobin2020-04-17
| | | | | | | | | | * Stop calling SetHasDirAuto/ClearHasDirAuto in input element code * Introduce event state flags that track the state of an element's dir attribute * Rewrite our existing checks for the state of the dir attr on top of the new event state flags * Add pseudo-classes for matching on the dir attribute states * Use the new dir attribute pseudoclasses in html.css Tag #1375
* Bug 1372829 - Part 2: mozilla::EditorBase should cache raw pointer of ↵Matt A. Tobin2020-04-17
| | | | | | nsISelectionController and nsIDocument with nsWeakPtr Tag #1375
* Bug 1332353 - Make it clearer when a stylesheet is really owned by its mDocumentMatt A. Tobin2020-04-17
| | | | Tag #1375
* Bug 1365092 - Move side effects of SetAttr and ParseAttribute to ↵Matt A. Tobin2020-04-17
| | | | | | | | | | | BeforeSetAttr and AfterSetAttr * Moves side effects of nsGenericHTMLElement and Element's SetAttr, UnsetAttr, and ParseAttribute functions to the corresponding BeforeSetAttr and AfterSetAttr functions * Moves side effects of HTMLAnchorElement's SetAttr, UnsetAttr, and ParseAttribute functions to the corresponding BeforeSetAttr and AfterSetAttr functions * Moves side effects of HTMLImageElement's SetAttr function to the corresponding BeforeSetAttr and AfterSetAttr functions * Moves side effects of SetAttr, UnsetAttr, and ParseAttribute functions to BeforeSetAttr and AfterSetAttr Tag #1375
* Bug 1367683 - Optimize initializing nsRangeMatt A. Tobin2020-04-17
| | | | Tag #1375
* Bug 1363481 - Add the old attribute value as a parameter to ↵Matt A. Tobin2020-04-17
| | | | | | Element::AfterSetAttr Tag #1375
* Bug 1355351 - Make pseudo-elements return the correct style via getComputedStyleMatt A. Tobin2020-04-17
| | | | | | | | | * Add a node property to access the ::before and ::after pseudo-elements * Look for the frame for ::before and ::after pseudos * Clean up pseudo-element props * Simplify nsLayoutUtils callers, and make child iterators notice display: contents pseudos Tag #1375
* Issue #1375 - Include content rules from ↵Matt A. Tobin2020-04-17
| | | | | | HTMLTableCellElement::WalkContentStyleRules and move to the mapped attr functionality * Bugs 1341647 and 1341648
* Bug 1352389 -Don't push extra script blocker on stack when setting attributesMatt A. Tobin2020-04-17
| | | | Tag #1375
* Bug 1330843 - Allow JS to create NAC pseudo-elementsMatt A. Tobin2020-04-17
| | | | Tag #1375
* Bug 1346623 - Allow anonymous content created with ↵Matt A. Tobin2020-04-16
| | | | | | | | | nsIDocument::InsertAnonymousContent can change from non-native to native AC * Prevent canvas custom content from becoming NAC when reframing the root element * Add an API to get computed style values through an AnonymousContent object Tag #1375
* Bug 1347640 - HTMLInputElement shouldn't try to cancel image request on all ↵Matt A. Tobin2020-04-16
| | | | | | | | | the type changes * Move the changing of HTMLInputElement's mType from ParseAttribute to AfterSetAttr * Move a few more things from AfterSetAttr to HandleTypeChange Tag #1375
* Bug 656197 - Push state updates further out across beforesetattr/aftersetattrMatt A. Tobin2020-04-16
| | | | | | | | | | * Remove the generic attr preparsing mechanism from BeforeSetAttr and just preparse class attributes directly in the one place that needs to do it * Move calls to BeforeSetAttr to after AttributeWillChange * Remove UpdateState calls in BeforeSetAttr * Move calls to AfterSetAttr to before UpdateState when manipulating attributes * Remove UpdateState calls from AfterSetAttr, since they are no longer needed there Tag #1375
* Issue #1375 - Overload FromContent() to work with constMatt A. Tobin2020-04-16
|
* Bug 1343937 - Fix a crash in nsWrapperCache.hMatt A. Tobin2020-04-16
| | | | | | | * Implement and use GetInFlowParent * Exempt scrollbar NAC from the new NAC semantics Tag #1375
* Bug 1340333 - Eagerly compute whether a frame is really a browser.Matt A. Tobin2020-04-16
| | | | Tag #1375
* Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content ↵Matt A. Tobin2020-04-16
| | | | | | | | | | | with the pseudo type at creation time * Stop using a node bit for HasExplicitBaseURI * Move MAY_HAVE_CLASS to mBoolFlags * Add a flag to indicate that a node is native anonymous content * Allow tagging of pseudo-implementing native anonymous content with the pseudo type at creation time, and eliminate explicit style contexts in nsIAnonymousContentCreator::ContentInfo Tag #1375
* Bug 1321284 - Crash in nsCSSFrameConstructor::GetInsertionPrevSibling when ↵Matt A. Tobin2020-04-14
| | | | | | | | | | | | trying to reframe native anonymous content * Make StyleChildrenIterator skip NAC generated by root element primary frame ancestors. * Add nsINode::GetFlattenedTreeParentNodeForStyle. * Add iterator class to find all restyle roots. NOTE: Parts 1, 2, and "4.2" Tag #1375
* Bug 1305458 - Changing -moz-appearence on hover breaks change eventMatt A. Tobin2020-04-14
| | | | | | | | | | | | | | | | | | | * Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent * Add nsIDOMEventTarget::PreHandleEvent * Add EventTargetChainItem::GetFirstEventTarget * Call EventTargetChainItem::PreHandleEvent even it sets mCanHandle=false * Move form control frame focus/blur from nsGenericHTMLFormElement::GetEventTargetParent to PreHandleEvent * Move fire change event from HTMLTextAreaElement::GetEventTargetParent to PreHandleEvent * Refine nsXULElement::GetEventTargetParent * Move dispatch XUL command from nsXULElement::GetEventTargetParent to PreHandleEvent * Move fire events and set value from HTMLInputElement::GetEventTargetParent to PreHandleEvent * Add test case * Let HTMLInputElement delegate event handling to it's parent class * Refine EventTargetChain flags to reduce overheads * Refine event target chain creation * Refine assertion in EventTargetChainItem::Create Tag #1375
* Take files out of preprocessing that no longer require itMatt A. Tobin2020-04-07
|
* Output webidl filenames as they are processedMatt A. Tobin2020-03-31
|
* [DOM] Make sure to exit fullscreen mode if popups are opened or focused.wolfbeast2020-03-18
|
* [DOM] Add a null checkwolfbeast2020-02-26
|
* Follow-up to 4e2e9be6a - Move HeapSnapshot DevTools-only Modules back to ↵Matt A. Tobin2020-02-23
| | | | | | | | DevTools I am so done with this. Resolves #316
* Reclassify heapsnapshot and nsJSInspector as not part of devtoolsMatt A. Tobin2020-02-22
| | | | This resolves Issue #316
* Issue #1053 - Remove android support from NPAPIMatt A. Tobin2020-02-20
|
* Merge pull request #1458 from MoonchildProductions/316Moonchild2020-02-20
|\ | | | | Fix buildability of builds without devtools-server
| * Issue #316 - Be more gentle with the CC and nursery.wolfbeast2020-02-20
| |
| * Issue #316 - Pre-process Performance.webidlwolfbeast2020-02-20
| |
| * Issue #316 - Make the memory GC performance object conditional (WIP)wolfbeast2020-02-20
| | | | | | | | | | This was only added for GCubench and likely interfering with building without devtools-server.