Description[import] support document.stylesheets in imported documents.
This change adds document.stylesheets support. Before this change,
these these sheets were just skipped during stylesheet update
traversal. This change lets the traversal recursively update StyleEngine
of imported document. In the update, the stylesheet value is computed.
Note that as activeStyleSheet of the master document have to contains
sheets in the import tree, this change turns DocumentStyleSheetCollector
to a carrier of stylsheet list to be updated: The collector doesn't own
its own list and have a reference to lists, that are provided by StyleEngine
or DocumentStyleSheetCollection.
BUG=334819
TEST=import-style-basic.html
R=esprehn
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165741
Patch Set 1 #
Total comments: 8
Patch Set 2 : Updated #Patch Set 3 : Rebased to ToT #Patch Set 4 : Rebased to ToT #
Total comments: 3
Patch Set 5 : Landing #Patch Set 6 : Landing #Messages
Total messages: 7 (0 generated)
|