Bug 58204

Summary: REGRESSION(r83397): Most GTK media controls are hidden when no valid source is specified
Product: WebKit Reporter: Dimitri Glazkov (Google) <dglazkov>
Component: MediaAssignee: Dimitri Glazkov (Google) <dglazkov>
Status: RESOLVED FIXED    
Severity: Normal CC: alex, commit-queue, eric.carlson, mrobinson, pnormand
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 53020    
Attachments:
Description Flags
Patch none

Comment 1 Dimitri Glazkov (Google) 2011-04-10 14:59:49 PDT
Created attachment 88959 [details]
Patch
Comment 2 Eric Carlson 2011-04-10 15:19:31 PDT
I would r+ this, but I think it would be good to get buy-off from one of the GTK developers because it changes their <video> controller UI.
Comment 3 Philippe Normand 2011-04-11 05:28:24 PDT
Sorry I rebaselined the tests involved in this issue :(  See http://trac.webkit.org/changeset/83431

I tested that patch locally and reverted my rebaseline (locally too). It seems that anyway the tests would need a rebaseline:

 --- /tmp/layout-test-results/media/video-no-audio-expected.txt	2011-04-11 14:27:13.000000000 +0200
+++ /tmp/layout-test-results/media/video-no-audio-actual.txt	2011-04-11 14:27:13.000000000 +0200
@@ -15,14 +15,15 @@
 layer at (8,43) size 352x288 scrollHeight 298
   RenderFlexibleBox (positioned) {DIV} at (0,0) size 352x288
     RenderButton {INPUT} at (0,268) size 20x20
-    RenderFlexibleBox {DIV} at (20,268) size 272x20 [border: (1px solid #FFFFFF33) none (1px solid #FFFFFF33)]
+    RenderFlexibleBox {DIV} at (20,268) size 252x20 [border: (1px solid #FFFFFF33) none (1px solid #FFFFFF33)]
       RenderBlock (anonymous) at (1,0) size 65x30
         RenderFlexibleBox {DIV} at (0,0) size 65x30
           RenderBlock (anonymous) at (5,5) size 55x20
             RenderText {#text} at (0,0) size 55x12
               text run at (0,0) width 55: "00:00 / 00:09"
-      RenderSlider {INPUT} at (66,0) size 205x20
+      RenderSlider {INPUT} at (66,0) size 185x20
         RenderBlock {DIV} at (2,4) size 12x12
+    RenderButton {INPUT} at (272,268) size 20x20
     RenderButton {INPUT} at (292,268) size 20x20
     RenderButton {INPUT} at (312,268) size 20x20
     RenderButton {INPUT} at (332,268) size 20x20
Comment 4 Martin Robinson 2011-04-11 08:51:11 PDT
Comment on attachment 88959 [details]
Patch

Looks fine to me.
Comment 5 WebKit Commit Bot 2011-04-11 09:32:56 PDT
Comment on attachment 88959 [details]
Patch

Clearing flags on attachment: 88959

Committed r83445: <http://trac.webkit.org/changeset/83445>
Comment 6 WebKit Commit Bot 2011-04-11 09:33:02 PDT
All reviewed patches have been landed.  Closing bug.