Skip to content

Conversation

drichardson
Copy link
Contributor

Fix for video tag issues in #938.

Tested with this html file:

<!DOCTYPE html>
<html>
        <head>
                <meta charset="UTF-8">
                <title>Video Muted Attribute Test</title>
        </head>

        <body>
                <video autoplay loop muted playsinline>
                        <source src="video/Mine.mp4" type="video/mp4">
                </video>
        </body>
</html>

Testing Done

Before changes, the output was:

debian ~/code/tidy-html5 (next)$ build/cmake/tidy -quiet -errors test.html
line 9 column 17 - Warning: <video> proprietary attribute "muted"
line 9 column 17 - Warning: <video> proprietary attribute "playsinline"
debian ~/code/tidy-html5 (next)$ echo $?
1

After changes, the output was:

debian ~/code/tidy-html5 (add-muted)$ build/cmake/tidy -quiet -errors test.html
debian ~/code/tidy-html5 (add-muted)$ echo $?
0

@drichardson drichardson mentioned this pull request Jun 12, 2021
@balthisar balthisar closed this Jun 30, 2021
@balthisar
Copy link
Member

Closed and Reopening to force automated testing.

@balthisar balthisar reopened this Jun 30, 2021
@balthisar balthisar merged commit 6d9e98d into htacg:next Jun 30, 2021
@drichardson drichardson deleted the add-muted branch June 30, 2021 17:51
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.

2 participants