Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.92 KB

README.md

File metadata and controls

43 lines (33 loc) · 1.92 KB

The Responsive Images WebCore fork!!!

This repository contains experiments in adding the <picture> element to WebKit's WebCore library.

It is based on Chromium's WebKit from 17/10/12.

Note: This is a work in progress. It does not (yet) represent a full implementation of the <picture> element specification. Please file any inconsistency with the specification as an issue.

Build instructions:

Binaries:

  • Ubuntu 64bit & OSX binaries can be found here

Test page:

Once you got your new binary, you can see <picture> in action [here] (http://demos.responsiveimages.org/)

What should be working:

  • <picture><source src></picture> should work. The first source should be fetched by the PreloadScanner and then displayed when the element is parsed.
  • <picture src></picture> prefetches and displays the resource. It overrides inner <source> tags if present.
  • The media attribute should be working as expected for both the PreloadScanner and the actual parser.

What shouldn't be working (yet):

  • The srcset attribute is not yet supported in either the PreloadScanner or the actual parser.
  • The type attribute is not yet supported in either the PreloadScanner or the actual parser.