Skip to content

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

License

Unknown, LGPL-2.1 licenses found

Licenses found

Unknown
LICENSE-APPLE
LGPL-2.1
LICENSE-LGPL-2.1
Notifications You must be signed in to change notification settings

yoavweiss/RespImg-WebCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Unknown, LGPL-2.1 licenses found

Licenses found

Unknown
LICENSE-APPLE
LGPL-2.1
LICENSE-LGPL-2.1

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published