1. 27 Jan, 2011 1 commit
  2. 14 Jul, 2010 1 commit
    • eric@webkit.org's avatar
      2010-07-14 Eric Seidel <eric@webkit.org> · ce3e958c
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Add a test to document WebKit (and Minefield's) HTML5 spec violation related to text node coalescing
              https://bugs.webkit.org/show_bug.cgi?id=42294
      
              * html5lib/resources/adoption01.dat:
              * html5lib/runner-expected-html5.txt:
              * html5lib/runner-expected.txt:
      2010-07-14  Eric Seidel  <eric@webkit.org>
      
              Reviewed by Adam Barth.
      
              Make the LegacyHTMLTreeBuilder coalesce text nodes
              https://bugs.webkit.org/show_bug.cgi?id=42314
      
              This is slightly tricky as we're side-stepping the old
              parsers insertion logic in the cases where we know we can
              safely merge text into an existing text node instead of
              inserting a new one.
      
              This affects lots of tests (which will need to change for
              the HTML5 TreeBuilder anyway) and causes the LegacyHTMLTreeBuilder
              to now pass a bunch more subtests in html5lib/runner.html.
      
              The parser benchmark thinks that this is a small speedup.
              I think I happen to have been lucky enough to get the right
              cache alignment, and that this is likely a wash.
      
              * html/LegacyHTMLTreeBuilder.cpp:
              (WebCore::LegacyHTMLTreeBuilder::parseToken):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63403 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce3e958c
  3. 18 May, 2009 1 commit
    • ddkilzer@apple.com's avatar
      Bug 20652: WebKit doesn't display favicons with MIME type image/vnd.microsoft.icon · b5e263c7
      ddkilzer@apple.com authored
              <https://bugs.webkit.org/show_bug.cgi?id=20652>
      
              Reviewed by Darin Adler.
      
      WebCore:
      
              Test: http/tests/misc/favicon-as-image.html
      
              * inspector/front-end/inspector.js: Added
              image/vnd.microsoft.icon to WebInspector.MIMETypes.
              * platform/MIMETypeRegistry.cpp:
              (WebCore::initializeSupportedImageMIMETypes): Added
              image/vnd.microsoft.icon to list of supported image and image
              resource MIME types.
      
      LayoutTests:
      
              Updated existing favicon-as-image.html test to display a third
              image having MIME type image/vnd.microsoft.icon.
      
              * http/tests/misc/favicon-as-image.html: Updated.
              * http/tests/misc/resources/.htaccess: Added.
              * http/tests/misc/resources/favicon-vnd-ms.ico: Copied from LayoutTests/fast/images/resources/favicon.ico.
              * platform/mac/http/tests/misc/favicon-as-image-expected.checksum: Updated.
              * platform/mac/http/tests/misc/favicon-as-image-expected.png: Updated.
              * platform/mac/http/tests/misc/favicon-as-image-expected.txt: Updated.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b5e263c7
  4. 11 May, 2009 1 commit
    • beidson@apple.com's avatar
      2009-05-11 Brady Eidson <beidson@apple.com> · ab54c760
      beidson@apple.com authored
              Reviewed by David Kilzer.
      
              <rdar://problem/6876226> - Cleanup the fast/images/favicon situation a bit.
      
              First off, copy fast/images/favicon-as-image.html over to http/tests/misc so it covers the original test case on all Mac platforms.
              Second, add Leopard-specific results for the original test.
              Then, remove it from the Leopard skipped list.
              Finally, add it to the SnowLeopard skipped list (<rdar://problem/6877633> covers re-enabling it when we're no longer blocked).
      
              * http/tests/misc/favicon-as-image.html: Copied from fast/images/favicon-as-image.html.
              * http/tests/misc/resources/favicon.ico: Copied from fast/images/resources/favicon.ico.
      
              * platform/mac/http/tests/misc/favicon-as-image-expected.checksum: Added.
              * platform/mac/http/tests/misc/favicon-as-image-expected.png: Added.
              * platform/mac/http/tests/misc/favicon-as-image-expected.txt: Added.
      
              * platform/mac-leopard/fast/images: Added.
              * platform/mac-leopard/fast/images/favicon-as-image-expected.checksum: Copied from platform/mac/fast/images/favicon-as-image-expected.checksum.
              * platform/mac-leopard/fast/images/favicon-as-image-expected.png: Copied from platform/mac/fast/images/favicon-as-image-expected.png.
              * platform/mac-leopard/fast/images/favicon-as-image-expected.txt: Copied from platform/mac/fast/images/favicon-as-image-expected.txt.
      
              * platform/mac-leopard/Skipped:
              * platform/mac-snowleopard/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab54c760
  5. 29 Oct, 2007 1 commit
    • ddkilzer's avatar
      WebCore: · 8ec1ee84
      ddkilzer authored
              REGRESSION (r17701): Favicons should be viewable as image documents
              <http://bugs.webkit.org/show_bug.cgi?id=15640>
      
              Reviewed by Darin.
      
              On Tiger and Leopard, the image/x-icon MIME type is not returned from
              CGImageSourceCopyTypeIdentifiers(), so opening a URL to a favicon caused
              the icon to be downloaded instead being displayed in an image document.
      
              Test: fast/images/favicon-as-image.html
      
              * platform/MIMETypeRegistry.cpp:
              (WebCore::initialiseSupportedImageMIMETypes): Manually add image/x-icon to
              supportedImageMIMETypes and supportedImageResourceMIMETypes.  Also fixed
              comment about the image/bmp MIME type since it applies to both Tiger and
              Leopard.
      
      LayoutTests:
      
              Test for:  REGRESSION (r17701): Favicons should be viewable as image documents
              <http://bugs.webkit.org/show_bug.cgi?id=15640>
      
              Reviewed by Darin.
      
              * fast/images/favicon-as-image.html: Added.
              * fast/images/resources/favicon.ico: Added.
              * platform/mac/fast/images/favicon-as-image-expected.checksum: Added.
              * platform/mac/fast/images/favicon-as-image-expected.png: Added.
              * platform/mac/fast/images/favicon-as-image-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27223 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ec1ee84