diff --git a/src/compiler/parser/index.js b/src/compiler/parser/index.js index c4554dbbecc..1f578103162 100644 --- a/src/compiler/parser/index.js +++ b/src/compiler/parser/index.js @@ -559,8 +559,8 @@ function processAttrs (el) { // #6887 firefox doesn't update muted state if set via attribute // even immediately after element creation if (!el.component && - platformMustUseProp(el.tag, el.attrsMap.type, name) && - name === 'muted') { + name === 'muted' && + platformMustUseProp(el.tag, el.attrsMap.type, name)) { addProp(el, name, 'true') } }