Reviewed by Mitz.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Oct 2006 16:41:03 +0000 (16:41 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Oct 2006 16:41:03 +0000 (16:41 +0000)
commit9a9bb15bcc0c018e6a4508455005c8baca1a4edb
tree0415e0f07198a7998a349ae65bc5b8d1de80591d
parent76e856a0854c44a2f2a32555977b7cae07cb193c
    Reviewed by Mitz.

        http://bugs.webkit.org/show_bug.cgi?id=11141
        REGRESSION(r16681-r16691): CSS '@import' doesn't respect HTML Base element

        Undo one misguided change made in bug 11011 - stop setting inline stylesheet's href
        to document URL. This matches WinIE and partially matches Firefox - although the latter
        reports the href as if it were inherited, it still doesn't use it when resolving URIs in
        @import rules.

        Test: http/tests/uri/css-href.php

        * html/HTMLStyleElement.cpp:
        (WebCore::HTMLStyleElement::childrenChanged):
        * ksvg2/svg/SVGStyleElement.cpp:
        (WebCore::SVGStyleElement::childrenChanged):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
13 files changed:
LayoutTests/ChangeLog
LayoutTests/http/tests/uri/css-href-2.css [new file with mode: 0644]
LayoutTests/http/tests/uri/css-href-expected.checksum [new file with mode: 0644]
LayoutTests/http/tests/uri/css-href-expected.png [new file with mode: 0644]
LayoutTests/http/tests/uri/css-href-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/uri/css-href-fwd.css [new file with mode: 0644]
LayoutTests/http/tests/uri/css-href.css [new file with mode: 0644]
LayoutTests/http/tests/uri/css-href.php [new file with mode: 0644]
LayoutTests/http/tests/uri/resources/css-href-2.css [new file with mode: 0644]
LayoutTests/http/tests/uri/resources/css-href.css [new file with mode: 0644]
WebCore/ChangeLog
WebCore/html/HTMLStyleElement.cpp
WebCore/ksvg2/svg/SVGStyleElement.cpp