Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Commit 2051eb1

Browse files
author
Eric Atkinson
committed
Add text decoration getter to CompleteStyle
1 parent 97269a9 commit 2051eb1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

complete.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ impl<'self> CompleteStyle<'self> {
194194
strip(self.inner.font_size())
195195
}
196196

197+
pub fn text_decoration(&self) -> CSSTextDecoration{
198+
strip(self.inner.text_decoration())
199+
}
200+
197201
// CSS 2.1, Section 16 - Text
198202

199203
pub fn text_align(&self) -> CSSTextAlign {

0 commit comments

Comments
 (0)