Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-typed-om] Add support for marker properties. #10205

Merged
merged 1 commit into from
Mar 29, 2018
Merged
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
27 changes: 27 additions & 0 deletions css/css-typed-om/the-stylepropertymap/properties/marker.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!doctype html>
<meta charset="utf-8">
<title>'marker-*' properties</title>
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-get">
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-set">
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#property-stle-value-normalization">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../resources/testhelper.js"></script>
<script src="resources/testsuite.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';

runUnsupportedPropertyTests('marker', [
'none', 'url(#m1)'
]);

for (const suffix of ['start', 'mid', 'end']) {
runPropertyTests(`marker-${suffix}`, [
{ syntax: 'none' },
{ syntax: '<url>' },
]);
}

</script>
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,13 @@ const gTestSyntaxExamples = {
}
],
},
'<url>': {
description: 'a URL',
examples: [
// TODO(https://github.com/w3c/css-houdini-drafts/issues/716):
// We can't test this until CSSURLValue is spec'd.
],
},
'<transform>': {
description: 'a transform',
examples: [
Expand Down