Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Bug 1419762 - Return the inline continuation of an IB split when appending | Matt A. Tobin | 2020-04-17 | -3/+20 |
| | | | | 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 1419964 - Remove AdjustParentFrameForAfterContent | Matt A. Tobin | 2020-04-17 | -147/+70 |
| | | | | Tag #1375 | |||
* | Bug 1415843 - Remove an unneeded call to AdjustAppendParentForAfterContent | Matt A. Tobin | 2020-04-17 | -46/+0 |
| | | | | Tag #1375 | |||
* | Bug 1415538 - Remove dead frame construction code (InsertFirstLineFrames) | Matt A. Tobin | 2020-04-17 | -166/+4 |
| | | | | Tag #1375 | |||
* | Bug 1415152 - No need for AdjustAppendForAfter, since ::after is handled in ↵ | Matt A. Tobin | 2020-04-17 | -10/+3 |
| | | | | | | FindNextSibling Tag #1375 | |||
* | Bug 1413619 - Fix insertion point computation when display: contents pseudos ↵ | Matt A. Tobin | 2020-04-17 | -243/+192 |
| | | | | | | are involved. Tag #1375 | |||
* | Bug 979782 - Implement lazy frame construction for display:contents descendants | Matt A. Tobin | 2020-04-17 | -7/+9 |
| | | | | | | | * Fixup FindFrameForContentSibling to don't duplicate work and trigger assertions for display: contents * Enable lazy frame construction for display: contents direct descendants Tag #1375 | |||
* | Bug 1380749 - Retry AdjustAppendParentForAfterContent in case ↵ | Matt A. Tobin | 2020-04-17 | -9/+23 |
| | | | | | | |parentAfterFrame| was a :first-letter frame that we deleted Tag #1375 | |||
* | Bug 1409975 - Implement node distribution for shadow tree slots | Matt A. Tobin | 2020-04-17 | -429/+775 |
| | | | | | | | | | | * 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 | -1317/+140 |
| | | | | Tag #1375 | |||
* | Bug 1416999 - Remove document.registerElement | Matt A. Tobin | 2020-04-17 | -879/+82 |
| | | | | Tag #1375 | |||
* | Bug 1411878 - Support Element.shadowRoot and Element.assignedSlot / ↵ | Matt A. Tobin | 2020-04-17 | -11/+67 |
| | | | | | | TextNode.assignedSlot on closed shadow root Tag #1375 | |||
* | Bug 1404842 - Implement Element.attachShadow and Element.slot | Matt A. Tobin | 2020-04-17 | -818/+134 |
| | | | | Tag #1375 | |||
* | Bug 1411754 - Rename PresShell::DestroyFramesFor to DestroyFramesForAndRestyle | Matt A. Tobin | 2020-04-17 | -13/+14 |
| | | | | Tag #1375 | |||
* | Bug 1404789 - Stop reconstructing frames for the whole shadow root each time ↵ | Matt A. Tobin | 2020-04-17 | -137/+243 |
| | | | | | | | | | | | | 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 | -9/+81 |
| | | | | Tag #1375 | |||
* | Bug 1381134 - Ensure we're using the correct frame for the :after/:before ↵ | Matt A. Tobin | 2020-04-17 | -5/+97 |
| | | | | | | references Tag #1375 | |||
* | Bug 1402941 - Add HTMLSlotElement | Matt A. Tobin | 2020-04-17 | -294/+453 |
| | | | | Tag #1375 | |||
* | Bug 1401097 - Simplify gHTMLElements and remove redundant conditions in ↵ | Matt A. Tobin | 2020-04-17 | -209/+167 |
| | | | | | | nsXHTMLContentSerializer::LineBreakAfterClose() Tag #1375 | |||
* | Bug 1396584 - Remove support for multiple ShadowRoots | Matt A. Tobin | 2020-04-17 | -1955/+334 |
| | | | | Tag #1375 | |||
* | Bug 1400777 - Slim down nsElementTable.h | Matt A. Tobin | 2020-04-17 | -110/+82 |
| | | | | | | | | | | | * Remove eHTMLTags * De-expose HTML group constants[] * De-expose gHTMLElements[] * Split nsHTMLElement * Clean up nsElementTable.{cpp,h} * Fixup for eHTMLTag removal in Parser Tag #1375 | |||
* | Issue #1375 - Stop largely using the parser service | Matt A. Tobin | 2020-04-17 | -193/+77 |
| | | | | | | | | | 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 1394300 - Streamline nsElementTable.cpp | Matt A. Tobin | 2020-04-17 | -589/+158 |
| | | | | Tag #1375 | |||
* | Bug 1389743 - Only reconstruct frames synchronously from ContentRemoved when ↵ | Matt A. Tobin | 2020-04-17 | -285/+201 |
| | | | | | | 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 | -153/+275 |
| | | | | 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 | -287/+425 |
| | | | | Tag #1375 | |||
* | Bug 1377648 - Fix HTMLSummaryElement::IsSummary() on removing the element | Matt A. Tobin | 2020-04-17 | -12/+35 |
| | | | | | | | * Use inFlowFrame to check the target frame is summary and its parent is details * Check summary frame instead of summary element on removing the summary Tag #1375 | |||
* | Bug 1368547 - Remove nsFrameManagerBase::mPlaceholderMap and instead store ↵ | Matt A. Tobin | 2020-04-17 | -166/+52 |
| | | | | | | the placeholder on a frame property on the out-of-flow Tag #1375 | |||
* | Bug 1368802 - nsFrameIterator::GetPlaceholderFrame should only try to get ↵ | Matt A. Tobin | 2020-04-17 | -11/+9 |
| | | | | | | the placeholder for out-of-flow frames, because in-flow frames never have a placeholder Tag #1375 | |||
* | Bug 1373798 - Move HTML dir attribute state into event state flags | Matt A. Tobin | 2020-04-17 | -72/+139 |
| | | | | | | | | | | * 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 | -164/+288 |
| | | | | | | 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 | -38/+83 |
| | | | | Tag #1375 | |||
* | Bug 1372829 - Part 1: Make mozilla::PlaceholderTransaction inherit ↵ | Matt A. Tobin | 2020-04-17 | -43/+53 |
| | | | | | | mozilla::SupportsWeakPtr instead of nsSupportsWeakReference Tag #1375 | |||
* | Bug 1371170 - Add non-virtual EditorBase::GetSelectionController | Matt A. Tobin | 2020-04-17 | -7/+14 |
| | | | | Tag #1375 | |||
* | Bug 1337698 - Use UniquePtr instead of nsAutoPtr in editor | Matt A. Tobin | 2020-04-17 | -44/+32 |
| | | | | | | | | * PlaceholderTransaction should use UniquePtr * HTMLEditor should use UniquePtr * TypeInState should use UniquePtr 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 | -205/+330 |
| | | | | Tag #1375 | |||
* | Bug 1348851 - Use new block when better selection isn't found. | Matt A. Tobin | 2020-04-17 | -11/+35 |
| | | | | 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 1361086 - Simplify UndisplayedMap::GetListFor/GetOrCreateListFor to take ↵ | Matt A. Tobin | 2020-04-17 | -11/+11 |
| | | | | | | nsIContent* rather than nsIContent** Tag #1375 | |||
* | Bug 1360157 - Assert that a display: contents child always has a parent | Matt A. Tobin | 2020-04-17 | -0/+1 |
| | | | | Tag #1375 | |||
* | Bug 1355351 - Make pseudo-elements return the correct style via getComputedStyle | Matt A. Tobin | 2020-04-17 | -241/+188 |
| | | | | | | | | | * 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 1296516 - Cleanup a bit of code in layout/base | Matt A. Tobin | 2020-04-17 | -459/+358 |
| | | | | | | | | * Tidy RestyleManager::ContentStateChanged * Convert UndisplayedMap to a typed hashtable * Cleanup infallible or unchecked nsCSSFrameConstructor methods Tag #1375 | |||
* | Bug 1330843 - Allow JS to create NAC pseudo-elements | Matt A. Tobin | 2020-04-17 | -4/+115 |
| | | | | Tag #1375 |