summaryrefslogtreecommitdiffstats
path: root/dom/html/nsGenericHTMLElement.cpp
Commit message (Collapse)AuthorAgeLines
* Bug 1373798 - Move HTML dir attribute state into event state flagsMatt A. Tobin2020-04-17-8/+29
| | | | | | | | | | * 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 1365092 - Move side effects of SetAttr and ParseAttribute to ↵Matt A. Tobin2020-04-17-88/+66
| | | | | | | | | | | 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-4/+6
| | | | | | Element::AfterSetAttr Tag #1375
* Bug 656197 - Push state updates further out across beforesetattr/aftersetattrMatt A. Tobin2020-04-16-14/+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-5/+16
| | | | | | | | | | | | | | | | | | | * 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
* Merge branch 'master' of https://github.com/MoonchildProductions/UXP into ↵athenian2002020-01-27-3/+3
|\ | | | | | | form-disabled-issue
| * Bug 1377993 - Make node slots less memory hungry in common cases.Gaming4JC2020-01-26-3/+3
| | | | | | | | Tag UXP Issue #1344
* | Issue #1356 - Remove -moz-user-input disabled to improve event handling.athenian2002020-01-16-15/+6
|/
* HTML - implement the labels attributejanekptacijarabaci2018-03-12-0/+40
|
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+3032