WebCore:
[WebKit-https.git] / WebCore / ChangeLog
index 8a13a03d974c2e3aa30fab862692b63008780e96..7c27d30a2d750cde04cbbbfdfb416df09de1945f 100644 (file)
@@ -1,3 +1,21 @@
+2007-11-29  Antti Koivisto  <antti@apple.com>
+
+        Reviewed by Mitz.
+
+        Fix aspect ratio calculation of video.
+        
+        Video should always be treated as a replaced element in size calculation.
+        
+        Test: media/video-aspect-ratio.html
+
+        * rendering/RenderBox.cpp:
+        (WebCore::RenderBox::calcWidth):
+        (WebCore::RenderBox::calcHeight):
+        * rendering/RenderBox.h:
+        (WebCore::RenderBox::shouldCalculateSizeAsReplaced):
+        * rendering/RenderMedia.h:
+        (WebCore::RenderMedia::shouldCalculateSizeAsReplaced):
+
 2007-11-29  Sam Weinig  <sam@webkit.org>
 
         Reviewed by Oliver.