From fb72a50414502065b5aa9e66be1c0655536c9220 Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Wed, 14 Oct 2009 08:54:57 +0000 Subject: [PATCH] [gow] (2) Make changing src='' call load(). git-svn-id: http://svn.whatwg.org/webapps@4131 340c8d12-0b0e-0410-8428-c7bf67bfef74 --- complete.html | 16 ++++++++-------- index | 16 ++++++++-------- source | 17 ++++++++--------- 3 files changed, 24 insertions(+), 25 deletions(-) diff --git a/complete.html b/complete.html index cbaa328ad5f..78237435c6b 100644 --- a/complete.html +++ b/complete.html @@ -22066,11 +22066,8 @@
4.8.10.1 Error codes

If a src attribute of a - media element that is in a - Document and whose networkState has the value - NETWORK_EMPTY is set or - changed, the user agent must invoke the media element's - resource selection + media element is set or changed, the user agent must + invoke the media element's media element load algorithm. (Removing the src attribute does not do this, even if there are source elements present.)

@@ -22281,9 +22278,12 @@
4.8.10.5 Loading the

When the load() method on a media element is invoked, the user agent - must run the following steps. Note that this algorithm might get - aborted, e.g. if the load() - method itself is invoked again.

+ must run the media element load algorithm.

+ +

The media element load algorithm consists of the + following steps. Note that this algorithm might get aborted, e.g. if + the load() method itself is + invoked again.

  1. If the load() method for this element is already being invoked, then abort these diff --git a/index b/index index ff4f4ef71a7..3aa1edbf66d 100644 --- a/index +++ b/index @@ -21894,11 +21894,8 @@ interface CueRangeCallback {

    If a src attribute of a - media element that is in a - Document and whose networkState has the value - NETWORK_EMPTY is set or - changed, the user agent must invoke the media element's - resource selection + media element is set or changed, the user agent must + invoke the media element's media element load algorithm. (Removing the src attribute does not do this, even if there are source elements present.)

    @@ -22109,9 +22106,12 @@ interface CueRangeCallback {

    When the load() method on a media element is invoked, the user agent - must run the following steps. Note that this algorithm might get - aborted, e.g. if the load() - method itself is invoked again.

    + must run the media element load algorithm.

    + +

    The media element load algorithm consists of the + following steps. Note that this algorithm might get aborted, e.g. if + the load() method itself is + invoked again.

    1. If the load() method for this element is already being invoked, then abort these diff --git a/source b/source index 33a5a5871bd..ee5fc74dcac 100644 --- a/source +++ b/source @@ -23540,12 +23540,8 @@ interface CueRangeCallback {

      If a src attribute of a - media element that is in a - Document and whose networkState has the value - NETWORK_EMPTY is set or - changed, the user agent must invoke the media element's - resource selection + media element is set or changed, the user agent must + invoke the media element's media element load algorithm. (Removing the src attribute does not do this, even if there are source elements present.)

      @@ -23789,9 +23785,12 @@ interface CueRangeCallback {

      When the load() method on a media element is invoked, the user agent - must run the following steps. Note that this algorithm might get - aborted, e.g. if the load() - method itself is invoked again.

      + must run the media element load algorithm.

      + +

      The media element load algorithm consists of the + following steps. Note that this algorithm might get aborted, e.g. if + the load() method itself is + invoked again.