DescriptionAdded addXSLStyleSheet and removeXSLStyleSheet to StyleEngine.
To apply XSLStyleSheet, we only need the first one. We don't need
to have all XSL stylesheets if the XML document has more than two
XSL stylesheets. So modified not to add XSLStyleSheet to
StyleSheetCandidateNodes. Instead, modified to make StyleEngine have
the first XSLStyleSheet.
BUG=367689
TEST=No new test, because this patch is just for refactoring.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175775
Patch Set 1 : #
Total comments: 8
Patch Set 2 : #
Total comments: 4
Patch Set 3 : Patch for landing #
Messages
Total messages: 9 (0 generated)
|