Changeset 206140 in webkit
- Timestamp:
- Sep 19, 2016 9:22:31 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r206131 r206140 1 2016-09-19 Chris Dumez <cdumez@apple.com> 2 3 Add support for HTMLSourceElement.prototype.sizes / HTMLSourceElement.prototype.srcset 4 https://bugs.webkit.org/show_bug.cgi?id=162244 5 6 Reviewed by Alex Christensen. 7 8 Rebaseline now that more checks are passing. 9 10 * web-platform-tests/html/dom/interfaces-expected.txt: 11 1 12 2016-09-19 Chris Dumez <cdumez@apple.com> 2 13 -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt
r205743 r206140 1406 1406 PASS HTMLHRElement interface: existence and properties of interface prototype object's "constructor" property 1407 1407 PASS HTMLHRElement interface: attribute align 1408 FAIL HTMLHRElement interface: attribute color assert_true: The prototype object must have a property "color" expected true got false 1408 PASS HTMLHRElement interface: attribute color 1409 1409 PASS HTMLHRElement interface: attribute noShade 1410 1410 PASS HTMLHRElement interface: attribute size … … 1413 1413 PASS Stringification of document.createElement("hr") 1414 1414 PASS HTMLHRElement interface: document.createElement("hr") must inherit property "align" with the proper type (0) 1415 FAIL HTMLHRElement interface: document.createElement("hr") must inherit property "color" with the proper type (1) assert_inherits: property "color" not found in prototype chain 1415 PASS HTMLHRElement interface: document.createElement("hr") must inherit property "color" with the proper type (1) 1416 1416 PASS HTMLHRElement interface: document.createElement("hr") must inherit property "noShade" with the proper type (2) 1417 1417 PASS HTMLHRElement interface: document.createElement("hr") must inherit property "size" with the proper type (3) … … 1951 1951 PASS HTMLSourceElement interface: attribute src 1952 1952 PASS HTMLSourceElement interface: attribute type 1953 FAIL HTMLSourceElement interface: attribute srcset assert_true: The prototype object must have a property "srcset" expected true got false 1954 FAIL HTMLSourceElement interface: attribute sizes assert_true: The prototype object must have a property "sizes" expected true got false 1953 PASS HTMLSourceElement interface: attribute srcset 1954 PASS HTMLSourceElement interface: attribute sizes 1955 1955 PASS HTMLSourceElement interface: attribute media 1956 1956 PASS HTMLSourceElement must be primary interface of document.createElement("source") … … 1958 1958 PASS HTMLSourceElement interface: document.createElement("source") must inherit property "src" with the proper type (0) 1959 1959 PASS HTMLSourceElement interface: document.createElement("source") must inherit property "type" with the proper type (1) 1960 FAIL HTMLSourceElement interface: document.createElement("source") must inherit property "srcset" with the proper type (2) assert_inherits: property "srcset" not found in prototype chain 1961 FAIL HTMLSourceElement interface: document.createElement("source") must inherit property "sizes" with the proper type (3) assert_inherits: property "sizes" not found in prototype chain 1960 PASS HTMLSourceElement interface: document.createElement("source") must inherit property "srcset" with the proper type (2) 1961 PASS HTMLSourceElement interface: document.createElement("source") must inherit property "sizes" with the proper type (3) 1962 1962 PASS HTMLSourceElement interface: document.createElement("source") must inherit property "media" with the proper type (4) 1963 1963 PASS HTMLTrackElement interface: existence and properties of interface object -
trunk/Source/WebCore/ChangeLog
r206132 r206140 1 2016-09-19 Chris Dumez <cdumez@apple.com> 2 3 Add support for HTMLSourceElement.prototype.sizes / HTMLSourceElement.prototype.srcset 4 https://bugs.webkit.org/show_bug.cgi?id=162244 5 6 Reviewed by Alex Christensen. 7 8 Add support for HTMLPrototype.prototype.sizes / HTMLPrototype.prototype.srcset: 9 - https://html.spec.whatwg.org/#the-source-element 10 11 We already support the corresponding content attributes internally. However, we 12 are missing the corresponding IDL attributes that are supposed to reflect them. 13 14 Chrome and Firefox support them. We already had those IDL attributes on 15 HTMLImageElement. 16 17 No new tests, rebaselined existing test. 18 19 * html/HTMLSourceElement.idl: 20 1 21 2016-09-19 Anders Carlsson <andersca@apple.com> 2 22 -
trunk/Source/WebCore/html/HTMLSourceElement.idl
r204215 r206140 25 25 26 26 interface HTMLSourceElement : HTMLElement { 27 [Reflect, URL] attribute USVString src; 28 attribute DOMString type; 29 attribute DOMString media; 27 [Reflect, URL] attribute USVString src; 28 attribute DOMString type; 29 [Reflect] attribute USVString srcset; 30 [Reflect] attribute DOMString sizes; 31 attribute DOMString media; 30 32 };
Note: See TracChangeset
for help on using the changeset viewer.