DescriptionAdded tests for preferred sheet insertion order.
Which stylesheet wins setting the preferred stylesheet set based on the
title attribute depends on the insertion order, and not the tree order,
since it's done as part of adding a stylesheet[1], as part of creating
a stylesheet[2], which is done on closing a style element, on inserting
or removing the style element [3].
Added two tests to make sure this is still true after active stylesheet
update has been made async.
[1] https://drafts.csswg.org/cssom/#add-a-css-style-sheet
[2] https://drafts.csswg.org/cssom/#create-a-css-style-sheet
[3] https://html.spec.whatwg.org/#update-a-style-block
BUG=567021
Committed: https://crrev.com/861066b09b34f5644e622d195ff2f4609502c364
Cr-Commit-Position: refs/heads/master@{#379760}
Patch Set 1 #
Messages
Total messages: 12 (5 generated)
|