Property talk:P10177
Jump to navigation
Jump to search
Documentation
CSS property
name of a property in the Cascading Style Sheets series of specifications
name of a property in the Cascading Style Sheets series of specifications
Represents | CSS property (Q25502958) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Data type | String | |||||||||
Allowed values | [a-z]+(-[a-z]+)*(: [a-z]+(-[a-z]+)*)? | |||||||||
Example | background color (Q109658301) → background-color font size (Q109658333) → font-size font family (Q1574330) → font-family letter spacing (Q1756646) → letter-spacing typographic alignment (Q184894) → text-align | |||||||||
Source | https://www.w3.org/Style/CSS/specs.en.html | |||||||||
Lists |
| |||||||||
Proposal discussion | Proposal discussion | |||||||||
Current uses |
| |||||||||
Search for values |
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). [a-z]+(-[a-z]+)*(: [a-z]+(-[a-z]+)*)?
”: value must be formatted using this pattern (PCRE syntax). (Help)List of violations of this constraint: Database reports/Constraint violations/P10177#Format, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P10177#Unique value, SPARQL (every item), SPARQL (by value)
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P10177#Scope, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/P10177#Entity types
Broadening the scope to allow specific values as well[edit]
I have updated the format constraint (Q21502404) to also allow specific values e.g.
- italic (Q344098) →
font-style: italic
- underline (Q1187096) →
text-decoration: underline
- wait cursor (Q115203937) →
cursor: wait