Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCustom properties, take 2 #7555
Conversation
|
|
a13b28f
to
f5999b7
|
|
f5999b7
to
a88dc2e
|
Rebased. |
a88dc2e
to
a41cbed
|
The remaining failing css-variables tests are:
|
a41cbed
to
eef83fc
|
Depends on |
4bcbbfb
to
8cfdabb
|
Reviewed 4 of 4 files at r1, 10 of 10 files at r2, 8 of 8 files at r3, 2 of 2 files at r4. Comments from the review on Reviewable.io |
|
Reviewed 2 of 2 files at r5, 4 of 4 files at r6, 2 of 2 files at r7, 7 of 7 files at r8. tests/wpt/mozilla/tests/css/test_variable_legal_values.html, line 1 [r7] (raw file): Comments from the review on Reviewable.io |
|
Review status: 25 of 38 files reviewed at latest revision, 1 unresolved discussion, all commit checks successful. tests/wpt/mozilla/tests/css/test_variable_legal_values.html, line 1 [r7] (raw file): Comments from the review on Reviewable.io |
|
Reviewed 6 of 6 files at r9, 9 of 9 files at r10. tests/wpt/mozilla/tests/css/test_variable_serialization_specified.html, line 44 [r10] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful. tests/wpt/mozilla/tests/css/test_variable_serialization_specified.html, line 44 [r10] (raw file): In this example: <p style="background: var(--b) green; --a: url(foo.png); --b: var(--a /* unclosed comment">… you want But yeah, the css-variables spec could probably specify this a bit more. Comments from the review on Reviewable.io |
|
@bors-servo r+ |
|
|
|
|
Test changes are also in https://github.com/w3c/csswg-test/pull/847/files
…eet. `tests/wpt/css-tests/css-variables-1_dev/html/test_variable_legal_values.htm` relies on setting `.data` on a text node inside a `<style>` element to update a stylesheet, but this doesn’t work on Servo yet. Add a copy of this file that uses a style attribute instead.
… one token.
7569b49
to
feaf6f4
|
Reviewed 2 of 2 files at r12. Comments from the review on Reviewable.io |
|
@bors-servo r+ |
|
|
Custom properties, take 2 Support `var()` in shorthand properties, and fix various bugs. r? @pcwalton <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7555) <!-- Reviewable:end -->
|
|
SimonSapin commentedSep 7, 2015
Support
var()in shorthand properties, and fix various bugs.r? @pcwalton