-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1713787 - Fix whitespace handling inside CSS variables. r=xidorn
As per w3c/csswg-drafts#881 and w3c/csswg-drafts#774. Differential Revision: https://phabricator.services.mozilla.com/D116459
- Loading branch information
Showing
21 changed files
with
69 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,3 @@ | |
[target6] | ||
expected: FAIL | ||
|
||
[target9] | ||
expected: FAIL | ||
|
13 changes: 0 additions & 13 deletions
13
testing/web-platform/meta/css/css-variables/variable-invalidation.html.ini
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,15 @@ | |
http://creativecommons.org/publicdomain/zero/1.0/ | ||
--> | ||
<!DOCTYPE html> | ||
<title>CSS Test: Test declaring a variable with invalid syntax due to a variable reference having no tokens in its fallback.</title> | ||
<title>CSS Test: Test declaring a variable with valid syntax due to a variable reference having no tokens in its fallback.</title> | ||
<link rel="author" title="Cameron McCormack" href="mailto:[email protected]"> | ||
<link rel="help" href="http://www.w3.org/TR/css-variables-1/#syntax"> | ||
<link rel="match" href="support/color-green-ref.html"> | ||
<style> | ||
p { | ||
color: red; | ||
--a: green; | ||
--b: crimson; | ||
--a: crimson; | ||
--b: green; | ||
--a: var(--b,); | ||
color: var(--a); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,15 @@ | |
http://creativecommons.org/publicdomain/zero/1.0/ | ||
--> | ||
<!DOCTYPE html> | ||
<title>CSS Test: Test declaring a variable with invalid syntax due to a variable reference having only a comment in its fallback.</title> | ||
<title>CSS Test: Test declaring a variable with a variable reference having only a comment in its fallback.</title> | ||
<link rel="author" title="Cameron McCormack" href="mailto:[email protected]"> | ||
<link rel="help" href="http://www.w3.org/TR/css-variables-1/#syntax"> | ||
<link rel="match" href="support/color-green-ref.html"> | ||
<style> | ||
p { | ||
color: red; | ||
--a: green; | ||
--b: crimson; | ||
--a: crimson; | ||
--b: green; | ||
--a: var(--b,/**/); | ||
color: var(--a); | ||
} | ||
|
21 changes: 0 additions & 21 deletions
21
testing/web-platform/tests/css/css-variables/variable-declaration-28.html
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.