Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/css-unspecified/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
r: 2
title: "CSS Unspecified"
25 changes: 25 additions & 0 deletions tests/css-unspecified/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* text-stroke, text-stroke-width, and text-stroke-color
* are only supported in Webkit browsers with -webkit prefix
* The property has not even been specced by W3C
*/

test("CSS Text Stroke", function() {

var elem = document.createElement("div");

assert( H.test.cssProp( elem, "textStroke", true ), "textStroke supported" );
assert( H.test.cssProp( elem, "textStrokeColor", true ), "textStrokeColor supported" );
assert( H.test.cssProp( elem, "textStrokeWidth", true ), "textStrokeWidth supported" );

});

// test("Standard-compliant CSS Text Stroke properties", function() {
//
// var elem = document.createElement("div");
//
// assert( H.test.cssProp( elem, "textStroke" ), "Shorthand textStroke supported" );
// assert( H.test.cssProp( elem, "textStrokeColor" ), "textStrokeColor supported" );
// assert( H.test.cssProp( elem, "textStrokeWidth" ), "textStrokeWidth supported" );
//
// });