From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../w3c-css/submitted/variables/support/Ahem.ttf | Bin 0 -> 12480 bytes .../w3c-css/submitted/variables/support/ahem.css | 4 ++++ .../submitted/variables/support/color-green-ref.html | 13 +++++++++++++ .../variables/support/external-variable-declaration.css | 5 +++++ .../variables/support/external-variable-font-face.css | 15 +++++++++++++++ .../variables/support/external-variable-reference.css | 6 ++++++ .../variables/support/external-variable-supports.css | 4 ++++ 7 files changed, 47 insertions(+) create mode 100644 layout/reftests/w3c-css/submitted/variables/support/Ahem.ttf create mode 100644 layout/reftests/w3c-css/submitted/variables/support/ahem.css create mode 100644 layout/reftests/w3c-css/submitted/variables/support/color-green-ref.html create mode 100644 layout/reftests/w3c-css/submitted/variables/support/external-variable-declaration.css create mode 100644 layout/reftests/w3c-css/submitted/variables/support/external-variable-font-face.css create mode 100644 layout/reftests/w3c-css/submitted/variables/support/external-variable-reference.css create mode 100644 layout/reftests/w3c-css/submitted/variables/support/external-variable-supports.css (limited to 'layout/reftests/w3c-css/submitted/variables/support') diff --git a/layout/reftests/w3c-css/submitted/variables/support/Ahem.ttf b/layout/reftests/w3c-css/submitted/variables/support/Ahem.ttf new file mode 100644 index 000000000..ac81cb031 Binary files /dev/null and b/layout/reftests/w3c-css/submitted/variables/support/Ahem.ttf differ diff --git a/layout/reftests/w3c-css/submitted/variables/support/ahem.css b/layout/reftests/w3c-css/submitted/variables/support/ahem.css new file mode 100644 index 000000000..82ee46679 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/variables/support/ahem.css @@ -0,0 +1,4 @@ +@font-face { + font-family: "Ahem"; + src: url(./Ahem.ttf); +} diff --git a/layout/reftests/w3c-css/submitted/variables/support/color-green-ref.html b/layout/reftests/w3c-css/submitted/variables/support/color-green-ref.html new file mode 100644 index 000000000..0eabe58c8 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/variables/support/color-green-ref.html @@ -0,0 +1,13 @@ + + +CSS Reftest Reference + + +

This text must be green.

diff --git a/layout/reftests/w3c-css/submitted/variables/support/external-variable-declaration.css b/layout/reftests/w3c-css/submitted/variables/support/external-variable-declaration.css new file mode 100644 index 000000000..9ba1b9d32 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/variables/support/external-variable-declaration.css @@ -0,0 +1,5 @@ +p { + color: red; + --a: green; + color: var(--a); +} diff --git a/layout/reftests/w3c-css/submitted/variables/support/external-variable-font-face.css b/layout/reftests/w3c-css/submitted/variables/support/external-variable-font-face.css new file mode 100644 index 000000000..87f0609ba --- /dev/null +++ b/layout/reftests/w3c-css/submitted/variables/support/external-variable-font-face.css @@ -0,0 +1,15 @@ +@font-face { + --a: MyTestFontName; + font-family: var(--a); + src: url(./Ahem.ttf); +} +@font-face { + font-family: MyTestFontName2; + src: url(./Ahem.ttf); +} +#a { + font-family: MyTestFontName, serif; +} +#b { + font-family: MyTestFontName2, serif; +} diff --git a/layout/reftests/w3c-css/submitted/variables/support/external-variable-reference.css b/layout/reftests/w3c-css/submitted/variables/support/external-variable-reference.css new file mode 100644 index 000000000..0c697fdcf --- /dev/null +++ b/layout/reftests/w3c-css/submitted/variables/support/external-variable-reference.css @@ -0,0 +1,6 @@ +:root { + --a: green; +} +p { + color: var(--a); +} diff --git a/layout/reftests/w3c-css/submitted/variables/support/external-variable-supports.css b/layout/reftests/w3c-css/submitted/variables/support/external-variable-supports.css new file mode 100644 index 000000000..96582bfd8 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/variables/support/external-variable-supports.css @@ -0,0 +1,4 @@ +body { color: red; } +@supports (color:var(--a)) { + p { color: green; } +} -- cgit v1.2.3