Expose getElementsById/getElementsByTagName

Authored by Tgr on Mar 16 2019, 1:40 AM.


Expose getElementsById/getElementsByTagName

PHP's implementation of these methods is messed up. Since Zest needs
to reimplement them, it might as well make them available.
Calling them through querySelector would require nontrivial CSS escaping
logic on the caller side, and an unnecessary escaping / unescaping round.

Change-Id: I9580e1b5e5ec6adf7dd9fcdb63b82d6eecd51036