summaryrefslogtreecommitdiffstats
path: root/dom/html/HTMLImageElement.cpp
Commit message (Collapse)AuthorAgeLines
* Bug 1365092 - Move side effects of SetAttr and ParseAttribute to ↵Matt A. Tobin2020-04-17-67/+95
| | | | | | | | | | | 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 1363481 - Add the old attribute value as a parameter to ↵Matt A. Tobin2020-04-17-2/+3
| | | | | | Element::AfterSetAttr Tag #1375
* Bug 656197 - Push state updates further out across beforesetattr/aftersetattrMatt A. Tobin2020-04-16-1/+1
| | | | | | | | | | * 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 1305458 - Changing -moz-appearence on hover breaks change eventMatt A. Tobin2020-04-14-2/+2
| | | | | | | | | | | | | | | | | | | * 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
* Telemetry: Remove stubs and related codeadeshkp2019-01-12-2/+0
|
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+1354