Closed Bug 1596768 Opened 5 years ago Closed 5 years ago

Remove more GetBindingParent usage.

Categories

(Core :: CSS Parsing and Computation, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(12 files)

47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
No description provided.
Type: defect → task
Priority: -- → P3

This one is a bit subtle, but not too much.

Depends on D53193

Shadow DOM is handled above.

And do some minor drive-by cleanups. Unclear why we have both this and the
RangeUtils version.

Depends on D53194

Check Shadow DOM and NAC separately.

Depends on D53195

They want to check that the root is correct, do so explicitly.

Depends on D53197

Wants to check that the change happens in the same anon tree, use the right
function for that.

Depends on D53199

This one I'm not 100% sure about whether we want to keep special-casing shadow
DOM.

Seems we may want to, but on the other hand this looks like a hack (as it only
looks at the closest shadow host, not the whole chain, and it is green on try).

Depends on D53200

This code doesn't want to deal with Shadow DOM but with <input type=number> and
such native-anonymous inputs. So do that explicitly.

We only use it to escape out of NAC trees for ::selection pseudo-element.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bc106b1c9d29
Remove GetBindingParent usage in RangeUtils. r=smaug
Keywords: leave-open
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0ece9bc4cec2
Remove GetBindingParent usage in nsRange assertions. r=smaug
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/85ae973aca6e
Remove GetBindingParent usage in layout. r=smaug
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0b2de590fde9
Remove GetBindingParent usage in nsIContent::FindFirstNonChromeOnlyAccessContent. r=smaug
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dbc1778c0ebd
Keep Document::GetBindingParent doing the same without nsIContent::GetBindingParent(). r=smaug
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ce407536b1dc
Remove GetBindingParent usage in GetRootForContentSubtree. r=smaug
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c80cebff64aa
Remove GetBindingParent() usage in GetEventTargetParent. r=smaug
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/db1a18b908bf
Remove GetBindingParent usage in nsContentUtils::IsInSameAnonymousTree. r=smaug
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/afb9438378f0
Remove GetBindingParent usage in editor. r=smaug
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4cd52ac39a81
Remove GetBindingParentUsage in xpath. r=smaug
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9c323325a513
Remove GetBindingParent usage in EventStateManager. r=smaug
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/74841f58fb9f
Remove GetBindingParent() in HTMLFormControlAccessible. r=surkov
Keywords: leave-open
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: