|
|
#1 |
|
Enthusiast
![]() Posts: 39
Karma: 10
Join Date: Apr 2022
Device: Onyx Leaf 3
|
Issue with the 'Delete Unused Stylesheet Selectors' function
I am reporting a regression that did not occur in version 2.8.1.
When running Delete Unused Stylesheet Selectors, both !important declarations and the + signs in unicode-range are removed from the stylesheet. This issue is 100% reproducible with the following steps: OS: Windows 11 Sigil 2.8.6 version
Code:
CSS
@font-face {
font-family: "sans";
src: url("../Fonts/KoPubDotum_ProMedium.otf");
unicode-range: U+3000-301F, U+30FB, U+2026;
}
.test_important {
margin: 2em 0 2em 0 !important;
}
.test_unused {
}
Code:
<p class="test_important"><br/></p>
Code:
@font-face {
font-family: "sans";
src: url("../Fonts/KoPubDotum_ProMedium.otf");
unicode-range: U3000-301F, U30FB, U2026;
}
.test_important {
margin: 2em 0 2em 0;
}
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Delete Unused Stylesheet Selectors selects all my styles. | jwes | Sigil | 4 | 05-29-2025 02:28 PM |
| "Delete unused stylesheet classes" problems with overloaded styles | AlanHK | Sigil | 82 | 01-24-2021 12:10 PM |
| alphabetizing stylesheet, check book, and remove unused styles | rjwse@aol.com | Calibre | 9 | 01-29-2020 07:48 PM |
| Cleaning a stylesheet of unused styles | roger64 | Sigil | 49 | 06-13-2012 06:23 AM |