2525public struct CSSString : Sendable , Hashable {
2626 /// The raw string value (before serialization)
2727 public let value : String
28-
29- /// Quote style enum (deprecated, kept for backward compatibility)
30- @available ( * , deprecated, message: " Per CSSOM spec, strings are always serialized with double quotes " )
31- public enum Quotes : Sendable , Hashable {
32- case single
33- case double
34- }
28+ //
29+ // /// Quote style enum (deprecated, kept for backward compatibility)
30+ // @available(*, deprecated, message: "Per CSSOM spec, strings are always serialized with double quotes")
31+ // public enum Quotes: Sendable, Hashable {
32+ // case single
33+ // case double
34+ // }
3535
3636 /// Creates a new CSS string value
3737 ///
@@ -42,19 +42,19 @@ public struct CSSString: Sendable, Hashable {
4242 public init ( _ value: String ) {
4343 self . value = value
4444 }
45-
46- /// Creates a new CSS string value (deprecated API for backward compatibility)
47- ///
48- /// - Parameters:
49- /// - value: The raw string value
50- /// - quotes: Ignored - CSSOM always uses double quotes
51- ///
52- /// - Note: This initializer is provided for backward compatibility. Per CSSOM specification,
53- /// strings are always serialized with double quotes. The `quotes` parameter is ignored.
54- @available ( * , deprecated, message: " Per CSSOM spec, strings are always serialized with double quotes. Use init(_:) instead. " )
55- public init ( _ value: String , quotes: Quotes ) {
56- self . value = value
57- }
45+ //
46+ // /// Creates a new CSS string value (deprecated API for backward compatibility)
47+ // ///
48+ // /// - Parameters:
49+ // /// - value: The raw string value
50+ // /// - quotes: Ignored - CSSOM always uses double quotes
51+ // ///
52+ // /// - Note: This initializer is provided for backward compatibility. Per CSSOM specification,
53+ // /// strings are always serialized with double quotes. The `quotes` parameter is ignored.
54+ // @available(*, deprecated, message: "Per CSSOM spec, strings are always serialized with double quotes. Use init(_:) instead.")
55+ // public init(_ value: String, quotes: Quotes) {
56+ // self.value = value
57+ // }
5858
5959 /// Creates an empty CSS string value
6060 public static let empty = CSSString ( " " )
0 commit comments