1. 06 Mar, 2008 1 commit
  2. 01 Feb, 2008 1 commit
    • mitz@apple.com's avatar
      Reviewed by Alexey Proskuryakov. · 85893a11
      mitz@apple.com authored
              - change fast/xsl/xslt-text to dump as text
      
              * fast/xsl/resources/xslt-text.xml: Copied from LayoutTests/fast/xsl/xslt-text.xml.
              * fast/xsl/resources/xslt-text.xsl: Copied from LayoutTests/fast/xsl/xslt-text.xsl.
              * fast/xsl/xslt-processor.html:
              * fast/xsl/xslt-text-expected.txt: Added.
              * fast/xsl/xslt-text.html: Added.
              * fast/xsl/xslt-text.xml: Removed.
              * fast/xsl/xslt-text.xsl: Removed.
              * platform/mac/fast/xsl/xslt-text-expected.checksum: Removed.
              * platform/mac/fast/xsl/xslt-text-expected.png: Removed.
              * platform/mac/fast/xsl/xslt-text-expected.txt: Removed.
              * platform/win/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85893a11
  3. 25 Nov, 2007 1 commit
  4. 23 Nov, 2007 1 commit
    • ap@webkit.org's avatar
      Reviewed by Maciej. · fbee6ca0
      ap@webkit.org authored
              http://bugs.webkit.org/show_bug.cgi?id=16077
              <rdar://problem/5609785> XSLT processor <xsl:sort> algorithm is incompatible with other
              browser implementations
      
              Test: fast/xsl/sort-unicode.xml
      
              * xml/XSLTProcessor.cpp:
              (WebCore::XSLTProcessor::transformToString): Set a custom sort function.
      
              * xml/XSLTUnicodeSort.cpp: Added.
              (init_xsltTransformError):
              (xsltTransformError):
              (WebCore::xsltUnicodeSortFunction):
              * xml/XSLTUnicodeSort.h: Added.
              ICU-based implementation of xsl:sort, using an example from libxslt distribution.
              Only minimal coding style fixes to ease synchronization with upstream in the future.
      
              * icu/unicode/ucol.h: Added.
              * icu/unicode/uset.h: Added.
              Taken from ICU 3.2
      
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              Added XSLTUnicodeSort.cpp.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27984 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fbee6ca0
  5. 31 Oct, 2007 1 commit
  6. 12 Oct, 2007 2 commits
    • oliver's avatar
      Reviewed by Eric Seidel. · c2e19e23
      oliver authored
              http://bugs.webkit.org/show_bug.cgi?id=15368
              xsl:import fails when preceded by comment
      
              Test: fast/xsl/import-after-comment.xml
      
              * xml/XSLStyleSheet.cpp:
              (WebCore::XSLStyleSheet::loadChildSheets): It's OK for xsl:import to be preceded by
              non-element nodes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c2e19e23
    • oliver's avatar
      WebCore: · 3411ea05
      oliver authored
              Reviewed by Oliver.
      
              - Use Vector<UChar> instead of DeprecatedString for innerHTML, for 35% speedup on CK DOM test
              http://bugs.webkit.org/show_bug.cgi?id=15339
      
              Rewrote both versions of createMarkup to build based on
              Vector<UChar> instead of String. Also other miscellaneous
              speedups (mainly content strings are now encoded in a way that
              doesn't take a function call per character, and switch is avoided).
      
              This also causes a functional change - we no longer escape '>' since this was unnecessary and it's faster
              to avoid testing for it. See updated test results.
      
              * editing/markup.cpp:
              (WebCore::appendString):
              (WebCore::appendAttributeValue):
              (WebCore::escapeContentText):
              (WebCore::appendEscapedContent):
              (WebCore::appendDeprecatedString):
              (WebCore::appendQuotedURLAttributeValue):
              (WebCore::stringValueForRange):
              (WebCore::ucharRange):
              (WebCore::appendUCharRange):
              (WebCore::appendNamespace):
              (WebCore::appendStartMarkup):
              (WebCore::getStartMarkup):
              (WebCore::appendEndMarkup):
              (WebCore::getEndMarkup):
              (WebCore::appendMarkup):
              (WebCore::joinMarkups):
              (WebCore::createMarkup):
              * editing/markup.h:
              * page/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge markupStringFromNode:nodes:]):
              (-[WebCoreFrameBridge markupStringFromRange:nodes:]):
      
      LayoutTests:
      
              Reviewed by Oliver.
      
              - test updates for "file:///Volumes/Data/mjs/Work/src/Safari/OpenSource/LayoutTests/fast/dom/serialize-attribute.xhtml"
              http://bugs.webkit.org/show_bug.cgi?id=15339
      
              We no longer entity-escape the '>' character in content or attribute values since this is unnecessary.
      
              * fast/dom/dom-parse-serialize-expected.txt:
              * fast/dom/serialize-attribute.xhtml:
              * fast/xsl/xslt-processor-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3411ea05
  7. 03 Oct, 2007 2 commits
  8. 07 Jul, 2007 1 commit
    • ap's avatar
      Reviewed by Maciej. · 7169d2aa
      ap authored
              http://bugs.webkit.org/show_bug.cgi?id=14525
              Support exslt:node-set()
      
              Test: fast/xsl/exslt-node-set.xml
      
              * xml/XSLTExtensions.cpp: Added.
              (WebCore::exsltNodeSetFunction): A copy of exslt:node-set() implementation
              from libexslt 1.1.11 (shipped with Tiger).
              (WebCore::registerXSLTExtensions): This function registers any WebCore-provided
              extensions on a context. Currently, the only extension is exslt:node-set().
              * xml/XSLTExtensions.h: Added.
      
              * xml/XSLTProcessor.cpp:
              (WebCore::XSLTProcessor::transformToString):
              Register extensions when creating a context.
      
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              Add XSLTExtensions.{h,cpp} to projects.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7169d2aa
  9. 23 May, 2007 1 commit
    • darin's avatar
      LayoutTests: · 258af4a1
      darin authored
              Reviewed by Hyatt.
      
              - updated the many tests with an extra newline or two at the end
                because of the bug where plain-text serialization will consider
                nodes that are not rendered
      
      WebCore:
      
              Reviewed by Hyatt.
      
              - fix problems where unrendered nodes were affecting on plain text serialization
      
              * editing/TextIterator.cpp:
              (WebCore::TextIterator::advance): Don't call handleXXX functions or exitNode for
              nodes without renderers.
              (WebCore::shouldEmitNewlineAfterNode): Only consider rendered nodes when deciding
              if this is the last node in the document.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21687 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      258af4a1
  10. 04 Mar, 2007 1 commit
  11. 01 Feb, 2007 1 commit
    • andersca's avatar
      LayoutTests: · ae911848
      andersca authored
              Reviewed by Darin.
      
              Update test results that have console messages.
              
              * dom/html/level2/html/HTMLFrameElement09-expected.txt:
              * dom/html/level2/html/HTMLIFrameElement11-expected.txt:
              * dom/xhtml/level2/html/HTMLBaseElement01-expected.txt:
              * dom/xhtml/level2/html/HTMLBaseElement02-expected.txt:
              * dom/xhtml/level2/html/frame-expected.txt:
              * dom/xhtml/level2/html/iframe-expected.txt:
              * editing/execCommand/4920488-expected.txt:
              * editing/selection/contenteditable-click-inside-expected.txt:
              * editing/selection/contenteditable-click-outside-expected.txt:
              * fast/AppleScript/001-expected.txt:
              * fast/dynamic/015-expected.txt:
              * fast/events/iframe-object-onload-expected.txt:
              * fast/events/updateLayoutForHitTest-expected.txt:
              * fast/forms/display-none-in-onchange-keyboard-expected.txt:
              * fast/forms/input-text-click-inside-expected.txt:
              * fast/forms/input-text-click-outside-expected.txt:
              * fast/forms/selected-index-assert-expected.txt:
              * fast/js/array-foreach-expected.txt:
              * fast/js/array-some-expected.txt:
              * fast/js/kde/exception_propagation-expected.txt:
              * fast/js/kde/garbage-n-expected.txt:
              * fast/js/kde/string-1-n-expected.txt:
              * fast/js/kde/string-2-n-expected.txt:
              * fast/parser/script-tag-with-trailing-slash-expected.txt:
              * fast/table/click-near-anonymous-table-expected.txt:
              * fast/tokenizer/002-expected.txt:
              * fast/tokenizer/external-script-document-write_2-expected.txt:
              * fast/tokenizer/script_extra_close-expected.txt:
              * fast/xsl/transform-xhr-doc-expected.txt:
              * http/tests/navigation/error404-goback-expected.txt:
              * http/tests/xmlhttprequest/set-dangerous-headers-expected.txt:
              * svg/W3C-SVG-1.1/animate-elem-30-t-expected.txt:
              * svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt:
              * svg/W3C-SVG-1.1/animate-elem-34-t-expected.txt:
              * svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt:
              * svg/W3C-SVG-1.1/animate-elem-41-t-expected.txt:
              * svg/W3C-SVG-1.1/animate-elem-78-t-expected.txt:
              * svg/W3C-SVG-1.1/color-prop-03-t-expected.txt:
              * svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt:
              * svg/W3C-SVG-1.1/linking-uri-01-b-expected.txt:
              * svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt:
              * svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt:
              * svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt:
              * svg/W3C-SVG-1.1/shapes-polygon-01-t-expected.txt:
              * svg/W3C-SVG-1.1/shapes-polyline-01-t-expected.txt:
              * svg/W3C-SVG-1.1/struct-group-03-t-expected.txt:
              * svg/W3C-SVG-1.1/struct-use-01-t-expected.txt:
              * svg/W3C-SVG-1.1/styling-css-01-b-expected.txt:
              * svg/W3C-SVG-1.1/styling-css-02-b-expected.txt:
              * svg/W3C-SVG-1.1/styling-css-03-b-expected.txt:
              * svg/custom/dynamic-empty-path-expected.txt:
              * svg/custom/js-update-container-expected.txt:
              * svg/custom/js-update-gradient-expected.txt:
              * svg/custom/js-update-polygon-changes-expected.txt:
              * svg/custom/js-update-polygon-removal-expected.txt:
              * svg/custom/path-bad-data-expected.txt:
              * svg/custom/polyline-hittest-expected.txt:
              * svg/custom/polyline-invalid-points-expected.txt:
              * svg/custom/polyline-setattribute-points-null-expected.txt:
              * svg/custom/svgpolyparser-extra-space-expected.txt:
              * svg/custom/use-modify-target-symbol-expected.txt:
              * svg/custom/viewbox-syntax-expected.txt:
              * tables/mozilla/bugs/bug53690-1-expected.txt:
              * tables/mozilla/bugs/bug9024-expected.txt:
              * tables/mozilla_expected_failures/bugs/bug3517-expected.txt:
              * tables/mozilla_expected_failures/bugs/bug92868_1-expected.txt:
              * tables/mozilla_expected_failures/core/captions1-expected.txt:
              * tables/mozilla_expected_failures/dom/appendCells1-expected.txt:
              * tables/mozilla_expected_failures/dom/appendCellsRebuild1-expected.txt:
              * tables/mozilla_expected_failures/dom/insertTbodyExpand1-expected.txt:
              * tables/mozilla_expected_failures/dom/insertTbodyRebuild1-expected.txt:
      
      WebKitTools:
      
              Reviewed by Darin.
      
              * DumpRenderTree/UIDelegate.m:
              (-[UIDelegate webView:addMessageToConsole:]):
              Dump console messages.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae911848
  12. 07 Jan, 2007 1 commit
    • ap's avatar
      Reviewed by Darin. · 177866c0
      ap authored
              http://bugs.webkit.org/show_bug.cgi?id=10313
              xsl:import doesn't work in stylesheets loaded via XMLHttpRequest
      
              This is a partial fix that makes a couple more steps towards fixing the problem.
      
              Test: fast/xsl/transform-xhr-doc.xhtml
      
              * xml/XSLTProcessor.cpp:
              (WebCore::xsltStylesheetPointer): Pass an URL for the stylesheet. I'm not sure why this constructor even needs it, 
              given that it has a Node, but this is a small modifications that makes XSLImportRule try to load from a correct URL.
              (WebCore::XSLTProcessor::transformToString): Fix the crash for real this time.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      177866c0
  13. 27 Nov, 2006 1 commit
    • ap's avatar
      Reviewed by Hyatt. · fef47988
      ap authored
              http://bugs.webkit.org/show_bug.cgi?id=11694
              XSLT output method does not default to HTML when the target document is HTML
      
              Test: fast/xsl/default-html.html
      
              * xml/XSLTProcessor.cpp:
              (WebCore::XSLTProcessor::transformToString): Make mimeType an input/output parameter, 
              serving as a hint when the stylesheet doesn't specify the output method.
              (WebCore::XSLTProcessor::transformToFragment): Set mimeType to text/html if the target
              document is HTML.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fef47988
  14. 20 Oct, 2006 1 commit
    • ggaren's avatar
      RS by Beth "pants on fire" Dakin. · 2ce9160c
      ggaren authored
              
              Put some layout tests in their place.
      
              * fast/dom/Window/window-object-cross-frame-calls-expected.txt: Added.
              * fast/dom/Window/window-object-cross-frame-calls.html: Added.
              * fast/dom/Window/window-onFocus-expected.checksum: Added.
              * fast/dom/Window/window-onFocus-expected.png: Added.
              * fast/dom/Window/window-onFocus-expected.txt: Added.
              * fast/dom/Window/window-onFocus.html: Added.
              * fast/dom/Window/window-xy-properties-expected.txt: Added.
              * fast/dom/Window/window-xy-properties.html: Added.
              * fast/dom/window-object-cross-frame-calls-expected.txt: Removed.
              * fast/dom/window-object-cross-frame-calls.html: Removed.
              * fast/dom/window-onFocus-expected.checksum: Removed.
              * fast/dom/window-onFocus-expected.png: Removed.
              * fast/dom/window-onFocus-expected.txt: Removed.
              * fast/dom/window-onFocus.html: Removed.
              * fast/dom/window-xy-properties-expected.txt: Removed.
              * fast/dom/window-xy-properties.html: Removed.
              * fast/html/xhtml-serialize-expected.txt: Added.
              * fast/html/xhtml-serialize.html: Added.
              * fast/js/resources/xhtml-serialize.js: Removed.
              * fast/js/resources/xslt-fragment-in-empty-doc.js: Removed.
              * fast/js/xhtml-serialize-expected.txt: Removed.
              * fast/js/xhtml-serialize.html: Removed.
              * fast/js/xslt-fragment-in-empty-doc-expected.txt: Removed.
              * fast/js/xslt-fragment-in-empty-doc.html: Removed.
              * fast/xsl/xslt-fragment-in-empty-doc-expected.txt: Added.
              * fast/xsl/xslt-fragment-in-empty-doc.html: Added.
              * fast/dom/resources/child.html: Removed.
              * fast/dom/Window/resources/child.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17183 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2ce9160c
  15. 21 Aug, 2006 1 commit
  16. 21 Jul, 2006 1 commit
    • andersca's avatar
      WebCore: · cae8bef5
      andersca authored
      2006-07-20  Anders Carlsson  <acarlsson@apple.com>
      
              Reviewed by Geoff.
      
              <rdar://problem/4637807> REGRESSION: "Features & Options" page at volvocars.us fails
      
              * xml/XSLTProcessor.cpp:
              (WebCore::xsltParamArrayFromParameterMap):
              Turns out parameters never worked. String parameters need to be escaped so we create a transform context,
              add the parameters to it quoted and then use xsltApplyStylesheetUser which lets us pass the transform context to it.
              This also works around a bug in libxslt where a hash table isn't allocated.
      
      LayoutTests:
      
      2006-07-20  Anders Carlsson  <acarlsson@apple.com>
      
              Reviewed by Geoff.
      
              <rdar://problem/4637807> REGRESSION: "Features & Options" page at volvocars.us fails
              
              * fast/xsl/xslt-processer-expected.txt:
              This passes now.
              
              * fast/xsl/xslt-string-parameters-expected.txt: Added.
              * fast/xsl/xslt-string-parameters.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cae8bef5
  17. 22 Jun, 2006 1 commit
    • andersca's avatar
      WebCore: · 06c0afdc
      andersca authored
      2006-06-22  Anders Carlsson  <acarlsson@apple.com>
      
              Reviewed by Maciej.
      
              <rdar://problem/4524840> Entities contained in DOCTYPE referenced DTD in XSLT source document are unknown
              
              * dom/xml_tokenizer.cpp:
              (WebCore::shouldAllowExternalLoad):
              Use correct path for the catalog.
              
              (WebCore::errorFunc):
              Add error function to keep parser errors from going to the console.
              
              (WebCore::XMLTokenizer::write):
              Remove if (0 &&)
              
              (WebCore::XMLTokenizer::end):
              Pass DocLoader to xmlDocPtrForString.
              
              (WebCore::xmlDocPtrForString):        
              * dom/xml_tokenizer.h:
              Add DocLoader argument to xmlDocPtrForString so external DTDs and entities can be loaded.
              
              * xml/XSLTProcessor.cpp:
              (WebCore::xmlDocPtrFromNode):
              Pass DocLoader to xmlDocPtrForString
              
      LayoutTests:
      
      2006-06-22  Anders Carlsson  <acarlsson@apple.com>
      
              Reviewed by Maciej.
      
              <rdar://problem/4524840> Entities contained in DOCTYPE referenced DTD in XSLT source document are unknown
      
              * fast/xsl/dtd-in-source-document-expected.txt: Added.
              * fast/xsl/dtd-in-source-document.xml: Added.
              * fast/xsl/resources/dtd-in-source-document.dtd: Added.
              * fast/xsl/resources/dtd-in-source-document.xsl: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14973 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06c0afdc
  18. 02 Jun, 2006 1 commit
    • ddkilzer's avatar
      LayoutTests: · 249f410d
      ddkilzer authored
              Reviewed by mjs.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9183
              Finish renaming of RenderCanvas to RenderView
      
              * editing/selection/7152-1-expected.checksum: Layout changed due to text change in HTML file.
              * editing/selection/7152-1-expected.png: Ditto.
              * editing/selection/7152-1-expected.txt: Ditto.
              * editing/selection/7152-1.html: Changed text in HTML content.
              * editing/selection/7152-2-expected.checksum: Layout changed due to text change in HTML file.
              * editing/selection/7152-2-expected.png: Ditto.
              * editing/selection/7152-2-expected.txt: Ditto.
              * editing/selection/7152-2.html: Changed text in HTML content.
              * *-expected.txt: Replaced "RenderCanvas" with "RenderView" in 3023 more files.
      
      WebCore:
      
              Reviewed by mjs.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=9183
              Finish renaming of RenderCanvas to RenderView
      
              * rendering/RenderView.h: Changed renderName from "RenderCanvas" to "RenderView".
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      249f410d
  19. 22 May, 2006 1 commit
    • lweintraub's avatar
      LayoutTests: · 568a86c1
      lweintraub authored
              Reviewed by eric.
              
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=8393
                <br>s created by createMarkup aren't valid xhtml
                Changes in case from innerHTML
      
              * editing/execCommand/createLink-expected.txt:
              * editing/execCommand/unlink-expected.txt:
              * editing/input/attributed-substring-from-range-lines-expected.txt:
              * fast/dom/Range/range-exceptions-expected.txt:
              * fast/dom/Range/resources/range-exceptions.js:
              * fast/innerHTML/005-expected.txt:
              * fast/innerHTML/innerHTML-custom-tag-expected.txt:
              * fast/innerHTML/innerHTML-cast.html: Added.
              * fast/innerHTML/innerHTML-cast-expected.txt: Added.
              * fast/xsl/xslt-processer-expected.txt:
      
      WebCore:
      
              Reviewed by Eric.
              
              - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=8393
                <br>s created by createMarkup aren't valid xhtml
                Fixed uppered output from innerHTML
      
              * editing/markup.cpp:
              (WebCore::startMarkup):
              (WebCore::endMarkup):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14516 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      568a86c1
  20. 14 Apr, 2006 1 commit
  21. 13 Mar, 2006 1 commit
    • eseidel's avatar
      2006-03-13 Eric Seidel <eseidel@apple.com> · fe62268a
      eseidel authored
              Reviewed by ggaren & TimH.
      
              <rdar://problem/4473288> XSL file containing <xsl:include href="../Styles/EscapeString.xsl" /> fails to load file
              XML_DTD_NODE objects in the tree were causing loadChildSheets to 
              fail to preload child stylesheets, this patch causes us to 
              correctly ignore all nodes besides the first XML_ELEMENT_NODE at 
              the root level when searching the tree for xsl:include statements 
              to pre-load.
      
              Test: fast/xsl/xslt-second-level-import.xml
      
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              (WebCore::XSLStyleSheetImpl::loadChildSheets):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fe62268a
  22. 15 Feb, 2006 1 commit
  23. 14 Feb, 2006 1 commit
    • eseidel's avatar
      2006-02-14 Eric Seidel <eseidel@apple.com> · 9ff77cb3
      eseidel authored
              Reviewed by darin.
      
              Add incremental parsing support to XMLTokenizer.
              This patch also does a few other little things:
              - removes (unused) onHold support from Tokenizer
              - adds serialization of DOCTYPEs for xml documents
              - fixes xslt support to no longer depend on synchronous parsing
              - fixes css styling for pages where xsl recursion is blocked
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6057
      
              * dom/DocumentImpl.cpp:
              (WebCore::DocumentImpl::DocumentImpl):
              (WebCore::DocumentImpl::createProcessingInstruction):
              (WebCore::DocumentImpl::open):
              (WebCore::DocumentImpl::recalcStyleSelector):
              * dom/dom_xmlimpl.cpp:
              (WebCore::ProcessingInstructionImpl::checkStyleSheet):
              * dom/xml_tokenizer.cpp:
              (WebCore::XMLTokenizer::XMLTokenizer):
              (WebCore::XMLTokenizer::write):
              (WebCore::XMLTokenizer::startElementNs):
              (WebCore::XMLTokenizer::error):
              (WebCore::XMLTokenizer::initializeParserContext):
              (WebCore::XMLTokenizer::finish):
              (WebCore::xmlDocPtrForString):
              (WebCore::parseAttributes):
              * dom/xml_tokenizer.h:
              * khtml/editing/markup.cpp:
              (khtml::startMarkup): DOCTYPE serialization
              * khtml/html/htmltokenizer.cpp:
              (WebCore::HTMLTokenizer::HTMLTokenizer): removed onHold
              (WebCore::HTMLTokenizer::reset): removed onHold
              (WebCore::HTMLTokenizer::begin): removed onHold
              (WebCore::HTMLTokenizer::write): removed onHold
              (WebCore::HTMLTokenizer::finish): removed onHold
              * khtml/html/htmltokenizer.h: removed onHold support
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              (WebCore::XSLStyleSheetImpl::XSLStyleSheetImpl):
              (WebCore::XSLStyleSheetImpl::~XSLStyleSheetImpl):
              (WebCore::XSLStyleSheetImpl::document):
              (WebCore::XSLStyleSheetImpl::setDocument):
              (WebCore::XSLStyleSheetImpl::parseString):
              (WebCore::XSLStyleSheetImpl::loadChildSheets):
              (WebCore::XSLStyleSheetImpl::compileStyleSheet):
              (WebCore::XSLStyleSheetImpl::locateStylesheetSubResource):
              * khtml/xsl/xsl_stylesheetimpl.h: moved functions to .cpp file
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ff77cb3
  24. 13 Feb, 2006 1 commit
  25. 08 Jan, 2006 1 commit
  26. 04 Jan, 2006 1 commit
  27. 02 Jan, 2006 1 commit
  28. 30 Dec, 2005 1 commit
  29. 23 Dec, 2005 1 commit
  30. 21 Dec, 2005 1 commit
    • eseidel's avatar
      Bug #: none · 590ed0d4
      eseidel authored
      Submitted by: eseidel
      Reviewed by: mjs
              Beef up our XSLT processor tests to include a test which passes
              a parameter into the transform.  I also took this opportunity
              to clean up the output a bit, and in the process found another
              bug and file: http://bugzilla.opendarwin.org/show_bug.cgi?id=6180
      
              * fast/xsl/resources/xslt-param.xml: Added.
              * fast/xsl/resources/xslt-param.xsl: Added.
              * fast/xsl/xslt-processer-expected.txt:
              * fast/xsl/xslt-processer.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      590ed0d4
  31. 18 Dec, 2005 1 commit
    • darin's avatar
      LayoutTests: · 4169ba11
      darin authored
              Reviewed and landed by Darin.
      
              - XSLT document encoding tests
      
              * fast/xsl/xslt-doc-enc-expected.txt: Added.
              * fast/xsl/xslt-doc-enc.xml: Added.
              * fast/xsl/xslt-doc-enc.xsl: Added.
              * fast/xsl/xslt-doc-noenc-expected.txt: Added.
              * fast/xsl/xslt-doc-noenc.xml: Added.
              * fast/xsl/xslt-doc-noenc.xsl: Added.
      
      WebCore:
      
              Reviewed and landed by Darin.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5927
                Result of XSLT transformation has no charset defined
      
              * khtml/xml/dom_docimpl.cpp: (DocumentImpl::applyXSLTransform):
              Get encoding from transform and pass in to XSLTProcessor.
      
              * khtml/xsl/xslt_processorimpl.h:
              * khtml/xsl/xslt_processorimpl.cpp:
              (DOM::XSLTProcessorImpl::createDocumentFromSource): Added encoding parameter.
              Create a Decoder and use it to decode the source document (default encoding UTF-8).
              (DOM::XSLTProcessorImpl::transformToString): Add an encoding result. Set it to the
              encoding from the libxml2 document object.
              (DOM::XSLTProcessorImpl::transformToDocument): Get encoding from transform and pass
              in to XSLTProcessor.
              (DOM::XSLTProcessorImpl::transformToFragment): Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4169ba11
  32. 12 Dec, 2005 1 commit
  33. 11 Dec, 2005 2 commits
    • eseidel's avatar
      Bug #: 5875 · 9ce07420
      eseidel authored
      Submitted by: eseidel
      Reviewed by: darin & mjs
              Adding resources overlooked in previous commit.
      
              * fast/xsl/resources/xslt-extra-content-at-end.xsl: Added.
              * fast/xsl/resources/xslt-mismatched-tags-in-xslt.xsl: Added.
              * fast/xsl/resources/xslt-missing-namespace-in-xslt.xsl: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ce07420
    • eseidel's avatar
      Bug #: 5875 · 704287af
      eseidel authored
      Submitted by: eseidel
      Reviewed by: darin & mjs
              Fixes SVG to load external scripts and report parse errors.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5875
      
              Added 7 layout tests to exercise parse error code.
      
              * fast/invalid/junk-data-expected.checksum: Added.
              * fast/invalid/junk-data-expected.png: Added.
              * fast/invalid/junk-data-expected.txt: Added.
              * fast/invalid/junk-data.xml: Added.
              * fast/invalid/missing-end-tag-expected.checksum: Added.
              * fast/invalid/missing-end-tag-expected.png: Added.
              * fast/invalid/missing-end-tag-expected.txt: Added.
              * fast/invalid/missing-end-tag.xhtml: Added.
              * fast/xsl/xslt-extra-content-at-end-expected.checksum: Added.
              * fast/xsl/xslt-extra-content-at-end-expected.png: Added.
              * fast/xsl/xslt-extra-content-at-end-expected.txt: Added.
              * fast/xsl/xslt-extra-content-at-end.xml: Added.
              * fast/xsl/xslt-mismatched-tags-in-xslt-expected.checksum: Added.
              * fast/xsl/xslt-mismatched-tags-in-xslt-expected.png: Added.
              * fast/xsl/xslt-mismatched-tags-in-xslt-expected.txt: Added.
              * fast/xsl/xslt-mismatched-tags-in-xslt.xml: Added.
              * fast/xsl/xslt-missing-namespace-in-xslt-expected.checksum: Added.
              * fast/xsl/xslt-missing-namespace-in-xslt-expected.png: Added.
              * fast/xsl/xslt-missing-namespace-in-xslt-expected.txt: Added.
              * fast/xsl/xslt-missing-namespace-in-xslt.xml: Added.
              * svg/custom/junk-data-expected.checksum: Added.
              * svg/custom/junk-data-expected.png: Added.
              * svg/custom/junk-data-expected.txt: Added.
              * svg/custom/junk-data.svg: Added.
              * svg/custom/missing-xlink-expected.checksum: Added.
              * svg/custom/missing-xlink-expected.png: Added.
              * svg/custom/missing-xlink-expected.txt: Added.
              * svg/custom/missing-xlink.svg: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      704287af
  34. 01 Nov, 2005 1 commit
  35. 27 Oct, 2005 1 commit
  36. 13 Oct, 2005 1 commit
    • eseidel's avatar
      Bug #: none · f260f526
      eseidel authored
      Submitted by: eseidel
      Reviewed by: mjs
              Adding a small xmlhttprequest test.
      
              * fast/js/resources/xmlhttprequest-get-data.xml: Added.
              * fast/js/xmlhttprequest-get-expected.txt: Added.
              * fast/js/xmlhttprequest-get.xhtml: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f260f526
  37. 08 Oct, 2005 1 commit