Closed Bug 1293164 Opened 8 years ago Closed 8 years ago

Add some specific tests for fragment url serialization.

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: u459114, Assigned: u459114)

References

Details

Attachments

(1 file)

According to bug 1288812 comment 6, file this one to create new test cases.
Create test cases in layout/style/test/test_computed_style.html. 1. computed style value of local-ref url, such as url(#foo), should be a local-ref. 2. computed style value of non-local-ref url, such as url(foo.svg#foo), should be absolute url.
Comment on attachment 8782302 [details] Bug 1293164 - Create serialization test for local-ref URL. https://reviewboard.mozilla.org/r/72510/#review70136 ::: layout/style/test/test_computed_style.html:370 (Diff revision 2) > + > + for (var prop in postFix) { > + p.style[prop] = localURL; > + is(cs[prop], localURL + testStyles[prop], "computed value of " + prop); > + p.style[prop] = nonLocalURL; > + is(cs[prop], resolvedNonLocalURL + testStyles[prop], "computed value of " + prop); Nit: remove one space before the last "+".
Attachment #8782302 - Flags: review?(cam) → review+
Pushed by cku@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e6b28b84c2cb Create serialization test for local-ref URL. r=heycam
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
See Also: → 1347412
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: