Skip to content

Commit

Permalink
use xhtml syntax for content attributes (basic xml/xhtml support) fix…
Browse files Browse the repository at this point in the history
…es issue #124
  • Loading branch information
aFarkas committed Jul 11, 2012
1 parent 8e036cb commit f37dc38
Show file tree
Hide file tree
Showing 33 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion demos/js-webshim/dev/polyfiller.js
Expand Up @@ -927,7 +927,7 @@
if(modernizrInputAttrs && modernizrInputTypes){
var formvalidation = 'formvalidation';
var formOptions;
var select = $('<select required name="a"><option disabled /></select>')[0];
var select = $('<select required="" name="a"><option disabled="" /></select>')[0];
addTest(formvalidation, function(){
return !!(modernizrInputAttrs.required && modernizrInputAttrs.pattern);
});
Expand Down
2 changes: 1 addition & 1 deletion demos/js-webshim/dev/shims/combos/16.js
Expand Up @@ -1253,7 +1253,7 @@ jQuery.webshims.register('mediaelement-core', function($, webshims, window, docu
var Modernizr = window.Modernizr;
var webshims = $.webshims;
var bugs = webshims.bugs;
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required /><input type="date" required name="a" /><input type="submit" /></form>');
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required="" /><input type="date" required="" name="a" /><input type="submit" /></form>');
var testRequiredFind = function(){
if(form[0].querySelector){
try {
Expand Down
2 changes: 1 addition & 1 deletion demos/js-webshim/dev/shims/combos/17.js
Expand Up @@ -1253,7 +1253,7 @@ jQuery.webshims.register('mediaelement-core', function($, webshims, window, docu
var Modernizr = window.Modernizr;
var webshims = $.webshims;
var bugs = webshims.bugs;
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required /><input type="date" required name="a" /><input type="submit" /></form>');
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required="" /><input type="date" required="" name="a" /><input type="submit" /></form>');
var testRequiredFind = function(){
if(form[0].querySelector){
try {
Expand Down
2 changes: 1 addition & 1 deletion demos/js-webshim/dev/shims/combos/19.js
Expand Up @@ -1506,7 +1506,7 @@ jQuery.webshims.register('form-datalist', function($, webshims, window, document
var Modernizr = window.Modernizr;
var webshims = $.webshims;
var bugs = webshims.bugs;
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required /><input type="date" required name="a" /><input type="submit" /></form>');
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required="" /><input type="date" required="" name="a" /><input type="submit" /></form>');
var testRequiredFind = function(){
if(form[0].querySelector){
try {
Expand Down
2 changes: 1 addition & 1 deletion demos/js-webshim/dev/shims/combos/2.js
Expand Up @@ -3,7 +3,7 @@
var Modernizr = window.Modernizr;
var webshims = $.webshims;
var bugs = webshims.bugs;
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required /><input type="date" required name="a" /><input type="submit" /></form>');
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required="" /><input type="date" required="" name="a" /><input type="submit" /></form>');
var testRequiredFind = function(){
if(form[0].querySelector){
try {
Expand Down
2 changes: 1 addition & 1 deletion demos/js-webshim/dev/shims/combos/24.js
Expand Up @@ -1506,7 +1506,7 @@ jQuery.webshims.register('form-datalist', function($, webshims, window, document
var Modernizr = window.Modernizr;
var webshims = $.webshims;
var bugs = webshims.bugs;
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required /><input type="date" required name="a" /><input type="submit" /></form>');
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required="" /><input type="date" required="" name="a" /><input type="submit" /></form>');
var testRequiredFind = function(){
if(form[0].querySelector){
try {
Expand Down
2 changes: 1 addition & 1 deletion demos/js-webshim/dev/shims/combos/3.js
Expand Up @@ -3,7 +3,7 @@
var Modernizr = window.Modernizr;
var webshims = $.webshims;
var bugs = webshims.bugs;
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required /><input type="date" required name="a" /><input type="submit" /></form>');
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required="" /><input type="date" required="" name="a" /><input type="submit" /></form>');
var testRequiredFind = function(){
if(form[0].querySelector){
try {
Expand Down
2 changes: 1 addition & 1 deletion demos/js-webshim/dev/shims/combos/4.js
Expand Up @@ -3,7 +3,7 @@
var Modernizr = window.Modernizr;
var webshims = $.webshims;
var bugs = webshims.bugs;
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required /><input type="date" required name="a" /><input type="submit" /></form>');
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required="" /><input type="date" required="" name="a" /><input type="submit" /></form>');
var testRequiredFind = function(){
if(form[0].querySelector){
try {
Expand Down
2 changes: 1 addition & 1 deletion demos/js-webshim/dev/shims/combos/5.js
Expand Up @@ -277,7 +277,7 @@ jQuery.webshims.register('form-extend', function($, webshims, window, doc, undef
var Modernizr = window.Modernizr;
var webshims = $.webshims;
var bugs = webshims.bugs;
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required /><input type="date" required name="a" /><input type="submit" /></form>');
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required="" /><input type="date" required="" name="a" /><input type="submit" /></form>');
var testRequiredFind = function(){
if(form[0].querySelector){
try {
Expand Down
2 changes: 1 addition & 1 deletion demos/js-webshim/dev/shims/combos/59.js
Expand Up @@ -277,7 +277,7 @@ jQuery.webshims.register('form-extend', function($, webshims, window, doc, undef
var Modernizr = window.Modernizr;
var webshims = $.webshims;
var bugs = webshims.bugs;
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required /><input type="date" required name="a" /><input type="submit" /></form>');
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required="" /><input type="date" required="" name="a" /><input type="submit" /></form>');
var testRequiredFind = function(){
if(form[0].querySelector){
try {
Expand Down
2 changes: 1 addition & 1 deletion demos/js-webshim/dev/shims/form-core.js
Expand Up @@ -3,7 +3,7 @@
var Modernizr = window.Modernizr;
var webshims = $.webshims;
var bugs = webshims.bugs;
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required /><input type="date" required name="a" /><input type="submit" /></form>');
var form = $('<form action="#" style="width: 1px; height: 1px; overflow: hidden;"><select name="b" required="" /><input type="date" required="" name="a" /><input type="submit" /></form>');
var testRequiredFind = function(){
if(form[0].querySelector){
try {
Expand Down
2 changes: 1 addition & 1 deletion demos/js-webshim/minified/polyfiller.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions demos/js-webshim/minified/shims/combos/16.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f37dc38

Please sign in to comment.