Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for picture element support, per the proposed spec/impl. currently underway. #1302

Merged
merged 1 commit into from
Apr 15, 2014

Conversation

Wilto
Copy link
Contributor

@Wilto Wilto commented Apr 15, 2014

I understand if you guys want to hold off on merging this one until we see some real-world implementations, but wanted to sneak this over to you in advance—we made sure to add window.HTMLPictureElement to the spec for the sake of easy testing. Happy to own any feature testing issues that should pop up when this thing starts landing in stable browsers, as well.

"name": "Relevant spec issue",
"href": "https://github.com/ResponsiveImagesCG/picture-element/issues/87"
}],
"warnings": ["Not yet implemented"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can nix this. I don't want to have to update it when it /is/ live, and its more for warnings about the actual detect, rather than support thereof

@patrickkettner
Copy link
Member

lgtm, other than the one nit

@Wilto
Copy link
Contributor Author

Wilto commented Apr 15, 2014

Done and done.

@patrickkettner
Copy link
Member

squish that b down to a single commit, then we will make can make you a world famous modernizr dev

@Wilto
Copy link
Contributor Author

Wilto commented Apr 15, 2014

’Bout time I did something around here, really.

@patrickkettner
Copy link
Member

amen to that

patrickkettner added a commit that referenced this pull request Apr 15, 2014
Add test for `picture` element support, per the proposed spec/impl. currently underway.
@patrickkettner patrickkettner merged commit 5b20031 into Modernizr:master Apr 15, 2014
@stucox
Copy link
Member

stucox commented Apr 15, 2014

Excellent stuff!

}]
}
!*/
define(['Modernizr', 'createElement'], function( Modernizr ) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need this 'createElement' dep, AFAIK.

@paulirish
Copy link
Member

6edc017
@patrickkettner you're fast. :) Thx

@patrickkettner
Copy link
Member

shoulda caught it in the review, so I felt bad :]

@mathiasbynens
Copy link
Contributor

Another follow-up commit: f0666ff

@verlok
Copy link

verlok commented Apr 21, 2014

Hi, when will the picture test be available as a new checkbox in the Modernizr custom build?

@patrickkettner
Copy link
Member

Hey @verlok - after the v3 version goes live, which could be some time from now.

In the mean time, rather than Modernizr.picture you can use 'HTMLPictureElement' in window

patrickkettner added a commit to patrickkettner/Modernizr that referenced this pull request Feb 22, 2015
Add test for `picture` element support, per the proposed spec/impl. currently underway.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants