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 |
---|---|---|
OWNERS | -rw-r--r-- | 85 bytes |
README.md | -rw-r--r-- | 1.2 KB |
a-element-origin-xhtml.xhtml | -rw-r--r-- | 428 bytes |
a-element-origin.html | -rw-r--r-- | 261 bytes |
a-element-origin.js | -rw-r--r-- | 945 bytes |
a-element-xhtml.xhtml | -rw-r--r-- | 421 bytes |
a-element.html | -rw-r--r-- | 254 bytes |
a-element.js | -rw-r--r-- | 1.7 KB |
data-uri-fragment.html | -rw-r--r-- | 1.2 KB |
failure.html | -rw-r--r-- | 1.3 KB |
historical.any.js | -rw-r--r-- | 909 bytes |
interfaces.any.js | -rw-r--r-- | 445 bytes |
setters_tests.json | -rw-r--r-- | 57.3 KB |
toascii.json | -rw-r--r-- | 4.5 KB |
toascii.window.js | -rw-r--r-- | 1.9 KB |
url-constructor.html | -rw-r--r-- | 4.3 KB |
url-origin.html | -rw-r--r-- | 1.0 KB |
url-setters.html | -rw-r--r-- | 2.0 KB |
url-tojson.html | -rw-r--r-- | 330 bytes |
urlencoded-parser.html | -rw-r--r-- | 2.9 KB |
urlsearchparams-append.html | -rw-r--r-- | 1.7 KB |
urlsearchparams-constructor.html | -rw-r--r-- | 7.8 KB |
urlsearchparams-delete.html | -rw-r--r-- | 2.1 KB |
urlsearchparams-foreach.html | -rw-r--r-- | 1.0 KB |
urlsearchparams-get.html | -rw-r--r-- | 1.3 KB |
urlsearchparams-getall.html | -rw-r--r-- | 1.6 KB |
urlsearchparams-has.html | -rw-r--r-- | 1.2 KB |
urlsearchparams-set.html | -rw-r--r-- | 1.2 KB |
urlsearchparams-sort.html | -rw-r--r-- | 1.6 KB |
urlsearchparams-stringifier.html | -rw-r--r-- | 4.0 KB |
urltestdata.json | -rw-r--r-- | 143.5 KB |
Computing file changes ...