[webapi] Update component for two cases

Update two cases component to "W3C_HTML5 APIs/DOM, Forms and Styles/CSS Backgrounds and Borders Module Level 3"
Merge pull request #1371 from chenxix/webapi/update-component

[webapi] Update component for two cases