WebCore:
authorantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Nov 2007 04:17:47 +0000 (04:17 +0000)
committerantti <antti@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Nov 2007 04:17:47 +0000 (04:17 +0000)
commit4a5945d00497a26eb5e2a6ea3a7e801825c5b0df
tree3828677712877b9b4baac78e2d7002ebdaff774e
parent49b86cde4bb89c85803ad7c2c4086c53b59b0fa9
WebCore:

        Reviewed by Adam.

        Add video width/height DOM and content attributes from latest HTML5 draft.

        Test: media/video-width-height.html

        * html/HTMLVideoElement.cpp:
        (WebCore::HTMLVideoElement::parseMappedAttribute):
        (WebCore::HTMLVideoElement::width):
        (WebCore::HTMLVideoElement::setWidth):
        (WebCore::HTMLVideoElement::height):
        (WebCore::HTMLVideoElement::setHeight):
        * html/HTMLVideoElement.h:
        * html/HTMLVideoElement.idl:

LayoutTests:

        Reviewed by Adam.

        Test for video width/height DOM and content attributes.

        * media/video-width-height-expected.txt: Added.
        * media/video-width-height.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27390 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/media/video-width-height-expected.txt [new file with mode: 0644]
LayoutTests/media/video-width-height.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/html/HTMLVideoElement.cpp
WebCore/html/HTMLVideoElement.h
WebCore/html/HTMLVideoElement.idl