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 |
---|---|---|
parsing | ||
blue.png | -rw-r--r-- | 485 bytes |
blue.png.sub.headers | -rw-r--r-- | 47 bytes |
green.png | -rw-r--r-- | 87 bytes |
green.png.sub.headers | -rw-r--r-- | 48 bytes |
Computing file changes ...