Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Issue #1375 - Fix IsWebComponentsEnabled checks | Matt A. Tobin | 2020-04-17 | -68/+32 |
| | ||||
* | Bug 1360154 - nsIPlaintextEditor might have to have hasText property for ↵ | Matt A. Tobin | 2020-04-17 | -0/+22 |
| | | | | | | | | | UpdateOverlayTextVisibility * DocumentIsBody should return bool, not nsresult * Add fast path to check whether valus is emtpy Tag #1375 | |||
* | Bug 1425769 - Base class for ShadowRoot and Document to manage style state | Matt A. Tobin | 2020-04-17 | -285/+240 |
| | | | | Tag #1375 | |||
* | Issue #80 - De-unify dom/base | Matt A. Tobin | 2020-04-17 | -2/+41 |
| | | | | Tag #1375 | |||
* | Bug 1348481 - Part 1b: Generalize FindDocStyleSheetInsertionPoint so it ↵ | Matt A. Tobin | 2020-04-17 | -9/+10 |
| | | | | | | doesn't require an array of RefPtrs Tag #1375 | |||
* | Bug 1417829 - Remove unresolved pseudoclass | Matt A. Tobin | 2020-04-17 | -109/+2 |
| | | | | Tag #1375 | |||
* | Bug 1426503 - Remove DestInsertionPoints stuff | Matt A. Tobin | 2020-04-17 | -168/+0 |
| | | | | Tag #1375 | |||
* | Bug 1426536 - Remove nsContentUtils::IsContentInsertionPoint | Matt A. Tobin | 2020-04-17 | -112/+23 |
| | | | | Tag #1375 | |||
* | Bug 1409976 - Add `slotchange` event | Matt A. Tobin | 2020-04-17 | -14/+174 |
| | | | | | | | * Add support for `slotchange` event * Signal `slotchange` when slot's assigned nodes changes Tag #1375 | |||
* | Bug 1425441 - Move relatedTarget to WidgetEvent | Matt A. Tobin | 2020-04-17 | -31/+7 |
| | | | | Tag #1375 | |||
* | Bug 1327185 - Refine EventStateManager::FireDragEnterOrExit | Matt A. Tobin | 2020-04-17 | -10/+23 |
| | | | | Tag #1375 | |||
* | Bug 1412775 - Implement Event.composedPath | Matt A. Tobin | 2020-04-17 | -25/+188 |
| | | | | Tag #1375 | |||
* | Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions] | Matt A. Tobin | 2020-04-17 | -44/+124 |
| | | | | Tag #1375 | |||
* | Bug 1422931 - Fix crash with slot element and make webcomponents preference ↵ | Matt A. Tobin | 2020-04-17 | -5/+45 |
| | | | | | | per-doc Tag #1375 | |||
* | Bug 1419799 - Fix nsContentUtils::IsInSameAnonymousTree in Shadow DOM | Matt A. Tobin | 2020-04-17 | -11/+19 |
| | | | | Tag #1375 | |||
* | Bug 1413619 - Fix insertion point computation when display: contents pseudos ↵ | Matt A. Tobin | 2020-04-17 | -16/+26 |
| | | | | | | are involved. Tag #1375 | |||
* | Bug 1409975 - Implement node distribution for shadow tree slots | Matt A. Tobin | 2020-04-17 | -75/+559 |
| | | | | | | | | | | * 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 HTMLContentElement | Matt A. Tobin | 2020-04-17 | -1178/+12 |
| | | | | Tag #1375 | |||
* | Bug 1416999 - Remove document.registerElement | Matt A. Tobin | 2020-04-17 | -845/+45 |
| | | | | Tag #1375 | |||
* | Bug 1411878 - Support Element.shadowRoot and Element.assignedSlot / ↵ | Matt A. Tobin | 2020-04-17 | -3/+67 |
| | | | | | | TextNode.assignedSlot on closed shadow root Tag #1375 | |||
* | Bug 1404842 - Implement Element.attachShadow and Element.slot | Matt A. Tobin | 2020-04-17 | -11/+134 |
| | | | | Tag #1375 | |||
* | Bug 1411754 - Rename PresShell::DestroyFramesFor to DestroyFramesForAndRestyle | Matt A. Tobin | 2020-04-17 | -5/+4 |
| | | | | Tag #1375 | |||
* | Bug 1404789 - Stop reconstructing frames for the whole shadow root each time ↵ | Matt A. Tobin | 2020-04-17 | -137/+223 |
| | | | | | | | | | | | | 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 Text | Matt A. Tobin | 2020-04-17 | -0/+80 |
| | | | | Tag #1375 | |||
* | Bug 1402941 - Add HTMLSlotElement | Matt A. Tobin | 2020-04-17 | -0/+147 |
| | | | | Tag #1375 | |||
* | Bug 1401097 - Simplify gHTMLElements and remove redundant conditions in ↵ | Matt A. Tobin | 2020-04-17 | -6/+1 |
| | | | | | | nsXHTMLContentSerializer::LineBreakAfterClose() Tag #1375 | |||
* | Bug 1396584 - Remove support for multiple ShadowRoots | Matt A. Tobin | 2020-04-17 | -1534/+44 |
| | | | | Tag #1375 | |||
* | Issue #1375 - Stop largely using the parser service | Matt A. Tobin | 2020-04-17 | -90/+31 |
| | | | | | | | | | 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. Tobin | 2020-04-17 | -8/+14 |
| | | | | | | ShadowRoot.host doesn't become null) Tag #1375 | |||
* | Bug 1389743 - Only reconstruct frames synchronously from ContentRemoved when ↵ | Matt A. Tobin | 2020-04-17 | -46/+5 |
| | | | | | | called from frame construction Tag #1375 | |||
* | Bug 1375701 - Atomize class attribute value in the parser in the innerHTML case | Matt A. Tobin | 2020-04-17 | -2/+46 |
| | | | | Tag #1375 | |||
* | Bug 1382357 - Wait to destroy frames until after we've successfully fetched ↵ | Matt A. Tobin | 2020-04-17 | -7/+9 |
| | | | | | | the binding Tag #1375 | |||
* | Bug 1377978 - Make nsRange use uint32_t to offset | Matt A. Tobin | 2020-04-17 | -177/+283 |
| | | | | Tag #1375 | |||
* | Bug 1373798 - Move HTML dir attribute state into event state flags | Matt A. Tobin | 2020-04-17 | -65/+114 |
| | | | | | | | | | | * 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. Tobin | 2020-04-17 | -0/+1 |
| | | | | | | nsISelectionController and nsIDocument with nsWeakPtr Tag #1375 | |||
* | Bug 1332353 - Make it clearer when a stylesheet is really owned by its mDocument | Matt A. Tobin | 2020-04-17 | -12/+12 |
| | | | | Tag #1375 | |||
* | Bug 1365092 - Move side effects of SetAttr and ParseAttribute to ↵ | Matt A. Tobin | 2020-04-17 | -956/+983 |
| | | | | | | | | | | | 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 nsRange | Matt A. Tobin | 2020-04-17 | -43/+146 |
| | | | | Tag #1375 | |||
* | Bug 1363481 - Add the old attribute value as a parameter to ↵ | Matt A. Tobin | 2020-04-17 | -161/+352 |
| | | | | | | Element::AfterSetAttr Tag #1375 | |||
* | Bug 1355351 - Make pseudo-elements return the correct style via getComputedStyle | Matt A. Tobin | 2020-04-17 | -72/+69 |
| | | | | | | | | | * 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. Tobin | 2020-04-17 | -259/+158 |
| | | | | | | 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 attributes | Matt A. Tobin | 2020-04-17 | -12/+27 |
| | | | | Tag #1375 | |||
* | Bug 1330843 - Allow JS to create NAC pseudo-elements | Matt A. Tobin | 2020-04-17 | -1/+70 |
| | | | | Tag #1375 | |||
* | Bug 1346623 - Allow anonymous content created with ↵ | Matt A. Tobin | 2020-04-16 | -0/+40 |
| | | | | | | | | | 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. Tobin | 2020-04-16 | -66/+73 |
| | | | | | | | | | 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/aftersetattr | Matt A. Tobin | 2020-04-16 | -117/+84 |
| | | | | | | | | | | * 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 const | Matt A. Tobin | 2020-04-16 | -0/+8 |
| | ||||
* | Bug 1343937 - Fix a crash in nsWrapperCache.h | Matt A. Tobin | 2020-04-16 | -0/+8 |
| | | | | | | | * 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. Tobin | 2020-04-16 | -22/+19 |
| | | | | Tag #1375 | |||
* | Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content ↵ | Matt A. Tobin | 2020-04-16 | -21/+68 |
| | | | | | | | | | | | 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 |