Commit b583beb3 authored by eric@webkit.org's avatar eric@webkit.org

2010-07-09 Eric Seidel <eric@webkit.org>

        Reviewed by Adam Barth.

        Fix SVG tag name casing for HTMLTreeBuilder
        https://bugs.webkit.org/show_bug.cgi?id=41998

        * html5lib/runner-expected-html5.txt:
2010-07-09  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] GraphicsLayerQt must have syncCompositingStateForThisLayerOnly() implemented
        https://bugs.webkit.org/show_bug.cgi?id=41954

        Add GraphicsLayerQt::syncCompositingStateForThisLayerOnly, a non-recursive
        implementation of GraphicsLayerQt::syncCompositingState and which targets
        the current layer only.

        * platform/graphics/qt/GraphicsLayerQt.cpp:
        (WebCore::GraphicsLayerQt::syncCompositingStateForThisLayerOnly):
        * platform/graphics/qt/GraphicsLayerQt.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ce60a933
2010-07-09 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
Fix SVG tag name casing for HTMLTreeBuilder
https://bugs.webkit.org/show_bug.cgi?id=41998
* html5lib/runner-expected-html5.txt:
2010-07-09 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
......@@ -1169,9 +1169,6 @@ Expected:
| "bar"
resources/tests11.dat:
4
5
6
7
8
Test 4 of 9 in resources/tests11.dat failed. Input:
......@@ -1313,267 +1310,6 @@ Expected:
| ychannelselector=""
| zoomandpan=""
Test 5 of 9 in resources/tests11.dat failed. Input:
<!DOCTYPE html><body><svg><altGlyph /><altGlyphDef /><altGlyphItem /><animateColor /><animateMotion /><animateTransform /><clipPath /><feBlend /><feColorMatrix /><feComponentTransfer /><feComposite /><feConvolveMatrix /><feDiffuseLighting /><feDisplacementMap /><feDistantLight /><feFlood /><feFuncA /><feFuncB /><feFuncG /><feFuncR /><feGaussianBlur /><feImage /><feMerge /><feMergeNode /><feMorphology /><feOffset /><fePointLight /><feSpecularLighting /><feSpotLight /><feTile /><feTurbulence /><foreignObject /><glyphRef /><linearGradient /><radialGradient /><textPath /></svg>
Got:
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <svg svg>
| <svg altglyph>
| <svg altglyphdef>
| <svg altglyphitem>
| <svg animatecolor>
| <svg animatemotion>
| <svg animatetransform>
| <svg clippath>
| <svg feblend>
| <svg fecolormatrix>
| <svg fecomponenttransfer>
| <svg fecomposite>
| <svg feconvolvematrix>
| <svg fediffuselighting>
| <svg fedisplacementmap>
| <svg fedistantlight>
| <svg feflood>
| <svg fefunca>
| <svg fefuncb>
| <svg fefuncg>
| <svg fefuncr>
| <svg fegaussianblur>
| <svg feimage>
| <svg femerge>
| <svg femergenode>
| <svg femorphology>
| <svg feoffset>
| <svg fepointlight>
| <svg fespecularlighting>
| <svg fespotlight>
| <svg fetile>
| <svg feturbulence>
| <svg foreignobject>
| <svg glyphref>
| <svg lineargradient>
| <svg radialgradient>
| <svg textpath>
Expected:
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <svg svg>
| <svg altGlyph>
| <svg altGlyphDef>
| <svg altGlyphItem>
| <svg animateColor>
| <svg animateMotion>
| <svg animateTransform>
| <svg clipPath>
| <svg feBlend>
| <svg feColorMatrix>
| <svg feComponentTransfer>
| <svg feComposite>
| <svg feConvolveMatrix>
| <svg feDiffuseLighting>
| <svg feDisplacementMap>
| <svg feDistantLight>
| <svg feFlood>
| <svg feFuncA>
| <svg feFuncB>
| <svg feFuncG>
| <svg feFuncR>
| <svg feGaussianBlur>
| <svg feImage>
| <svg feMerge>
| <svg feMergeNode>
| <svg feMorphology>
| <svg feOffset>
| <svg fePointLight>
| <svg feSpecularLighting>
| <svg feSpotLight>
| <svg feTile>
| <svg feTurbulence>
| <svg foreignObject>
| <svg glyphRef>
| <svg linearGradient>
| <svg radialGradient>
| <svg textPath>
Test 6 of 9 in resources/tests11.dat failed. Input:
<!DOCTYPE html><body><svg><altglyph /><altglyphdef /><altglyphitem /><animatecolor /><animatemotion /><animatetransform /><clippath /><feblend /><fecolormatrix /><fecomponenttransfer /><fecomposite /><feconvolvematrix /><fediffuselighting /><fedisplacementmap /><fedistantlight /><feflood /><fefunca /><fefuncb /><fefuncg /><fefuncr /><fegaussianblur /><feimage /><femerge /><femergenode /><femorphology /><feoffset /><fepointlight /><fespecularlighting /><fespotlight /><fetile /><feturbulence /><foreignobject /><glyphref /><lineargradient /><radialgradient /><textpath /></svg>
Got:
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <svg svg>
| <svg altglyph>
| <svg altglyphdef>
| <svg altglyphitem>
| <svg animatecolor>
| <svg animatemotion>
| <svg animatetransform>
| <svg clippath>
| <svg feblend>
| <svg fecolormatrix>
| <svg fecomponenttransfer>
| <svg fecomposite>
| <svg feconvolvematrix>
| <svg fediffuselighting>
| <svg fedisplacementmap>
| <svg fedistantlight>
| <svg feflood>
| <svg fefunca>
| <svg fefuncb>
| <svg fefuncg>
| <svg fefuncr>
| <svg fegaussianblur>
| <svg feimage>
| <svg femerge>
| <svg femergenode>
| <svg femorphology>
| <svg feoffset>
| <svg fepointlight>
| <svg fespecularlighting>
| <svg fespotlight>
| <svg fetile>
| <svg feturbulence>
| <svg foreignobject>
| <svg glyphref>
| <svg lineargradient>
| <svg radialgradient>
| <svg textpath>
Expected:
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <svg svg>
| <svg altGlyph>
| <svg altGlyphDef>
| <svg altGlyphItem>
| <svg animateColor>
| <svg animateMotion>
| <svg animateTransform>
| <svg clipPath>
| <svg feBlend>
| <svg feColorMatrix>
| <svg feComponentTransfer>
| <svg feComposite>
| <svg feConvolveMatrix>
| <svg feDiffuseLighting>
| <svg feDisplacementMap>
| <svg feDistantLight>
| <svg feFlood>
| <svg feFuncA>
| <svg feFuncB>
| <svg feFuncG>
| <svg feFuncR>
| <svg feGaussianBlur>
| <svg feImage>
| <svg feMerge>
| <svg feMergeNode>
| <svg feMorphology>
| <svg feOffset>
| <svg fePointLight>
| <svg feSpecularLighting>
| <svg feSpotLight>
| <svg feTile>
| <svg feTurbulence>
| <svg foreignObject>
| <svg glyphRef>
| <svg linearGradient>
| <svg radialGradient>
| <svg textPath>
Test 7 of 9 in resources/tests11.dat failed. Input:
<!DOCTYPE html><BODY><SVG><ALTGLYPH /><ALTGLYPHDEF /><ALTGLYPHITEM /><ANIMATECOLOR /><ANIMATEMOTION /><ANIMATETRANSFORM /><CLIPPATH /><FEBLEND /><FECOLORMATRIX /><FECOMPONENTTRANSFER /><FECOMPOSITE /><FECONVOLVEMATRIX /><FEDIFFUSELIGHTING /><FEDISPLACEMENTMAP /><FEDISTANTLIGHT /><FEFLOOD /><FEFUNCA /><FEFUNCB /><FEFUNCG /><FEFUNCR /><FEGAUSSIANBLUR /><FEIMAGE /><FEMERGE /><FEMERGENODE /><FEMORPHOLOGY /><FEOFFSET /><FEPOINTLIGHT /><FESPECULARLIGHTING /><FESPOTLIGHT /><FETILE /><FETURBULENCE /><FOREIGNOBJECT /><GLYPHREF /><LINEARGRADIENT /><RADIALGRADIENT /><TEXTPATH /></SVG>
Got:
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <svg svg>
| <svg altglyph>
| <svg altglyphdef>
| <svg altglyphitem>
| <svg animatecolor>
| <svg animatemotion>
| <svg animatetransform>
| <svg clippath>
| <svg feblend>
| <svg fecolormatrix>
| <svg fecomponenttransfer>
| <svg fecomposite>
| <svg feconvolvematrix>
| <svg fediffuselighting>
| <svg fedisplacementmap>
| <svg fedistantlight>
| <svg feflood>
| <svg fefunca>
| <svg fefuncb>
| <svg fefuncg>
| <svg fefuncr>
| <svg fegaussianblur>
| <svg feimage>
| <svg femerge>
| <svg femergenode>
| <svg femorphology>
| <svg feoffset>
| <svg fepointlight>
| <svg fespecularlighting>
| <svg fespotlight>
| <svg fetile>
| <svg feturbulence>
| <svg foreignobject>
| <svg glyphref>
| <svg lineargradient>
| <svg radialgradient>
| <svg textpath>
Expected:
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <svg svg>
| <svg altGlyph>
| <svg altGlyphDef>
| <svg altGlyphItem>
| <svg animateColor>
| <svg animateMotion>
| <svg animateTransform>
| <svg clipPath>
| <svg feBlend>
| <svg feColorMatrix>
| <svg feComponentTransfer>
| <svg feComposite>
| <svg feConvolveMatrix>
| <svg feDiffuseLighting>
| <svg feDisplacementMap>
| <svg feDistantLight>
| <svg feFlood>
| <svg feFuncA>
| <svg feFuncB>
| <svg feFuncG>
| <svg feFuncR>
| <svg feGaussianBlur>
| <svg feImage>
| <svg feMerge>
| <svg feMergeNode>
| <svg feMorphology>
| <svg feOffset>
| <svg fePointLight>
| <svg feSpecularLighting>
| <svg feSpotLight>
| <svg feTile>
| <svg feTurbulence>
| <svg foreignObject>
| <svg glyphRef>
| <svg linearGradient>
| <svg radialGradient>
| <svg textPath>
Test 8 of 9 in resources/tests11.dat failed. Input:
<!DOCTYPE html><body><math><altGlyph /><altGlyphDef /><altGlyphItem /><animateColor /><animateMotion /><animateTransform /><clipPath /><feBlend /><feColorMatrix /><feComponentTransfer /><feComposite /><feConvolveMatrix /><feDiffuseLighting /><feDisplacementMap /><feDistantLight /><feFlood /><feFuncA /><feFuncB /><feFuncG /><feFuncR /><feGaussianBlur /><feImage /><feMerge /><feMergeNode /><feMorphology /><feOffset /><fePointLight /><feSpecularLighting /><feSpotLight /><feTile /><feTurbulence /><foreignObject /><glyphRef /><linearGradient /><radialGradient /><textPath /></math>
Got:
......@@ -1683,7 +1419,7 @@ Got:
| <svg b>
| "eggs"
| <svg g>
| <svg foreignobject>
| <svg foreignObject>
| <svg p>
| "spam"
| <svg table>
......@@ -1740,7 +1476,7 @@ Got:
| <svg b>
| "eggs"
| <svg g>
| <svg foreignobject>
| <svg foreignObject>
| <svg p>
| "spam"
| <svg table>
......
......@@ -25,6 +25,18 @@
* CMakeLists.txt:
2010-07-09 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
Fix SVG tag name casing for HTMLTreeBuilder
https://bugs.webkit.org/show_bug.cgi?id=41998
Tested by html5lib/runner.html
* html/HTMLTreeBuilder.cpp:
(WebCore::):
2010-07-09 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
......@@ -662,80 +662,80 @@ namespace {
#if ENABLE(SVG)
typedef HashMap<AtomicString, AtomicString> SVGAttributeCaseMap;
typedef HashMap<AtomicString, AtomicString> NameCaseMap;
void addAttribute(SVGAttributeCaseMap* map, const QualifiedName& attributeName)
void addName(NameCaseMap* map, const QualifiedName& attributeName)
{
map->add(attributeName.localName().lower(), attributeName.localName());
}
void adjustSVGAttributes(AtomicHTMLToken& token)
{
static SVGAttributeCaseMap* svgAttributes = 0;
if (!svgAttributes) {
svgAttributes = new SVGAttributeCaseMap;
addAttribute(svgAttributes, SVGNames::attributeNameAttr);
addAttribute(svgAttributes, SVGNames::attributeTypeAttr);
addAttribute(svgAttributes, SVGNames::baseFrequencyAttr);
addAttribute(svgAttributes, SVGNames::baseProfileAttr);
addAttribute(svgAttributes, SVGNames::calcModeAttr);
addAttribute(svgAttributes, SVGNames::clipPathUnitsAttr);
addAttribute(svgAttributes, SVGNames::contentScriptTypeAttr);
addAttribute(svgAttributes, SVGNames::contentStyleTypeAttr);
addAttribute(svgAttributes, SVGNames::diffuseConstantAttr);
addAttribute(svgAttributes, SVGNames::edgeModeAttr);
addAttribute(svgAttributes, SVGNames::externalResourcesRequiredAttr);
addAttribute(svgAttributes, SVGNames::filterResAttr);
addAttribute(svgAttributes, SVGNames::filterUnitsAttr);
addAttribute(svgAttributes, SVGNames::glyphRefAttr);
addAttribute(svgAttributes, SVGNames::gradientTransformAttr);
addAttribute(svgAttributes, SVGNames::gradientUnitsAttr);
addAttribute(svgAttributes, SVGNames::kernelMatrixAttr);
addAttribute(svgAttributes, SVGNames::kernelUnitLengthAttr);
addAttribute(svgAttributes, SVGNames::keyPointsAttr);
addAttribute(svgAttributes, SVGNames::keySplinesAttr);
addAttribute(svgAttributes, SVGNames::keyTimesAttr);
addAttribute(svgAttributes, SVGNames::lengthAdjustAttr);
addAttribute(svgAttributes, SVGNames::limitingConeAngleAttr);
addAttribute(svgAttributes, SVGNames::markerHeightAttr);
addAttribute(svgAttributes, SVGNames::markerUnitsAttr);
addAttribute(svgAttributes, SVGNames::markerWidthAttr);
addAttribute(svgAttributes, SVGNames::maskContentUnitsAttr);
addAttribute(svgAttributes, SVGNames::maskUnitsAttr);
addAttribute(svgAttributes, SVGNames::numOctavesAttr);
addAttribute(svgAttributes, SVGNames::pathLengthAttr);
addAttribute(svgAttributes, SVGNames::patternContentUnitsAttr);
addAttribute(svgAttributes, SVGNames::patternTransformAttr);
addAttribute(svgAttributes, SVGNames::patternUnitsAttr);
addAttribute(svgAttributes, SVGNames::pointsAtXAttr);
addAttribute(svgAttributes, SVGNames::pointsAtYAttr);
addAttribute(svgAttributes, SVGNames::pointsAtZAttr);
addAttribute(svgAttributes, SVGNames::preserveAlphaAttr);
addAttribute(svgAttributes, SVGNames::preserveAspectRatioAttr);
addAttribute(svgAttributes, SVGNames::primitiveUnitsAttr);
addAttribute(svgAttributes, SVGNames::refXAttr);
addAttribute(svgAttributes, SVGNames::refYAttr);
addAttribute(svgAttributes, SVGNames::repeatCountAttr);
addAttribute(svgAttributes, SVGNames::repeatDurAttr);
addAttribute(svgAttributes, SVGNames::requiredExtensionsAttr);
addAttribute(svgAttributes, SVGNames::requiredFeaturesAttr);
addAttribute(svgAttributes, SVGNames::specularConstantAttr);
addAttribute(svgAttributes, SVGNames::specularExponentAttr);
addAttribute(svgAttributes, SVGNames::spreadMethodAttr);
addAttribute(svgAttributes, SVGNames::startOffsetAttr);
addAttribute(svgAttributes, SVGNames::stdDeviationAttr);
addAttribute(svgAttributes, SVGNames::stitchTilesAttr);
addAttribute(svgAttributes, SVGNames::surfaceScaleAttr);
addAttribute(svgAttributes, SVGNames::systemLanguageAttr);
addAttribute(svgAttributes, SVGNames::tableValuesAttr);
addAttribute(svgAttributes, SVGNames::targetXAttr);
addAttribute(svgAttributes, SVGNames::targetYAttr);
addAttribute(svgAttributes, SVGNames::textLengthAttr);
addAttribute(svgAttributes, SVGNames::viewBoxAttr);
addAttribute(svgAttributes, SVGNames::viewTargetAttr);
addAttribute(svgAttributes, SVGNames::xChannelSelectorAttr);
addAttribute(svgAttributes, SVGNames::yChannelSelectorAttr);
addAttribute(svgAttributes, SVGNames::zoomAndPanAttr);
static NameCaseMap* caseMap = 0;
if (!caseMap) {
caseMap = new NameCaseMap;
addName(caseMap, SVGNames::attributeNameAttr);
addName(caseMap, SVGNames::attributeTypeAttr);
addName(caseMap, SVGNames::baseFrequencyAttr);
addName(caseMap, SVGNames::baseProfileAttr);
addName(caseMap, SVGNames::calcModeAttr);
addName(caseMap, SVGNames::clipPathUnitsAttr);
addName(caseMap, SVGNames::contentScriptTypeAttr);
addName(caseMap, SVGNames::contentStyleTypeAttr);
addName(caseMap, SVGNames::diffuseConstantAttr);
addName(caseMap, SVGNames::edgeModeAttr);
addName(caseMap, SVGNames::externalResourcesRequiredAttr);
addName(caseMap, SVGNames::filterResAttr);
addName(caseMap, SVGNames::filterUnitsAttr);
addName(caseMap, SVGNames::glyphRefAttr);
addName(caseMap, SVGNames::gradientTransformAttr);
addName(caseMap, SVGNames::gradientUnitsAttr);
addName(caseMap, SVGNames::kernelMatrixAttr);
addName(caseMap, SVGNames::kernelUnitLengthAttr);
addName(caseMap, SVGNames::keyPointsAttr);
addName(caseMap, SVGNames::keySplinesAttr);
addName(caseMap, SVGNames::keyTimesAttr);
addName(caseMap, SVGNames::lengthAdjustAttr);
addName(caseMap, SVGNames::limitingConeAngleAttr);
addName(caseMap, SVGNames::markerHeightAttr);
addName(caseMap, SVGNames::markerUnitsAttr);
addName(caseMap, SVGNames::markerWidthAttr);
addName(caseMap, SVGNames::maskContentUnitsAttr);
addName(caseMap, SVGNames::maskUnitsAttr);
addName(caseMap, SVGNames::numOctavesAttr);
addName(caseMap, SVGNames::pathLengthAttr);
addName(caseMap, SVGNames::patternContentUnitsAttr);
addName(caseMap, SVGNames::patternTransformAttr);
addName(caseMap, SVGNames::patternUnitsAttr);
addName(caseMap, SVGNames::pointsAtXAttr);
addName(caseMap, SVGNames::pointsAtYAttr);
addName(caseMap, SVGNames::pointsAtZAttr);
addName(caseMap, SVGNames::preserveAlphaAttr);
addName(caseMap, SVGNames::preserveAspectRatioAttr);
addName(caseMap, SVGNames::primitiveUnitsAttr);
addName(caseMap, SVGNames::refXAttr);
addName(caseMap, SVGNames::refYAttr);
addName(caseMap, SVGNames::repeatCountAttr);
addName(caseMap, SVGNames::repeatDurAttr);
addName(caseMap, SVGNames::requiredExtensionsAttr);
addName(caseMap, SVGNames::requiredFeaturesAttr);
addName(caseMap, SVGNames::specularConstantAttr);
addName(caseMap, SVGNames::specularExponentAttr);
addName(caseMap, SVGNames::spreadMethodAttr);
addName(caseMap, SVGNames::startOffsetAttr);
addName(caseMap, SVGNames::stdDeviationAttr);
addName(caseMap, SVGNames::stitchTilesAttr);
addName(caseMap, SVGNames::surfaceScaleAttr);
addName(caseMap, SVGNames::systemLanguageAttr);
addName(caseMap, SVGNames::tableValuesAttr);
addName(caseMap, SVGNames::targetXAttr);
addName(caseMap, SVGNames::targetYAttr);
addName(caseMap, SVGNames::textLengthAttr);
addName(caseMap, SVGNames::viewBoxAttr);
addName(caseMap, SVGNames::viewTargetAttr);
addName(caseMap, SVGNames::xChannelSelectorAttr);
addName(caseMap, SVGNames::yChannelSelectorAttr);
addName(caseMap, SVGNames::zoomAndPanAttr);
}
NamedNodeMap* attributes = token.attributes();
......@@ -744,11 +744,67 @@ void adjustSVGAttributes(AtomicHTMLToken& token)
for (unsigned x = 0; x < attributes->length(); ++x) {
Attribute* attribute = attributes->attributeItem(x);
const AtomicString& casedName = svgAttributes->get(attribute->localName());
const AtomicString& casedName = caseMap->get(attribute->localName());
if (!casedName.isNull())
attribute->parserSetLocalName(casedName);
}
}
// FIXME: This is a hack until we can fix SVGNames to always generate all names.
QualifiedName svgTagNameFor(const AtomicString& localName)
{
return QualifiedName(nullAtom, localName, SVGNames::svgNamespaceURI);
}
void adjustSVGTagNameCase(AtomicHTMLToken& token)
{
static NameCaseMap* caseMap = 0;
if (!caseMap) {
caseMap = new NameCaseMap;
addName(caseMap, SVGNames::altGlyphTag);
addName(caseMap, svgTagNameFor("altGlyphDef"));
addName(caseMap, svgTagNameFor("altGlyphItem"));
addName(caseMap, SVGNames::animateColorTag);
addName(caseMap, SVGNames::animateMotionTag);
addName(caseMap, SVGNames::animateTransformTag);
addName(caseMap, SVGNames::clipPathTag);
addName(caseMap, SVGNames::feBlendTag);
addName(caseMap, SVGNames::feColorMatrixTag);
addName(caseMap, SVGNames::feComponentTransferTag);
addName(caseMap, SVGNames::feCompositeTag);
addName(caseMap, SVGNames::feConvolveMatrixTag);
addName(caseMap, SVGNames::feDiffuseLightingTag);
addName(caseMap, SVGNames::feDisplacementMapTag);
addName(caseMap, SVGNames::feDistantLightTag);
addName(caseMap, SVGNames::feFloodTag);
addName(caseMap, SVGNames::feFuncATag);
addName(caseMap, SVGNames::feFuncBTag);
addName(caseMap, SVGNames::feFuncGTag);
addName(caseMap, SVGNames::feFuncRTag);
addName(caseMap, SVGNames::feGaussianBlurTag);
addName(caseMap, SVGNames::feImageTag);
addName(caseMap, SVGNames::feMergeTag);
addName(caseMap, SVGNames::feMergeNodeTag);
addName(caseMap, SVGNames::feMorphologyTag);
addName(caseMap, SVGNames::feOffsetTag);
addName(caseMap, SVGNames::fePointLightTag);
addName(caseMap, SVGNames::feSpecularLightingTag);
addName(caseMap, SVGNames::feSpotLightTag);
addName(caseMap, SVGNames::feTileTag);
addName(caseMap, SVGNames::feTurbulenceTag);
addName(caseMap, SVGNames::foreignObjectTag);
addName(caseMap, svgTagNameFor("glyphRef"));
addName(caseMap, SVGNames::linearGradientTag);
addName(caseMap, SVGNames::radialGradientTag);
addName(caseMap, SVGNames::textPathTag);
}
const AtomicString& casedName = caseMap->get(token.name());
if (casedName.isNull())
return;
token.setName(casedName);
}
#endif
#if ENABLE(MATHML)
......@@ -1481,8 +1537,10 @@ void HTMLTreeBuilder::processStartTag(AtomicHTMLToken& token)
adjustMathMLAttributes(token);
#endif
#if ENABLE(SVG)
if (currentNamespace == SVGNames::svgNamespaceURI)
if (currentNamespace == SVGNames::svgNamespaceURI) {
adjustSVGTagNameCase(token);
adjustSVGAttributes(token);
}
#endif
adjustForeignAttributes(token);
m_tree.insertForeignElement(token, currentNamespace);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment