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)
Core
DOM: Core & HTML
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 hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 4•8 years ago
|
||
mozreview-review |
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+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Pushed by cku@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e6b28b84c2cb
Create serialization test for local-ref URL. r=heycam
Comment 8•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Updated•8 years ago
|
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•