summaryrefslogtreecommitdiff
path: root/dom
Commit message (Collapse)AuthorAge
* Issue #1361 - Follow-up: Merge dom.getRootNode.enabled pref into ↵Job Bautista2023-04-07
| | | | dom.webcomponents.enabled.
* Issue #2161 - Ctrl + Enter should cause keypress event even though theMoonchild2023-03-23
| | | | | | | | | | | | | | | | | | | | key combination doesn't input any character Currently, we dispatch keypress event when Enter is pressed without modifiers or only with the Shift key (line break). However, other browsers dispatch keypress events for Ctrl + Enter also even if it doesn't cause any text input. So, we should fire keypress events for Ctrl + Enter, even in strict keypress dispatching mode. Note that with other modifiers, it depends on the browser and/or platform and we can't dispatch the event for consistent behavior. This means web developers shouldn't rely one keypress events to catch Alt + Enter, Meta + Enter and two or more modifiers + Enter. Based on BZ 1438133 Resolves #2161
* Issue #1592 - Follow-up: Don't post a restyle event if restyleElement is nullFranklinDM2023-03-23
| | | | This fixes a potential crash caused if restyleElement is null.
* Issue #1592 - Part 10: Slot elements should restyle their parent on ↵FranklinDM2023-03-23
| | | | attribute changes
* Issue #1592 - Part 9: Post a restyle event after changing the slot of a ↵FranklinDM2023-03-23
| | | | slottable
* Issue #1592 - Part 8: Test the assigned slot for type/class/ID/attribute ↵FranklinDM2023-03-23
| | | | instead of the slottable when matching ::slotted()
* Issue #1592 - Part 4: Walk ::slotted()-containing rules for slottablesFranklinDM2023-03-23
| | | | | | | - Check against all selector parts and not the leftmost selector only for ::slotted() - Walk rules for ::slotted() regardless if the shadow root is opened/closed - Ensure that ::slotted() rules are walked in the right order - Fix ::slotted inheritance from topmost shadow root
* Issue #2171 - Skip over shadow nodes that don't have an owning node.Moonchild2023-03-23
| | | | Resolves #2171
* Issue #2135 - Destroy the host frame and restyle when there are content changesFranklinDM2023-03-11
| | | | This is likely inefficient, but I haven't found a way other than this to ensure that the host frame is updated if the inserted/removed content isn't slotted. I'm assuming that Firefox is handling this somewhere else (and may have been even moved to Stylo), but was mentioned in an m-c bug we haven't seen yet. In fact, this is actually similar to how we handled elements passed to ContentInserted before landing e31ed5b07466d4a579fe4b025f97c971003fbc3f.
* Issue #2135 - Follow-up: Ensure document is not null in ↵FranklinDM2023-03-08
| | | | nsImageLoadingContent::BindToTree
* Issue #2146 - Remove nsChannelClassifier/nsIURIClassifierMoonchild2023-03-08
| | | | Resolves #2146
* Issue #2133 - Part 3: Remove TrackingProtection plumbingMoonchild2023-03-07
|
* Merge pull request 'Incremental WebComponents merge' (#2139) from ↵Moonchild2023-03-05
|\ | | | | | | | | | | FranklinDM/UXP-contrib:work_wc-incremental-1 into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2139
| * Issue #2135 - Follow-up: Fix potential crash if shadow root is nullFranklinDM2023-03-05
| |
| * Issue #2135 - Follow-up: Fix typoFranklinDM2023-03-04
| |
| * Issue #2135 - Follow-up: Fix crash for passing nullptr as an argument to the ↵FranklinDM2023-03-04
| | | | | | | | aNodesWithProperties parameter
| * Issue #2135 - Bug 1433669/Part 2: Flush the document instead of the shell in ↵FranklinDM2023-03-04
| | | | | | | | | | | | ContentEventHandler * Unlike the original patch, I went with just getting a reference to the document rather than replacing mPresShell with mDocument.
| * Issue #2135 - Bug 1433669/Part 1: Remove dead functionFranklinDM2023-03-04
| |
| * Issue #2135 - Bug 1419803: Use GetComposedDoc instead of GetUncomposedDoc in ↵FranklinDM2023-03-04
| | | | | | | | ContentEventHandler
| * Issue #2135 - Bug 1425864: Ensure printing documents which have shadow DOM worksFranklinDM2023-03-04
| |
| * Issue #2135 - Bug 1393806/Part 3: Change dom::ReparentWrapper to take an ↵FranklinDM2023-03-04
| | | | | | | | | | | | | | ErrorResult * Bug 1393806 (Part 4) landed as part of Issue #1118. * Account for ReparentWrappersInSubtree, introduced in 1466991
| * Issue #2135 - Bug 1393806/Part 2: Modify AdoptNodeIntoOwnerDoc to use the ↵FranklinDM2023-03-04
| | | | | | | | | | | | non-XPCOM version of document.AdoptNode * Unlike the original patch, this does not remove the XPCOM version of Document.adoptNode/importNode to avoid breaking other applications that might be using those functions.
| * Issue #2135 - Bug 1393806/Part 1: Change nsNodeUtils cloning/adopting stuff ↵FranklinDM2023-03-04
| | | | | | | | | | | | to use an ErrorResult for errors This will allow us to propagate out more informative errors in some cases.
| * Issue #2135 - Bug 1414692: Adopt shadow roots when adopting a shadow host ↵FranklinDM2023-03-04
| | | | | | | | across documents
| * Issue #2135 - Bug 1518795: Properly track responsive content in a connected ↵FranklinDM2023-03-04
| | | | | | | | ShadowRoot
| * Issue #2135 - Implement sequential focus navigation for shadow DOMFranklinDM2023-03-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This covers the following: Bug 1413834 Implement sequential focus navigation regarding shadow DOM > Bug 1430020 Let sequential focus navigation in shadow DOM enter iframes > Bug 1430701 Handle focus navigation on frameless shadow hosts in light DOM > Bug 1430692 Handle focus navigation on NAC in shadow DOM > Bug 1453693 Ensure sequential focus navigation works in Shadow DOM and add some tests > Bug 1466581 Handle sequential focus also in nested shadow DOM > Bug 1481079 Shadow DOM hosts should be focusable > Bug 1507101 Use StyleChildrenIterator instead of custom frame tree walking code to handle NAC inside shadow dom > Bug 1512043 Ensure traverse all nodes owned by the top level shadow host > Bug 1512457 Fix various cases that focus navigation doesn't work well with frameless shadow host > Bug 1513141 Really minor nsFocusManager cleanup > Bug 1519090 Keyboard focus is trapped inside <slot> > Bug 1528034 Make IsHostOrSlot null-safe > Bug 1544826 Wrong focus navigation behavior when the root element is a shadow root >> Bug 1500273 Ensure backward focus navigation works in Shadow DOM
| * Issue #2135 - Bug 1455891/Part 1: Improve StyleChildrenIteratorFranklinDM2023-03-04
| |
| * Issue #2135 - Bug 1410578: Make <link rel="stylesheet"> work in shadow treesFranklinDM2023-03-04
| |
| * Issue #2135 - Bug 1453789: Remove Element.createShadowRootFranklinDM2023-03-04
| |
| * Issue #2135 - Bug 1066965: Make contentEditable and spellchecking to work in ↵FranklinDM2023-03-04
| | | | | | | | Shadow DOM
| * Issue #2135 - Bug 1430301: Implement ↵FranklinDM2023-03-04
| | | | | | | | ShadowRoot.elementFromPoint/elementsFromPoint
| * Issue #2135 - Bug 1438129: Remove ShadowRoot.applyAuthorStyles.FranklinDM2023-03-04
| |
| * Issue #2135 - Bug 1323815: FocusEvent.relatedTarget should work consistently ↵FranklinDM2023-03-04
| | | | | | | | | | | | with MouseEvent.relatedTarget * This incorporates changes from Bug 1413102.
| * Issue #2135 - Bug 1413102 (Follow-up): Ignore current target because of ↵FranklinDM2023-03-04
| | | | | | | | | | | | shadow DOM retargeting Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1466581
| * Issue #2135 - Bug 1413102: Ensure Shadow DOM boundaries are dealt properly ↵FranklinDM2023-03-04
| | | | | | | | | | | | | | in event handling * RE: BasicEvents.h - our WidgetEvent is not movable (yet), so the change that requires that wasn't included. * Parts of this use code that was introduced in bug 1427511. For now, they were replaced with their equivalents.
| * Issue #2135 - Bug 1430305: Implement ShadowRoot.fullscreenElementFranklinDM2023-03-04
| |
| * Issue #2135 - Bug 1430303: Implement ShadowRoot.pointerLockElementFranklinDM2023-03-04
| |
* | Issue #1693 - Use scoped enums for IDBTransaction.Job Bautista2023-03-04
|/ | | | | | | | Based on a patch from Mozilla bug 1598164. Needed due to identifier collision between NSS and IDBTransaction. Co-authored by: Simon Giesecke <simon.giesecke@gmail.com> Co-authored by: Matt A. Tobin <email@mattatobin.com>
* Issue #1375 - Part 2: customElements.define must upgrade custom element in ↵FranklinDM2023-02-28
| | | | | | shadow-including tree order Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1326028
* Issue #2101 - Part 6: Plumbing of ColorRange between video decoders and YUV ↵u3shit2023-02-26
| | | | convert
* Issue #2101 - Part 5: Add ColorRange support to video decodersu3shit2023-02-26
|
* Issue #2101 - Part 2: Use stdint.h types instead of uint8 and friendsu3shit2023-02-26
| | | | Required for upcoming libyuv update
* Issue #2101 - Part 1: Add mColorRange info to YCbCrBufferu3shit2023-02-26
| | | | https://hg.mozilla.org/integration/autoland/rev/6f4c7904cda8
* Issue #2118 - Part 2: Add support for Identity YUVColorSpaceu3shit2023-02-26
| | | | https://hg.mozilla.org/mozilla-central/rev/be342c90755d11551623362f2058c0326f63bbb3
* [DOM] WebCrypto: Check decoded key type before using it.Moonchild2023-02-21
| | | | | Just in case someone forces the wrong key type and misuses WebCrypto. It won't be usable anyway so better to throw.
* Issue #2078 - Part 3: Rename nsCSSRuleProcessor::SelectorListMatches to ↵FranklinDM2023-02-20
| | | | | | RestrictedSelectorListMatches This is in preparation for merging the logic of RestrictedSelectorListMatches and AnySelectorInArgListMatches.
* [DOM] Check whether module load request was already cancelled when a load failsMoonchild2023-02-19
|
* No issue - Accept also `video/vp8` as MIME type (bis)Moonchild2023-02-08
|
* No issue - Accept also `video/vp8` as MIME typeMoonchild2023-02-07
|
* Issue #2104 - Part 2: Indicate if a label was cropped via the "_is_cropped" ↵FranklinDM2023-02-03
| | | | attribute