Implemention of HTMLMainElement
auto merge of #1091 : marcoscaceres/servo/master, r=jdm