Skip to content

Missing attribute type in the css <link> tags #540

@ValentinMATHIEU

Description

@ValentinMATHIEU
Q A
php-code-coverage version 4.0.4
PHP version 7.0 / 7.1
Driver Xdebug
Xdebug version (if used) 2.5.5
Installation Method Composer
Usage Method PHPUnit
PHPUnit version (if used) x.y.z

When i generate the HTML code coverage report, the css tags have missing attribute type.

<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">

This may cause display issue: no CSS, and some error messages about wrong mime types.
In my case Google Chrome cry about mime types and doesn't run CSS.

After adding type="text/css" no more errors. ref: w3schools

<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="css/style.css" rel="stylesheet" type="text/css">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions