Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(791)

Unified Diff: Source/core/dom/Element.h

Issue 205683003: Update <video muted=""> handling to match spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update defaultMuted test Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/media/video-defaultmuted-expected.txt ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index f298a23c6f26069154a7448f773f8f77a03ff3f6..1333e0606d3df73e611308d17e38b5a74533d2e8 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -408,6 +408,11 @@ public:
virtual void didBecomeFullscreenElement() { }
virtual void willStopBeingFullscreenElement() { }
+ // Called by the parser when this element's attributes have all been added.
+ // This is needed for <audio>/<video>, where the muted content attribute
+ // should have an effect only if it is present when the element is created.
+ virtual void finishParsingAttributes() { }
+
// Called by the parser when this element's close tag is reached,
// signaling that all child tags have been parsed and added.
// This is needed for <applet> and <object> elements, which can't lay themselves out
« no previous file with comments | « LayoutTests/media/video-defaultmuted-expected.txt ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698