Revision 5c9b2cf251344dd18522bd3fc88742533ce54d5a authored by Rakina Zata Amni on 05 April 2018, 07:26:13 UTC, committed by Blink WPT Bot on 05 April 2018, 07:38:36 UTC
Stylesheets from link elements that previously have rel = "stylesheet" but then changed to something else should be removed/not considered anymore until the rel attribute is changed back to "stylesheet" again. Currently this works correctly for link elements in the document tree, but fails in link elements within a shadow tree because link elements in shadow tree with rel attribute != "stylesheet" are skipped from processing. Because of that, the stylesheet in the link element was never cleared and no style recalc happened. JSBin from bug: http://jsbin.com/bojunajaju/edit?html,console,output Bug: 817355 Change-Id: I57c71c79c0cc471d36eb988b8a81eef82c33548a Reviewed-on: https://chromium-review.googlesource.com/995116 Commit-Queue: Rakina Zata Amni <rakina@chromium.org> Reviewed-by: Hayato Ito <hayato@chromium.org> Cr-Commit-Position: refs/heads/master@{#548357}
1 parent c6247d2
File | Mode | Size |
---|---|---|
link-upgrade | ||
support | ||
iframe-redirect-upgrade.https.html | -rw-r--r-- | 2.4 KB |
iframe-upgrade.https.html | -rw-r--r-- | 773 bytes |
image-redirect-upgrade.https.html | -rw-r--r-- | 2.7 KB |
image-upgrade.https.html | -rw-r--r-- | 985 bytes |
link-upgrade.sub.https.html | -rw-r--r-- | 2.0 KB |
websocket-upgrade.https.html | -rw-r--r-- | 796 bytes |
Computing file changes ...