Sergey Grebnov created CB-1660: ---------------------------------- Summary: Move <!DOCTYPE html> to the first line of test html Key: CB-1660 URL: https://issues.apache.org/jira/browse/CB-1660 Project: Apache Cordova Issue Type: Bug Components: mobile-spec Environment: Windows Phone 7 Reporter: Sergey Grebnov Assignee: Filip Maj
Windows Phone 7 related: <!DOCTYPE html> must be placed on first line of html files to have the pages processed correctly on Windows Phone 7/8. At present time it is placed after Copyrights comments so pages are rendered in Quirks mode and cordova script doesn't work. Solution. Swap copyrights and <!Doctype html> tag: <!DOCTYPE html> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file ... --> <html> -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira