servo: Merge #9381 - Implement HTMLDetailsElement. Fixes #9216 (from MonsieurLanza:htmldetails); r=KiChjang

Implement the interface HTMLDetailsElement ( // https://html.spec.whatwg.org/multipage/#htmldetailselement )

All tests pass in
tests/wpt/web-platform-tests/html/semantics/interactive-elements/the-details-element/details.html
&
tests/wpt/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent.html

Anyway, no change is made on layout and attribute open currently has no effect, it just fires a toggle event.

Source-Repo: https://github.com/servo/servo
Source-Revision: 5b2d2c0ed88e8b635f91c3421b472c804dd1afe4
This commit is contained in:
Lanza
2016-01-20 20:28:36 +05:00
parent 5ec543f6a7
commit 055c5d6700
7 changed files with 125 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ interface GlobalEventHandlers {
attribute EventHandler onchange;
attribute EventHandler onreset;
attribute EventHandler onsubmit;
attribute EventHandler ontoggle;
};
[NoInterfaceObject]