blob: 734f357cde485326c5cd49b6b66c81d1ec57c01c [file] [log] [blame]
Input:
hello <b style="background-color:blue; color:white;">world</b> <a href="https://webkit.org/">WebKit</a>.<br>
<span style="background-color:yellow;">this is a <u><i>t</i>est</u> of <em>attributed</em> string.</span>
Output:
NSParagraphStyle:
Alignment 4
LineSpacing: 0
ParagraphSpacing: 0
ParagraphSpacingBefore: 0
HeadIndent: 0
TailIndent: 0
FirstLineHeadIndent: 0
LineHeight: 0/0
LineHeightMultiple: 0
LineBreakMode: 0
Tabs: ()
DefaultTabInterval: 36
Blocks: (
)
Lists: (
)
BaseWritingDirection: 0
HyphenationFactor: 0
TighteningForTruncation: YES
HeaderLevel: 0
[hello ]
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSCustomColorSpace sRGB IEC61966-2.1 colorspace 0 0 0 1
NSStrokeWidth: 0
[world]
NSBackgroundColor: rgba(255, 2295, 1530, 6) (IEC6)
NSColor: rgba(255, 2295, 1530, 6) (IEC6)
NSFont: Times-Bold 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSCustomColorSpace sRGB IEC61966-2.1 colorspace 1 1 1 1
NSStrokeWidth: 0
[ ]
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSCustomColorSpace sRGB IEC61966-2.1 colorspace 0 0 0 1
NSStrokeWidth: 0
[WebKit]
NSColor: rgba(255, 2295, 1530, 6) (IEC6)
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSLink: https://webkit.org/
NSStrokeColor: NSCustomColorSpace sRGB IEC61966-2.1 colorspace 0 0 0.933333 1
NSStrokeWidth: 0
NSUnderline: true
[.\n]
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSCustomColorSpace sRGB IEC61966-2.1 colorspace 0 0 0 1
NSStrokeWidth: 0
[this is a ]
NSBackgroundColor: rgba(255, 2295, 1530, 6) (IEC6)
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSCustomColorSpace sRGB IEC61966-2.1 colorspace 0 0 0 1
NSStrokeWidth: 0
[t]
NSBackgroundColor: rgba(255, 2295, 1530, 6) (IEC6)
NSFont: Times-Italic 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSCustomColorSpace sRGB IEC61966-2.1 colorspace 0 0 0 1
NSStrokeWidth: 0
NSUnderline: true
[est]
NSBackgroundColor: rgba(255, 2295, 1530, 6) (IEC6)
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSCustomColorSpace sRGB IEC61966-2.1 colorspace 0 0 0 1
NSStrokeWidth: 0
NSUnderline: true
[ of ]
NSBackgroundColor: rgba(255, 2295, 1530, 6) (IEC6)
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSCustomColorSpace sRGB IEC61966-2.1 colorspace 0 0 0 1
NSStrokeWidth: 0
[attributed]
NSBackgroundColor: rgba(255, 2295, 1530, 6) (IEC6)
NSFont: Times-Italic 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSCustomColorSpace sRGB IEC61966-2.1 colorspace 0 0 0 1
NSStrokeWidth: 0
[ string.]
NSBackgroundColor: rgba(255, 2295, 1530, 6) (IEC6)
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSCustomColorSpace sRGB IEC61966-2.1 colorspace 0 0 0 1
NSStrokeWidth: 0
[ ]
NSFont: Times-Roman 16.00 pt.
NSKern: 0pt
NSStrokeColor: NSCustomColorSpace sRGB IEC61966-2.1 colorspace 0 0 0 1
NSStrokeWidth: 0