Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-backgroundImage.html

Issue 2474093003: Don't use url from ImageResource for computed style. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-backgroundImage-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script>
4 <style>
5 #testDiv::before {
6 background-image: url(http://dummy/bg.svg#frag1);
7 }
8 #testDiv::after {
9 background-image: url(http://dummy/bg.svg#frag2);
10 }
11 </style>
12 <div id="testDiv"></div>
13 <script>
14 test(() => {
15 assert_equals(getComputedStyle(testDiv, "::before").backgroundImage, 'url("h ttp://dummy/bg.svg#frag1")', "Computed backgroundImage of #testDiv::before.");
16 assert_equals(getComputedStyle(testDiv, "::after").backgroundImage, 'url("ht tp://dummy/bg.svg#frag2")', "Computed backgroundImage of #testDiv::after.");
17 }, "Computed background-image of generated content contains correct fragment ide ntifier.");
18 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-backgroundImage-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698