~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/WebCore/html/HTMLTablePartElement.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24
24
 * Boston, MA 02110-1301, USA.
25
25
 */
 
26
 
26
27
#include "config.h"
27
28
#include "HTMLTablePartElement.h"
28
29
 
31
32
#include "CSSValueKeywords.h"
32
33
#include "Document.h"
33
34
#include "HTMLNames.h"
 
35
#include "MappedAttribute.h"
34
36
 
35
37
namespace WebCore {
36
38
 
64
66
    if (attr->name() == bgcolorAttr)
65
67
        addCSSColor(attr, CSSPropertyBackgroundColor, attr->value());
66
68
    else if (attr->name() == backgroundAttr) {
67
 
        String url = parseURL(attr->value());
 
69
        String url = deprecatedParseURL(attr->value());
68
70
        if (!url.isEmpty())
69
71
            addCSSImageProperty(attr, CSSPropertyBackgroundImage, document()->completeURL(url).string());
70
72
    } else if (attr->name() == bordercolorAttr) {