Alternate xml-stylesheets with no title are loaded, in violation of the CSSOM draft
https://bugs.webkit.org/show_bug.cgi?id=77549
Patch by Dave Tharp <dtharp@codeaurora.org> on 2012-03-13
Reviewed by David Hyatt.
Source/WebCore:
Amended code to ignore alternate stylesheets that do not have a title attribute.
Test: fast/css/xml-stylesheet-alternate-no-title.xhtml
* dom/ProcessingInstruction.cpp:
(WebCore::ProcessingInstruction::checkStyleSheet):
LayoutTests:
Added new text test, modified existing test: added title attribute to alternate stylesheet.
* fast/css/xml-stylesheet-alternate-no-title-expected.txt: Added.
* fast/css/xml-stylesheet-alternate-no-title.xhtml: Added.
* fast/css/xml-stylesheet-alternate-processing.xhtml:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110632
268f45cc-cd09-0410-ab3c-
d52691b4dbfc