summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Bug 1368547 - Remove nsFrameManagerBase::mPlaceholderMap and instead store ↵Matt A. Tobin2020-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. Tobin2020-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 flagsMatt A. Tobin2020-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. Tobin2020-04-17-164/+288
| | | | | | 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-38/+83
| | | | Tag #1375
* Bug 1372829 - Part 1: Make mozilla::PlaceholderTransaction inherit ↵Matt A. Tobin2020-04-17-43/+53
| | | | | | mozilla::SupportsWeakPtr instead of nsSupportsWeakReference Tag #1375
* Bug 1371170 - Add non-virtual EditorBase::GetSelectionControllerMatt A. Tobin2020-04-17-7/+14
| | | | Tag #1375
* Bug 1337698 - Use UniquePtr instead of nsAutoPtr in editorMatt A. Tobin2020-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. Tobin2020-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 nsRangeMatt A. Tobin2020-04-17-205/+330
| | | | Tag #1375
* Bug 1348851 - Use new block when better selection isn't found.Matt A. Tobin2020-04-17-11/+35
| | | | Tag #1375
* Bug 1363481 - Add the old attribute value as a parameter to ↵Matt A. Tobin2020-04-17-161/+352
| | | | | | Element::AfterSetAttr Tag #1375
* Bug 1361086 - Simplify UndisplayedMap::GetListFor/GetOrCreateListFor to take ↵Matt A. Tobin2020-04-17-11/+11
| | | | | | nsIContent* rather than nsIContent** Tag #1375
* Bug 1360157 - Assert that a display: contents child always has a parentMatt A. Tobin2020-04-17-0/+1
| | | | Tag #1375
* Bug 1355351 - Make pseudo-elements return the correct style via getComputedStyleMatt A. Tobin2020-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. Tobin2020-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 attributesMatt A. Tobin2020-04-17-12/+27
| | | | Tag #1375
* Bug 1296516 - Cleanup a bit of code in layout/baseMatt A. Tobin2020-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-elementsMatt A. Tobin2020-04-17-4/+115
| | | | Tag #1375
* Bug 1346623 - Allow anonymous content created with ↵Matt A. Tobin2020-04-16-4/+120
| | | | | | | | | 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-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/aftersetattrMatt A. Tobin2020-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
* Bug 1343879 - Be consistent about the parent style context the ↵Matt A. Tobin2020-04-16-9/+15
| | | | | | document-level anonymous content container should get: it should get no parent style context. Tag #1375
* Issue #1375 - Overload FromContent() to work with constMatt A. Tobin2020-04-16-0/+8
|
* Bug 1343937 - Fix a crash in nsWrapperCache.hMatt A. Tobin2020-04-16-4/+41
| | | | | | | * Implement and use GetInFlowParent * Exempt scrollbar NAC from the new NAC semantics Tag #1375
* Bug 1340885 - Null check frame's content when searching for NAC ancestors in ↵Matt A. Tobin2020-04-16-1/+2
| | | | | | GetCorrectedParent Tag #1375
* Bug 1340333 - Eagerly compute whether a frame is really a browser.Matt A. Tobin2020-04-16-22/+19
| | | | Tag #1375
* Bug 1331322 - Allow tagging of pseudo-implementing native anonymous content ↵Matt A. Tobin2020-04-16-128/+267
| | | | | | | | | | | 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 1336011 - Fix Crash in InvalidArrayIndex_CRASH in ↵Matt A. Tobin2020-04-15-71/+124
| | | | | | | | | | mozilla::EditorBase::DeleteSelectionImpl * EditorBase shouldn't refer mActionListeners directly in loops because it might be removed during a loop * Create an alias of the type of mEditorObservers * Create an alias of the type of mDocStateListeners Tag #1375
* Bug 1334358 - Remove nsCSSFrameConstructor::CreateAnonymousFramesMatt A. Tobin2020-04-14-90/+49
| | | | Tag #1375
* Bug 1334247 - Remove nsIAnonymousContentCreator::CreateFrameForMatt A. Tobin2020-04-14-60/+19
| | | | Tag #1375
* Issue #1375 - Fix unified sourcesMatt A. Tobin2020-04-14-4/+7
|
* Bug 1321284 - Crash in nsCSSFrameConstructor::GetInsertionPrevSibling when ↵Matt A. Tobin2020-04-14-35/+226
| | | | | | | | | | | | 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-258/+547
| | | | | | | | | | | | | | | | | | | * 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
* Issue #1516 - Part 1: Add a global build define to determine if the client ↵Matt A. Tobin2020-04-14-5/+19
| | | | can draw in the titlebar and update consumers of the local define
* Merge branch 'master' of https://github.com/MoonchildProductions/UXPwolfbeast2020-04-13-0/+36
|\
| * Create SECURITY.mdMoonchild2020-04-13-0/+36
| | | | | | Provide basic instructions how to report security vulnerabilities.
* | Issue #1514 - Perform validity check before trying to use the content.wolfbeast2020-04-13-1/+2
| | | | | | | | Resolves #1514
* | Issue #1513 - Bail on orphan nodewolfbeast2020-04-13-1/+5
|/ | | | | | This was refactored by Mozilla into doing effectively the same thing so it aligns with them re: behavior. Resolves #1513
* Issue #1512 - Improve handling of multiple selections.wolfbeast2020-04-12-3/+9
| | | | | | | | | IsSelectionEditable should check whether the focus node and anchor node aren't null before trying to use them. This also changes the initialization of selections' aOutIndex to the last range in the selection as a fallback in case we don't add a range later (in AddItem) which could also end up with a null selection otherwise if the additional selection nodes are removed.
* [layout] Always move descendants of layout frames if moved.wolfbeast2020-04-10-0/+2
| | | | | If we move the frame then we always need to move any descendant views, not just in case the frame itself has a view.
* Issue #1511 - Bail on orphan situation.wolfbeast2020-04-10-0/+4
| | | | This resolves #1511
* [js] Handle functions with rest parameters in isObservableArgumentSlot.Jan de Mooij2020-04-08-1/+1
|
* Move aom source to a sub-directory under media/libaomMatt A. Tobin2020-04-07-517/+517
| | | | There is no damned reason to treat this differently than any other media lib given its license and there never was.
* Silence removing dist/binMatt A. Tobin2020-04-07-1/+1
|
* Take files out of preprocessing that no longer require itMatt A. Tobin2020-04-07-23/+9
|
* Follow up to d0eee8f01 - Run precomplete cmd during package stagingMatt A. Tobin2020-04-07-1/+1
|
* Align mar generation on Windows with other platformsMatt A. Tobin2020-04-07-11/+1
| | | | This makes mar generation dependent on packaging not installer
* Alter config.guess to properly detect host and target bitness on SunOSMatt A. Tobin2020-04-07-5/+8
|
* [Docshell] Ensure nsDocShell::mContentViewer is released properly.wolfbeast2020-04-07-0/+6
|