PHP.GT

Latest releases

WebEngine: DOM bugfix

Published on by Greg Bowler

Fixes a bug where multiple option elements can be selected at once, because of a default on the page.

WebEngine: Webengine is named

Published on by Greg Bowler

Since PHP.Gt’s inception, the project has evolved a lot. Originally, PHP.Gt was the name of the product that did everything - but now we have taken a more modular approach and used “PHP.Gt” as the organisation that builds the components which make up the “web engine”.

The official name of this repository has been changed to the PHP.Gt Web Engine.

Dom: Coding style, tests & documentation

Published on by Greg Bowler

  • All files are updated to comply with the [PHP.Gt Styleguide][styleguide].
  • Tests are at 100% now but there is always room for improvement; existing tests hardened.
  • Documentation updates.

Dom: Small outstanding features implemented

Published on by Greg Bowler

Thanks to Álvaro Guimarães for most of the work in this release.

  • HTMLCollection is now Countable.
  • HTMLCollection implements ArrayAccess methods.
  • Element::closest method.
  • HTMLDocument can be constructed from existing native DOMDocument.
  • Upgraded dependencies.
  • Test coverage increased greatly.

Dom: PHPDocs on all classes

Published on by Greg Bowler

All DOM interfaces that are currently within the repo are marked up with their PHPDoc blocks.

Certain methods have been moved to their correct locations and tests adjusted accordingly.

Dom: Basic DOM implementation

Published on by Greg Bowler

The basics of the modern DOM implementation we have been using within browsers.

There are a few known gaps in functionality, and tests need to be hardened before a production release.