 Chromium Code Reviews
 Chromium Code Reviews Issue 
            199413008:
    Simplify MediaControls::show() and hide()  (Closed)
    
  
    Issue 
            199413008:
    Simplify MediaControls::show() and hide()  (Closed) 
  | DescriptionSimplify MediaControls::show() and hide()
By hiding the entire HTMLDivElement that is MediaControls, there's no
need to worry about the state of the child elements. As a possible
optimization, one could expose a bool hidden() and let HTMLMediaElement
not update controls when they are hidden, but that would be more code to
test for no obvious gain.
BUG=341813, 347105
TEST=LayoutTests/media/ pass; no observable change expected
   Patch Set 1 #
 Messages
    Total messages: 2 (0 generated)
     | |||||||||||||||||||||||||||||||||||||