Open Bug 1480168 Opened 2 years ago Updated 2 years ago

getBoxObjectFor WebIDL cleanups

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: bgrins, Unassigned)

References

Details

From https://phabricator.services.mozilla.com/D2570#inline-9599:

> It's a little silly to have the "Element?" here and null-check + throw in the
> impl. Maybe a followup to remove the "?" here and change the impl accordingly.
> Also, I don't think this can ever return null. Would be a good idea to change
> the return type to "BoxObject". OK to do that in a followup too.
Priority: -- → P3
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.