Bug 162244 - Add support for HTMLSourceElement.prototype.sizes / HTMLSourceElement.prototype.srcset
Summary: Add support for HTMLSourceElement.prototype.sizes / HTMLSourceElement.prototy...
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://html.spec.whatwg.org/#the-sou...
Keywords: WebExposed
Depends on:
Reported: 2016-09-19 16:24 PDT by Chris Dumez
Modified: 2016-09-19 21:24 PDT (History)
9 users (show)

See Also:

Patch (6.47 KB, patch)
2016-09-19 19:20 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2016-09-19 16:24:44 PDT
Add support for HTMLPrototype.prototype.sizes / HTMLPrototype.prototype.srcset:
- https://html.spec.whatwg.org/#the-source-element

We already support the corresponding content attributes internally. However, we are missing the corresponding IDL attributes that are supposed to reflect them.

Chrome and Firefox support them. We already have those IDL attributes on HTMLImageElement.
Comment 1 Chris Dumez 2016-09-19 19:20:08 PDT
Created attachment 289301 [details]
Comment 2 WebKit Commit Bot 2016-09-19 21:24:44 PDT
Comment on attachment 289301 [details]

Clearing flags on attachment: 289301

Committed r206140: <http://trac.webkit.org/changeset/206140>
Comment 3 WebKit Commit Bot 2016-09-19 21:24:49 PDT
All reviewed patches have been landed.  Closing bug.