@@ -123,7 +123,7 @@ extern "C" {
123
123
/** inline */ FN (TIDYCUSTOMINLINE_STRING ) \
124
124
/** pre */ FN (TIDYCUSTOMPRE_STRING ) \
125
125
126
-
126
+
127
127
/** These messages are used to generate additional dialogue style output from
128
128
** Tidy when certain conditions exist, and provide more verbose explanations
129
129
** than the short report.
@@ -285,7 +285,7 @@ extern "C" {
285
285
FN (XML_ID_SYNTAX )
286
286
287
287
288
- /** These are report messages added by Tidy's accessibility module.
288
+ /** These are report messages added by Tidy's accessibility module.
289
289
** Note that commented out items don't have checks for them at this time,
290
290
** and it was probably intended that some test would eventually be written.
291
291
*/
@@ -533,7 +533,7 @@ extern "C" {
533
533
534
534
/** @addtogroup public_enumerations
535
535
** @{ */
536
-
536
+
537
537
/** @name Configuration Options Enumerations
538
538
**
539
539
** These enumerators are used to define available configuration options and
@@ -557,7 +557,7 @@ extern "C" {
557
557
typedef enum
558
558
{
559
559
TidyUnknownOption = 0 , /**< Unknown option! */
560
-
560
+
561
561
TidyAccessibilityCheckLevel , /**< Accessibility check level */
562
562
TidyAltText , /**< Default text for alt attribute */
563
563
TidyAnchorAsName , /**< Define anchors as name attributes */
@@ -734,7 +734,7 @@ typedef enum
734
734
} TidyUseCustomTagsState ;
735
735
736
736
737
- /** TidyNewline option values to control output line endings.
737
+ /** TidyNewline option values to control output line endings.
738
738
** @remark This enum's starting value is guaranteed to remain stable.
739
739
*/
740
740
typedef enum
@@ -744,7 +744,7 @@ typedef enum
744
744
TidyCR /**< Use Macintosh style: CR */
745
745
} TidyLineEnding ;
746
746
747
-
747
+
748
748
/** TidyEncodingOptions option values specify the input and/or output encoding.
749
749
** @remark This enum's starting value is guaranteed to remain stable.
750
750
*/
@@ -1169,7 +1169,7 @@ typedef enum
1169
1169
TidyAttr_XML_LANG , /**< XML_LANG= */
1170
1170
TidyAttr_XML_SPACE , /**< XML_SPACE= */
1171
1171
TidyAttr_XMLNS , /**< XMLNS= */
1172
-
1172
+
1173
1173
TidyAttr_EVENT , /**< EVENT= */
1174
1174
TidyAttr_METHODS , /**< METHODS= */
1175
1175
TidyAttr_N , /**< N= */
@@ -1336,17 +1336,33 @@ typedef enum
1336
1336
TidyAttr_RESOURCE , /**< RESOURCE= */
1337
1337
TidyAttr_TYPEOF , /**< TYPEOF= */
1338
1338
TidyAttr_VOCAB , /**< VOCAB= */
1339
-
1339
+
1340
1340
TidyAttr_INTEGRITY , /**< INTEGRITY= */
1341
-
1341
+
1342
1342
TidyAttr_AS , /**< AS= */
1343
-
1343
+
1344
1344
TidyAttr_XMLNSXLINK , /**< svg xmls:xlink="url" */
1345
-
1345
+
1346
+ /* SVG paint attributes (SVG 1.1) */
1347
+ TidyAttr_FILL , /**< FILL= */
1348
+ TidyAttr_FILLRULE , /**< FILLRULE= */
1349
+ TidyAttr_STROKE , /**< STROKE= */
1350
+ TidyAttr_STROKEDASHARRAY , /**< STROKEDASHARRAY= */
1351
+ TidyAttr_STROKEDASHOFFSET , /**< STROKEDASHOFFSET= */
1352
+ TidyAttr_STROKELINECAP , /**< STROKELINECAP= */
1353
+ TidyAttr_STROKELINEJOIN , /**< STROKELINEJOIN= */
1354
+ TidyAttr_STROKEMITERLIMIT , /**< STROKEMITERLIMIT= */
1355
+ TidyAttr_STROKEWIDTH , /**< STROKEWIDTH= */
1356
+ TidyAttr_COLORINTERPOLATION , /**< COLORINTERPOLATION= */
1357
+ TidyAttr_COLORRENDERING , /**< COLORRENDERING= */
1358
+ TidyAttr_OPACITY , /**< OPACITY= */
1359
+ TidyAttr_STROKEOPACITY , /**< STROKEOPACITY= */
1360
+ TidyAttr_FILLOPACITY , /**< FILLOPACITY= */
1361
+
1346
1362
N_TIDY_ATTRIBS /**< Must be last */
1347
1363
} TidyAttrId ;
1348
1364
1349
-
1365
+
1350
1366
/** @}
1351
1367
** @name I/O and Message Handling Interface
1352
1368
**
@@ -1378,7 +1394,7 @@ typedef enum
1378
1394
TidyDialogueDoc = TidyDialogueFootnote , /**< Dialogue: Deprecated (renamed) */
1379
1395
} TidyReportLevel ;
1380
1396
1381
-
1397
+
1382
1398
/** Indicates the data type of a format string parameter used when Tidy
1383
1399
** emits reports and dialogue as part of the messaging callback functions.
1384
1400
** See `messageobj.h` for more information on this API.
@@ -1396,12 +1412,12 @@ typedef enum
1396
1412
/** @} */
1397
1413
/** @} end group public_enumerations*/
1398
1414
1399
-
1415
+
1400
1416
/* MARK: - Public Enumerations (con't) */
1401
1417
/** @addtogroup public_enumerations
1402
1418
** @{ */
1403
1419
1404
- /** @name Messages
1420
+ /** @name Messages
1405
1421
** @{ */
1406
1422
1407
1423
/** The enumeration contains a list of every possible string that Tidy and the
0 commit comments