Skip to content

Commit 1d76088

Browse files
authored
[TASK] Drop expansion of shorthand properties (#838)
Those were deprecated in version 8.7.0. Fixes #511
1 parent 5ee1d9a commit 1d76088

File tree

7 files changed

+1
-1052
lines changed

7 files changed

+1
-1052
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Please also have a look at our
2626

2727
### Removed
2828

29+
- Remove expansion of shorthand properties (#838)
2930
- Remove `Parser::setCharset/getCharset` (#808)
3031
- Remove `Rule::getValues()` (#582)
3132
- Remove `Rule::setValues()` (#562)

src/CSSList/Document.php

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -111,30 +111,6 @@ public function getSelectorsBySpecificity($sSpecificitySearch = null): array
111111
return $aResult;
112112
}
113113

114-
/**
115-
* Expands all shorthand properties to their long value.
116-
*
117-
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
118-
*/
119-
public function expandShorthands(): void
120-
{
121-
foreach ($this->getAllDeclarationBlocks() as $oDeclaration) {
122-
$oDeclaration->expandShorthands();
123-
}
124-
}
125-
126-
/**
127-
* Create shorthands properties whenever possible.
128-
*
129-
* @deprecated since 8.7.0, will be removed without substitution in version 9.0 in #511
130-
*/
131-
public function createShorthands(): void
132-
{
133-
foreach ($this->getAllDeclarationBlocks() as $oDeclaration) {
134-
$oDeclaration->createShorthands();
135-
}
136-
}
137-
138114
/**
139115
* Overrides `render()` to make format argument optional.
140116
*

0 commit comments

Comments
 (0)