Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Issue #1585 - Replace node.rootNode with node.getRootNode() | Moonchild | 2020-06-10 | -4/+31 |
| | | | | | | | This removes the (default disabled) node.rootNode readonly attribute and replaces it with a node.getRootNode() function per WhatWG spec discussion. Based on work by John Dai <jdai@mozilla.com> | |||
* | Issue #439 - Remove, fix and clean up automated tests | Moonchild | 2020-06-08 | -4/+0 |
| | | | | | | | With the big amount of code churn around DOM a lot of tests broke severely enough that they caused build bustage. This commit cleans up, removes or otherwise fixes tests that are broken, no longer relevant or obsolete. | |||
* | Issue #1525 - Kill marquee element | Moonchild | 2020-06-01 | -1006/+2 |
| | | | | | | * Remove marquee code * Regenerate HTML Elements/parser code for Removal of Marquee. Co-authored-by: Gaming4JC <g4jc@hyperbola.info> | |||
* | Revert "Issue #1564 - Fix debug build dependencies for g4jc" | wolfbeast | 2020-05-27 | -1/+0 |
| | | | | This reverts commit 101c06946e6174734e494d260fa53d78255fea89. | |||
* | Issue #1564 - Fix debug build dependencies for g4jc | wolfbeast | 2020-05-26 | -0/+1 |
| | ||||
* | Issue #1564 - Split off nsIdentifierMapEntry in its own header | wolfbeast | 2020-05-25 | -146/+176 |
| | | | | + Fix dependency fallout from removing nsDocument.h from ShadowRoot.h | |||
* | Issue #1557 - Allow event dispatch on disabled form controls. | athenian200 | 2020-05-21 | -1/+2 |
| | | | | | | | | Based on https://bugzilla.mozilla.org/show_bug.cgi?id=329509 This seems to resolve #1356 without causing #1557. Also reverts previous changes as they no longer appear to serve a purpose. | |||
* | Issue #1543 - Align <img> with no src to the updated spec. | Moonchild | 2020-05-11 | -1/+1 |
| | ||||
* | Issue #457 - Fix warning about inline ↵ | adeshkp | 2020-05-05 | -0/+1 |
| | | | | nsINode::GetFlattenedTreeParentNodeForStyle being undefined | |||
* | Issue #1375 - Merge CustomElements pref with Webcomponents Pref | Matt A. Tobin | 2020-04-17 | -2/+2 |
| | ||||
* | Issue #1375 - Fix IsWebComponentsEnabled checks | Matt A. Tobin | 2020-04-17 | -64/+28 |
| | ||||
* | 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 | -3/+0 |
| | | | | Tag #1375 | |||
* | Bug 1426503 - Remove DestInsertionPoints stuff | Matt A. Tobin | 2020-04-17 | -166/+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/+150 |
| | | | | | | | * 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 | -1/+1 |
| | | | | Tag #1375 | |||
* | Bug 1412775 - Implement Event.composedPath | Matt A. Tobin | 2020-04-17 | -14/+24 |
| | | | | Tag #1375 | |||
* | Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions] | Matt A. Tobin | 2020-04-17 | -1/+56 |
| | | | | Tag #1375 | |||
* | Bug 1422931 - Fix crash with slot element and make webcomponents preference ↵ | Matt A. Tobin | 2020-04-17 | -3/+43 |
| | | | | | | 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 | -66/+387 |
| | | | | | | | | | | * 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 | -325/+12 |
| | | | | Tag #1375 | |||
* | Bug 1416999 - Remove document.registerElement | Matt A. Tobin | 2020-04-17 | -476/+17 |
| | | | | Tag #1375 | |||
* | Bug 1411878 - Support Element.shadowRoot and Element.assignedSlot / ↵ | Matt A. Tobin | 2020-04-17 | -0/+64 |
| | | | | | | TextNode.assignedSlot on closed shadow root Tag #1375 | |||
* | Bug 1404842 - Implement Element.attachShadow and Element.slot | Matt A. Tobin | 2020-04-17 | -5/+105 |
| | | | | Tag #1375 | |||
* | Bug 1411754 - Rename PresShell::DestroyFramesFor to DestroyFramesForAndRestyle | Matt A. Tobin | 2020-04-17 | -4/+3 |
| | | | | Tag #1375 | |||
* | Bug 1404789 - Stop reconstructing frames for the whole shadow root each time ↵ | Matt A. Tobin | 2020-04-17 | -125/+220 |
| | | | | | | | | | | | | 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/+73 |
| | | | | Tag #1375 | |||
* | Bug 1402941 - Add HTMLSlotElement | Matt A. Tobin | 2020-04-17 | -0/+1 |
| | | | | 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 | -371/+42 |
| | | | | Tag #1375 | |||
* | Issue #1375 - Stop largely using the parser service | Matt A. Tobin | 2020-04-17 | -74/+27 |
| | | | | | | | | | 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 | -16/+3 |
| | | | | | | 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 1377978 - Make nsRange use uint32_t to offset | Matt A. Tobin | 2020-04-17 | -170/+276 |
| | | | | Tag #1375 | |||
* | Bug 1373798 - Move HTML dir attribute state into event state flags | Matt A. Tobin | 2020-04-17 | -33/+41 |
| | | | | | | | | | | * 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 | -30/+165 |
| | | | | | | | | | | | 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 | -36/+144 |
| | | | | Tag #1375 | |||
* | Bug 1363481 - Add the old attribute value as a parameter to ↵ | Matt A. Tobin | 2020-04-17 | -71/+165 |
| | | | | | | Element::AfterSetAttr Tag #1375 | |||
* | Bug 1355351 - Make pseudo-elements return the correct style via getComputedStyle | Matt A. Tobin | 2020-04-17 | -50/+31 |
| | | | | | | | | | * 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 | -6/+28 |
| | | | | | | 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 | -11/+21 |
| | | | | Tag #1375 | |||
* | Bug 1330843 - Allow JS to create NAC pseudo-elements | Matt A. Tobin | 2020-04-17 | -1/+67 |
| | | | | Tag #1375 |