blitz-pdf 0.0.0-stage → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (370) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +391 -2
  3. package/THIRD_PARTY_NOTICES.md +25 -0
  4. package/assets/icon.svg +4 -0
  5. package/dist/api.d.ts +7 -0
  6. package/dist/api.d.ts.map +1 -0
  7. package/dist/api.js +46 -0
  8. package/dist/api.js.map +1 -0
  9. package/dist/assets.d.ts +7 -0
  10. package/dist/assets.d.ts.map +1 -0
  11. package/dist/assets.js +52 -0
  12. package/dist/assets.js.map +1 -0
  13. package/dist/browser.d.ts +3 -0
  14. package/dist/browser.d.ts.map +1 -0
  15. package/dist/browser.js +3 -0
  16. package/dist/browser.js.map +1 -0
  17. package/dist/node.d.ts +3 -0
  18. package/dist/node.d.ts.map +1 -0
  19. package/dist/node.js +10 -0
  20. package/dist/node.js.map +1 -0
  21. package/dist/options.d.ts +24 -0
  22. package/dist/options.d.ts.map +1 -0
  23. package/dist/options.js +135 -0
  24. package/dist/options.js.map +1 -0
  25. package/dist/types.d.ts +51 -0
  26. package/dist/types.d.ts.map +1 -0
  27. package/dist/types.js +2 -0
  28. package/dist/types.js.map +1 -0
  29. package/examples/bun.ts +8 -0
  30. package/examples/german-invoice/README.md +70 -0
  31. package/examples/german-invoice/data.mjs +83 -0
  32. package/examples/german-invoice/invoice.css +59 -0
  33. package/examples/german-invoice/template.mjs +49 -0
  34. package/examples/german-invoice.mjs +20 -0
  35. package/examples/invoice.html +29 -0
  36. package/examples/node.mjs +8 -0
  37. package/examples/pagination.html +40 -0
  38. package/examples/pagination.mjs +8 -0
  39. package/licenses/DejaVu.txt +187 -0
  40. package/licenses/RUST_DEPENDENCIES.txt +11577 -0
  41. package/package.json +89 -4
  42. package/src/api.ts +44 -0
  43. package/src/assets.ts +43 -0
  44. package/src/browser.ts +6 -0
  45. package/src/node.ts +12 -0
  46. package/src/options.ts +101 -0
  47. package/src/types.ts +49 -0
  48. package/vendor/README.md +17 -0
  49. package/vendor/stylo/.cargo-ok +1 -0
  50. package/vendor/stylo/.cargo_vcs_info.json +6 -0
  51. package/vendor/stylo/Cargo.lock +1485 -0
  52. package/vendor/stylo/Cargo.toml +274 -0
  53. package/vendor/stylo/LICENSE +373 -0
  54. package/vendor/stylo/README.md +6 -0
  55. package/vendor/stylo/applicable_declarations.rs +328 -0
  56. package/vendor/stylo/author_styles.rs +79 -0
  57. package/vendor/stylo/bezier.rs +176 -0
  58. package/vendor/stylo/bloom.rs +414 -0
  59. package/vendor/stylo/build.rs +91 -0
  60. package/vendor/stylo/build_gecko.rs +393 -0
  61. package/vendor/stylo/color/color_function.rs +601 -0
  62. package/vendor/stylo/color/component.rs +207 -0
  63. package/vendor/stylo/color/convert.rs +935 -0
  64. package/vendor/stylo/color/gamut/raytrace.rs +265 -0
  65. package/vendor/stylo/color/gamut.rs +227 -0
  66. package/vendor/stylo/color/mix.rs +645 -0
  67. package/vendor/stylo/color/mod.rs +750 -0
  68. package/vendor/stylo/color/parsing.rs +770 -0
  69. package/vendor/stylo/color/to_css.rs +297 -0
  70. package/vendor/stylo/context.rs +716 -0
  71. package/vendor/stylo/counter_style/mod.rs +754 -0
  72. package/vendor/stylo/counter_style/predefined.rs +61 -0
  73. package/vendor/stylo/counter_style/update_predefined.py +35 -0
  74. package/vendor/stylo/custom_properties.rs +2023 -0
  75. package/vendor/stylo/custom_properties_map.rs +220 -0
  76. package/vendor/stylo/data.rs +693 -0
  77. package/vendor/stylo/device/gecko.rs +486 -0
  78. package/vendor/stylo/device/mod.rs +304 -0
  79. package/vendor/stylo/device/servo.rs +507 -0
  80. package/vendor/stylo/dom.rs +1164 -0
  81. package/vendor/stylo/dom_apis.rs +937 -0
  82. package/vendor/stylo/driver.rs +172 -0
  83. package/vendor/stylo/error_reporting.rs +484 -0
  84. package/vendor/stylo/font_face.rs +558 -0
  85. package/vendor/stylo/font_metrics.rs +124 -0
  86. package/vendor/stylo/gecko/anon_boxes.toml +113 -0
  87. package/vendor/stylo/gecko/arc_types.rs +211 -0
  88. package/vendor/stylo/gecko/conversions.rs +59 -0
  89. package/vendor/stylo/gecko/data.rs +222 -0
  90. package/vendor/stylo/gecko/media_features.rs +971 -0
  91. package/vendor/stylo/gecko/mod.rs +20 -0
  92. package/vendor/stylo/gecko/non_ts_pseudo_class_list.rs +119 -0
  93. package/vendor/stylo/gecko/pseudo_element.rs +640 -0
  94. package/vendor/stylo/gecko/pseudo_element_definition.mako.rs +298 -0
  95. package/vendor/stylo/gecko/pseudo_elements.py +137 -0
  96. package/vendor/stylo/gecko/pseudo_elements.toml +197 -0
  97. package/vendor/stylo/gecko/regen_pseudo_elements.py +33 -0
  98. package/vendor/stylo/gecko/restyle_damage.rs +127 -0
  99. package/vendor/stylo/gecko/selector_parser.rs +627 -0
  100. package/vendor/stylo/gecko/snapshot.rs +202 -0
  101. package/vendor/stylo/gecko/snapshot_helpers.rs +334 -0
  102. package/vendor/stylo/gecko/traversal.rs +52 -0
  103. package/vendor/stylo/gecko/wrapper.rs +2258 -0
  104. package/vendor/stylo/gecko_bindings/mod.rs +34 -0
  105. package/vendor/stylo/gecko_bindings/sugar/mod.rs +12 -0
  106. package/vendor/stylo/gecko_bindings/sugar/ns_com_ptr.rs +15 -0
  107. package/vendor/stylo/gecko_bindings/sugar/ns_compatibility.rs +19 -0
  108. package/vendor/stylo/gecko_bindings/sugar/ns_style_auto_array.rs +111 -0
  109. package/vendor/stylo/gecko_bindings/sugar/origin_flags.rs +31 -0
  110. package/vendor/stylo/gecko_bindings/sugar/ownership.rs +70 -0
  111. package/vendor/stylo/gecko_bindings/sugar/refptr.rs +299 -0
  112. package/vendor/stylo/gecko_string_cache/mod.rs +543 -0
  113. package/vendor/stylo/gecko_string_cache/namespace.rs +106 -0
  114. package/vendor/stylo/global_style_data.rs +224 -0
  115. package/vendor/stylo/invalidation/element/document_state.rs +156 -0
  116. package/vendor/stylo/invalidation/element/element_wrapper.rs +432 -0
  117. package/vendor/stylo/invalidation/element/invalidation_map.rs +1631 -0
  118. package/vendor/stylo/invalidation/element/invalidator.rs +1470 -0
  119. package/vendor/stylo/invalidation/element/mod.rs +13 -0
  120. package/vendor/stylo/invalidation/element/relative_selector.rs +1399 -0
  121. package/vendor/stylo/invalidation/element/restyle_hints.rs +226 -0
  122. package/vendor/stylo/invalidation/element/state_and_attributes.rs +756 -0
  123. package/vendor/stylo/invalidation/media_queries.rs +144 -0
  124. package/vendor/stylo/invalidation/mod.rs +10 -0
  125. package/vendor/stylo/invalidation/stylesheets.rs +745 -0
  126. package/vendor/stylo/invalidation/viewport_units.rs +71 -0
  127. package/vendor/stylo/lib.rs +336 -0
  128. package/vendor/stylo/logical_geometry.rs +1684 -0
  129. package/vendor/stylo/macros.rs +70 -0
  130. package/vendor/stylo/matching.rs +1226 -0
  131. package/vendor/stylo/media_queries/media_list.rs +168 -0
  132. package/vendor/stylo/media_queries/media_query.rs +190 -0
  133. package/vendor/stylo/media_queries/mod.rs +13 -0
  134. package/vendor/stylo/parallel.rs +205 -0
  135. package/vendor/stylo/parser.rs +276 -0
  136. package/vendor/stylo/piecewise_linear.rs +282 -0
  137. package/vendor/stylo/prefs.rs +33 -0
  138. package/vendor/stylo/properties/build.py +119 -0
  139. package/vendor/stylo/properties/cascade.rs +2704 -0
  140. package/vendor/stylo/properties/computed_value_flags.rs +206 -0
  141. package/vendor/stylo/properties/counted_unknown_properties.py +104 -0
  142. package/vendor/stylo/properties/counter_style_descriptors.toml +45 -0
  143. package/vendor/stylo/properties/data.py +1375 -0
  144. package/vendor/stylo/properties/declaration_block.rs +1788 -0
  145. package/vendor/stylo/properties/font_face_descriptors.toml +50 -0
  146. package/vendor/stylo/properties/gecko.mako.rs +1555 -0
  147. package/vendor/stylo/properties/helpers/animated_properties.mako.rs +800 -0
  148. package/vendor/stylo/properties/helpers.mako.rs +812 -0
  149. package/vendor/stylo/properties/longhands.toml +4305 -0
  150. package/vendor/stylo/properties/mod.rs +1857 -0
  151. package/vendor/stylo/properties/properties.html.mako +31 -0
  152. package/vendor/stylo/properties/properties.mako.rs +3103 -0
  153. package/vendor/stylo/properties/property_descriptors.toml +18 -0
  154. package/vendor/stylo/properties/shorthands.rs +4241 -0
  155. package/vendor/stylo/properties/shorthands.toml +575 -0
  156. package/vendor/stylo/properties/vendored_python/mako-1.3.10-py3-none-any.whl +0 -0
  157. package/vendor/stylo/properties/vendored_python/markupsafe/LICENSE.txt +28 -0
  158. package/vendor/stylo/properties/vendored_python/markupsafe/__init__.py +384 -0
  159. package/vendor/stylo/properties/vendored_python/toml-0.10.2-py2.py3-none-any.whl +0 -0
  160. package/vendor/stylo/properties/view_transition_descriptors.toml +11 -0
  161. package/vendor/stylo/properties_and_values/mod.rs +12 -0
  162. package/vendor/stylo/properties_and_values/registry.rs +65 -0
  163. package/vendor/stylo/properties_and_values/rule.rs +331 -0
  164. package/vendor/stylo/properties_and_values/syntax/ascii.rs +60 -0
  165. package/vendor/stylo/properties_and_values/syntax/data_type.rs +146 -0
  166. package/vendor/stylo/properties_and_values/syntax/mod.rs +437 -0
  167. package/vendor/stylo/properties_and_values/value.rs +758 -0
  168. package/vendor/stylo/queries/condition.rs +996 -0
  169. package/vendor/stylo/queries/feature.rs +199 -0
  170. package/vendor/stylo/queries/feature_expression.rs +1170 -0
  171. package/vendor/stylo/queries/mod.rs +19 -0
  172. package/vendor/stylo/queries/values.rs +46 -0
  173. package/vendor/stylo/rule_cache.rs +267 -0
  174. package/vendor/stylo/rule_collector.rs +554 -0
  175. package/vendor/stylo/rule_tree/core.rs +787 -0
  176. package/vendor/stylo/rule_tree/level.rs +396 -0
  177. package/vendor/stylo/rule_tree/map.rs +201 -0
  178. package/vendor/stylo/rule_tree/mod.rs +427 -0
  179. package/vendor/stylo/rule_tree/source.rs +80 -0
  180. package/vendor/stylo/rule_tree/unsafe_box.rs +78 -0
  181. package/vendor/stylo/scoped_tls.rs +80 -0
  182. package/vendor/stylo/selector_map.rs +1050 -0
  183. package/vendor/stylo/selector_parser.rs +305 -0
  184. package/vendor/stylo/servo/animation.rs +1922 -0
  185. package/vendor/stylo/servo/attr.rs +714 -0
  186. package/vendor/stylo/servo/encoding_support.rs +81 -0
  187. package/vendor/stylo/servo/media_features.rs +254 -0
  188. package/vendor/stylo/servo/mod.rs +16 -0
  189. package/vendor/stylo/servo/restyle_damage.rs +215 -0
  190. package/vendor/stylo/servo/selector_parser.rs +1036 -0
  191. package/vendor/stylo/servo/shadow_parts.rs +207 -0
  192. package/vendor/stylo/shared_lock.rs +271 -0
  193. package/vendor/stylo/sharing/checks.rs +281 -0
  194. package/vendor/stylo/sharing/mod.rs +1000 -0
  195. package/vendor/stylo/simple_buckets_map.rs +52 -0
  196. package/vendor/stylo/str.rs +168 -0
  197. package/vendor/stylo/style_adjuster.rs +1086 -0
  198. package/vendor/stylo/style_resolver.rs +658 -0
  199. package/vendor/stylo/stylesheet_set.rs +658 -0
  200. package/vendor/stylo/stylesheets/appearance_base_rule.rs +51 -0
  201. package/vendor/stylo/stylesheets/container_rule.rs +769 -0
  202. package/vendor/stylo/stylesheets/counter_style_rule.rs +7 -0
  203. package/vendor/stylo/stylesheets/document_rule.rs +272 -0
  204. package/vendor/stylo/stylesheets/font_face_rule.rs +7 -0
  205. package/vendor/stylo/stylesheets/font_feature_values_rule.rs +481 -0
  206. package/vendor/stylo/stylesheets/font_palette_values_rule.rs +304 -0
  207. package/vendor/stylo/stylesheets/import_rule.rs +259 -0
  208. package/vendor/stylo/stylesheets/keyframes_rule.rs +733 -0
  209. package/vendor/stylo/stylesheets/layer_rule.rs +221 -0
  210. package/vendor/stylo/stylesheets/loader.rs +29 -0
  211. package/vendor/stylo/stylesheets/margin_rule.rs +190 -0
  212. package/vendor/stylo/stylesheets/media_rule.rs +191 -0
  213. package/vendor/stylo/stylesheets/mod.rs +918 -0
  214. package/vendor/stylo/stylesheets/namespace_rule.rs +43 -0
  215. package/vendor/stylo/stylesheets/nested_declarations_rule.rs +51 -0
  216. package/vendor/stylo/stylesheets/origin.rs +249 -0
  217. package/vendor/stylo/stylesheets/page_rule.rs +354 -0
  218. package/vendor/stylo/stylesheets/position_try_rule.rs +68 -0
  219. package/vendor/stylo/stylesheets/property_rule.rs +5 -0
  220. package/vendor/stylo/stylesheets/rule_list.rs +167 -0
  221. package/vendor/stylo/stylesheets/rule_parser.rs +1189 -0
  222. package/vendor/stylo/stylesheets/rules_iterator.rs +397 -0
  223. package/vendor/stylo/stylesheets/scope_rule.rs +511 -0
  224. package/vendor/stylo/stylesheets/starting_style_rule.rs +54 -0
  225. package/vendor/stylo/stylesheets/style_rule.rs +80 -0
  226. package/vendor/stylo/stylesheets/stylesheet.rs +570 -0
  227. package/vendor/stylo/stylesheets/supports_rule.rs +486 -0
  228. package/vendor/stylo/stylesheets/view_transition_rule.rs +81 -0
  229. package/vendor/stylo/stylist.rs +5076 -0
  230. package/vendor/stylo/thread_state.rs +87 -0
  231. package/vendor/stylo/traversal.rs +765 -0
  232. package/vendor/stylo/traversal_flags.rs +68 -0
  233. package/vendor/stylo/typed_om/mod.rs +981 -0
  234. package/vendor/stylo/typed_om/numeric.rs +128 -0
  235. package/vendor/stylo/typed_om/numeric_declaration.rs +93 -0
  236. package/vendor/stylo/typed_om/numeric_type.rs +640 -0
  237. package/vendor/stylo/typed_om/sum_value.rs +426 -0
  238. package/vendor/stylo/url/gecko.rs +367 -0
  239. package/vendor/stylo/url/mod.rs +71 -0
  240. package/vendor/stylo/url/servo.rs +239 -0
  241. package/vendor/stylo/use_counters/mod.rs +137 -0
  242. package/vendor/stylo/values/animated/color.rs +103 -0
  243. package/vendor/stylo/values/animated/effects.rs +26 -0
  244. package/vendor/stylo/values/animated/font.rs +37 -0
  245. package/vendor/stylo/values/animated/grid.rs +161 -0
  246. package/vendor/stylo/values/animated/lists.rs +141 -0
  247. package/vendor/stylo/values/animated/mod.rs +550 -0
  248. package/vendor/stylo/values/animated/svg.rs +46 -0
  249. package/vendor/stylo/values/animated/text.rs +58 -0
  250. package/vendor/stylo/values/animated/transform.rs +1592 -0
  251. package/vendor/stylo/values/computed/align.rs +90 -0
  252. package/vendor/stylo/values/computed/angle.rs +130 -0
  253. package/vendor/stylo/values/computed/animation.rs +124 -0
  254. package/vendor/stylo/values/computed/background.rs +13 -0
  255. package/vendor/stylo/values/computed/basic_shape.rs +267 -0
  256. package/vendor/stylo/values/computed/border.rs +163 -0
  257. package/vendor/stylo/values/computed/box.rs +267 -0
  258. package/vendor/stylo/values/computed/calc.rs +334 -0
  259. package/vendor/stylo/values/computed/color.rs +161 -0
  260. package/vendor/stylo/values/computed/column.rs +11 -0
  261. package/vendor/stylo/values/computed/corner_shape.rs +155 -0
  262. package/vendor/stylo/values/computed/counters.rs +26 -0
  263. package/vendor/stylo/values/computed/easing.rs +109 -0
  264. package/vendor/stylo/values/computed/effects.rs +30 -0
  265. package/vendor/stylo/values/computed/flex.rs +19 -0
  266. package/vendor/stylo/values/computed/font.rs +1517 -0
  267. package/vendor/stylo/values/computed/image.rs +273 -0
  268. package/vendor/stylo/values/computed/length.rs +576 -0
  269. package/vendor/stylo/values/computed/length_percentage.rs +1055 -0
  270. package/vendor/stylo/values/computed/list.rs +16 -0
  271. package/vendor/stylo/values/computed/mod.rs +1141 -0
  272. package/vendor/stylo/values/computed/motion.rs +73 -0
  273. package/vendor/stylo/values/computed/outline.rs +7 -0
  274. package/vendor/stylo/values/computed/page.rs +77 -0
  275. package/vendor/stylo/values/computed/param.rs +9 -0
  276. package/vendor/stylo/values/computed/percentage.rs +143 -0
  277. package/vendor/stylo/values/computed/position.rs +273 -0
  278. package/vendor/stylo/values/computed/ratio.rs +88 -0
  279. package/vendor/stylo/values/computed/rect.rs +19 -0
  280. package/vendor/stylo/values/computed/resolution.rs +76 -0
  281. package/vendor/stylo/values/computed/svg.rs +66 -0
  282. package/vendor/stylo/values/computed/table.rs +7 -0
  283. package/vendor/stylo/values/computed/text.rs +199 -0
  284. package/vendor/stylo/values/computed/time.rs +83 -0
  285. package/vendor/stylo/values/computed/transform.rs +559 -0
  286. package/vendor/stylo/values/computed/tree_counting.rs +30 -0
  287. package/vendor/stylo/values/computed/ui.rs +23 -0
  288. package/vendor/stylo/values/computed/url.rs +12 -0
  289. package/vendor/stylo/values/distance.rs +139 -0
  290. package/vendor/stylo/values/generics/animation.rs +363 -0
  291. package/vendor/stylo/values/generics/background.rs +65 -0
  292. package/vendor/stylo/values/generics/basic_shape.rs +1389 -0
  293. package/vendor/stylo/values/generics/border.rs +303 -0
  294. package/vendor/stylo/values/generics/box.rs +552 -0
  295. package/vendor/stylo/values/generics/calc.rs +2986 -0
  296. package/vendor/stylo/values/generics/color.rs +318 -0
  297. package/vendor/stylo/values/generics/column.rs +44 -0
  298. package/vendor/stylo/values/generics/counters.rs +320 -0
  299. package/vendor/stylo/values/generics/easing.rs +132 -0
  300. package/vendor/stylo/values/generics/effects.rs +131 -0
  301. package/vendor/stylo/values/generics/flex.rs +34 -0
  302. package/vendor/stylo/values/generics/font.rs +376 -0
  303. package/vendor/stylo/values/generics/grid.rs +962 -0
  304. package/vendor/stylo/values/generics/image.rs +653 -0
  305. package/vendor/stylo/values/generics/length.rs +656 -0
  306. package/vendor/stylo/values/generics/mod.rs +303 -0
  307. package/vendor/stylo/values/generics/motion.rs +274 -0
  308. package/vendor/stylo/values/generics/page.rs +167 -0
  309. package/vendor/stylo/values/generics/position.rs +669 -0
  310. package/vendor/stylo/values/generics/ratio.rs +88 -0
  311. package/vendor/stylo/values/generics/rect.rs +147 -0
  312. package/vendor/stylo/values/generics/size.rs +102 -0
  313. package/vendor/stylo/values/generics/svg.rs +226 -0
  314. package/vendor/stylo/values/generics/text.rs +268 -0
  315. package/vendor/stylo/values/generics/transform.rs +1157 -0
  316. package/vendor/stylo/values/generics/ui.rs +147 -0
  317. package/vendor/stylo/values/generics/url.rs +51 -0
  318. package/vendor/stylo/values/mod.rs +820 -0
  319. package/vendor/stylo/values/resolved/animation.rs +33 -0
  320. package/vendor/stylo/values/resolved/color.rs +53 -0
  321. package/vendor/stylo/values/resolved/counters.rs +45 -0
  322. package/vendor/stylo/values/resolved/mod.rs +316 -0
  323. package/vendor/stylo/values/specified/align.rs +711 -0
  324. package/vendor/stylo/values/specified/angle.rs +407 -0
  325. package/vendor/stylo/values/specified/animation.rs +921 -0
  326. package/vendor/stylo/values/specified/background.rs +270 -0
  327. package/vendor/stylo/values/specified/basic_shape.rs +986 -0
  328. package/vendor/stylo/values/specified/border.rs +430 -0
  329. package/vendor/stylo/values/specified/box.rs +2231 -0
  330. package/vendor/stylo/values/specified/calc.rs +1657 -0
  331. package/vendor/stylo/values/specified/color.rs +1210 -0
  332. package/vendor/stylo/values/specified/column.rs +11 -0
  333. package/vendor/stylo/values/specified/corner_shape.rs +152 -0
  334. package/vendor/stylo/values/specified/counters.rs +242 -0
  335. package/vendor/stylo/values/specified/easing.rs +225 -0
  336. package/vendor/stylo/values/specified/effects.rs +421 -0
  337. package/vendor/stylo/values/specified/flex.rs +42 -0
  338. package/vendor/stylo/values/specified/font.rs +2103 -0
  339. package/vendor/stylo/values/specified/frequency.rs +39 -0
  340. package/vendor/stylo/values/specified/grid.rs +407 -0
  341. package/vendor/stylo/values/specified/image.rs +1385 -0
  342. package/vendor/stylo/values/specified/intersection_observer.rs +80 -0
  343. package/vendor/stylo/values/specified/length.rs +2024 -0
  344. package/vendor/stylo/values/specified/list.rs +190 -0
  345. package/vendor/stylo/values/specified/mod.rs +531 -0
  346. package/vendor/stylo/values/specified/motion.rs +316 -0
  347. package/vendor/stylo/values/specified/number.rs +603 -0
  348. package/vendor/stylo/values/specified/outline.rs +69 -0
  349. package/vendor/stylo/values/specified/page.rs +94 -0
  350. package/vendor/stylo/values/specified/param.rs +121 -0
  351. package/vendor/stylo/values/specified/percentage.rs +364 -0
  352. package/vendor/stylo/values/specified/position.rs +2247 -0
  353. package/vendor/stylo/values/specified/ratio.rs +29 -0
  354. package/vendor/stylo/values/specified/rect.rs +28 -0
  355. package/vendor/stylo/values/specified/resolution.rs +237 -0
  356. package/vendor/stylo/values/specified/source_size_list.rs +135 -0
  357. package/vendor/stylo/values/specified/svg.rs +427 -0
  358. package/vendor/stylo/values/specified/svg_path.rs +1115 -0
  359. package/vendor/stylo/values/specified/table.rs +38 -0
  360. package/vendor/stylo/values/specified/text.rs +1561 -0
  361. package/vendor/stylo/values/specified/time.rs +313 -0
  362. package/vendor/stylo/values/specified/transform.rs +599 -0
  363. package/vendor/stylo/values/specified/tree_counting.rs +32 -0
  364. package/vendor/stylo/values/specified/ui.rs +344 -0
  365. package/vendor/stylo/values/specified/url.rs +12 -0
  366. package/vendor/stylo/values/tagged_numeric.rs +253 -0
  367. package/wasm/blitz_pdf.d.ts +67 -0
  368. package/wasm/blitz_pdf.js +699 -0
  369. package/wasm/blitz_pdf_bg.wasm +0 -0
  370. package/wasm/blitz_pdf_bg.wasm.d.ts +20 -0
@@ -0,0 +1,575 @@
1
+ [margin]
2
+ flags = "SCROLL_LINKED_EFFECTIVE"
3
+ sub_properties = ["margin-top", "margin-right", "margin-bottom", "margin-left"]
4
+ spec = "https://drafts.csswg.org/css-box/#propdef-margin"
5
+ rule_types_allowed = ["style", "keyframe", "page", "scope", "page", "position-try"]
6
+ kind = "four_sides"
7
+ allow_quirks = true
8
+
9
+ [margin-block]
10
+ sub_properties = ["margin-block-start", "margin-block-end"]
11
+ spec = "https://drafts.csswg.org/css-logical/#propdef-margin-block"
12
+ rule_types_allowed = ["style", "keyframe", "page", "scope", "position-try"]
13
+ kind = "two_properties"
14
+
15
+ [margin-inline]
16
+ sub_properties = ["margin-inline-start", "margin-inline-end"]
17
+ spec = "https://drafts.csswg.org/css-logical/#propdef-margin-inline"
18
+ rule_types_allowed = ["style", "keyframe", "page", "scope", "position-try"]
19
+ kind = "two_properties"
20
+
21
+ [scroll-margin]
22
+ engine = "gecko"
23
+ sub_properties = ["scroll-margin-top", "scroll-margin-right", "scroll-margin-bottom", "scroll-margin-left"]
24
+ spec = "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin"
25
+ kind = "four_sides"
26
+
27
+ [scroll-margin-block]
28
+ engine = "gecko"
29
+ sub_properties = ["scroll-margin-block-start", "scroll-margin-block-end"]
30
+ spec = "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-block"
31
+ kind = "two_properties"
32
+
33
+ [scroll-margin-inline]
34
+ engine = "gecko"
35
+ sub_properties = ["scroll-margin-inline-start", "scroll-margin-inline-end"]
36
+ spec = "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-inline"
37
+ kind = "two_properties"
38
+
39
+ [padding]
40
+ sub_properties = ["padding-top", "padding-right", "padding-bottom", "padding-left"]
41
+ spec = "https://drafts.csswg.org/css-box/#propdef-padding"
42
+ kind = "four_sides"
43
+ allow_quirks = true
44
+
45
+ [padding-block]
46
+ sub_properties = ["padding-block-start", "padding-block-end"]
47
+ spec = "https://drafts.csswg.org/css-logical/#propdef-padding-block"
48
+ rule_types_allowed = ["style", "keyframe", "page", "scope", "position-try"]
49
+ kind = "two_properties"
50
+
51
+ [padding-inline]
52
+ sub_properties = ["padding-inline-start", "padding-inline-end"]
53
+ spec = "https://drafts.csswg.org/css-logical/#propdef-padding-inline"
54
+ rule_types_allowed = ["style", "keyframe", "page", "scope", "position-try"]
55
+ kind = "two_properties"
56
+
57
+ [scroll-padding]
58
+ engine = "gecko"
59
+ sub_properties = ["scroll-padding-top", "scroll-padding-right", "scroll-padding-bottom", "scroll-padding-left"]
60
+ spec = "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding"
61
+ kind = "four_sides"
62
+
63
+ [scroll-padding-block]
64
+ engine = "gecko"
65
+ sub_properties = ["scroll-padding-block-start", "scroll-padding-block-end"]
66
+ spec = "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-block"
67
+ kind = "two_properties"
68
+
69
+ [scroll-padding-inline]
70
+ engine = "gecko"
71
+ sub_properties = ["scroll-padding-inline-start", "scroll-padding-inline-end"]
72
+ spec = "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-inline"
73
+ kind = "two_properties"
74
+
75
+ [border-color]
76
+ sub_properties = ["border-top-color", "border-right-color", "border-bottom-color", "border-left-color"]
77
+ spec = "https://drafts.csswg.org/css-backgrounds/#border-color"
78
+ kind = "four_sides"
79
+ allow_quirks = true
80
+
81
+ [border-style]
82
+ sub_properties = ["border-top-style", "border-right-style", "border-bottom-style", "border-left-style"]
83
+ spec = "https://drafts.csswg.org/css-backgrounds/#border-style"
84
+ kind = "four_sides"
85
+
86
+ [border-width]
87
+ sub_properties = ["border-top-width", "border-right-width", "border-bottom-width", "border-left-width"]
88
+ spec = "https://drafts.csswg.org/css-backgrounds/#border-width"
89
+ kind = "four_sides"
90
+ allow_quirks = true
91
+
92
+ [border-block-color]
93
+ sub_properties = ["border-block-start-color", "border-block-end-color"]
94
+ spec = "https://drafts.csswg.org/css-logical/#propdef-border-block-color"
95
+ kind = "two_properties"
96
+
97
+ [border-inline-color]
98
+ sub_properties = ["border-inline-start-color", "border-inline-end-color"]
99
+ spec = "https://drafts.csswg.org/css-logical/#propdef-border-inline-color"
100
+ kind = "two_properties"
101
+
102
+ [border-block-width]
103
+ sub_properties = ["border-block-start-width", "border-block-end-width"]
104
+ spec = "https://drafts.csswg.org/css-logical/#propdef-border-block-width"
105
+ kind = "two_properties"
106
+
107
+ [border-inline-width]
108
+ sub_properties = ["border-inline-start-width", "border-inline-end-width"]
109
+ spec = "https://drafts.csswg.org/css-logical/#propdef-border-inline-width"
110
+ kind = "two_properties"
111
+
112
+ [border-block-style]
113
+ sub_properties = ["border-block-start-style", "border-block-end-style"]
114
+ spec = "https://drafts.csswg.org/css-logical/#propdef-border-block-style"
115
+ kind = "two_properties"
116
+
117
+ [border-inline-style]
118
+ sub_properties = ["border-inline-start-style", "border-inline-end-style"]
119
+ spec = "https://drafts.csswg.org/css-logical/#propdef-border-inline-style"
120
+ kind = "two_properties"
121
+
122
+ [border-top]
123
+ sub_properties = ["border-top-width", "border-top-style", "border-top-color"]
124
+ spec = "https://drafts.csswg.org/css-backgrounds-3/#propdef-border-top"
125
+ kind = "single_border"
126
+
127
+ [border-right]
128
+ sub_properties = ["border-right-width", "border-right-style", "border-right-color"]
129
+ spec = "https://drafts.csswg.org/css-backgrounds-3/#propdef-border-right"
130
+ kind = "single_border"
131
+
132
+ [border-bottom]
133
+ sub_properties = ["border-bottom-width", "border-bottom-style", "border-bottom-color"]
134
+ spec = "https://drafts.csswg.org/css-backgrounds-3/#propdef-border-top"
135
+ kind = "single_border"
136
+
137
+ [border-left]
138
+ sub_properties = ["border-left-width", "border-left-style", "border-left-color"]
139
+ spec = "https://drafts.csswg.org/css-backgrounds-3/#propdef-border-left"
140
+ kind = "single_border"
141
+
142
+ [border-block-start]
143
+ sub_properties = ["border-block-start-width", "border-block-start-style", "border-block-start-color"]
144
+ spec = "https://drafts.csswg.org/css-logical/#propdef-border-block-start"
145
+ kind = "single_border"
146
+
147
+ [border-block-end]
148
+ sub_properties = ["border-block-end-width", "border-block-end-style", "border-block-end-color"]
149
+ spec = "https://drafts.csswg.org/css-logical/#propdef-border-block-end"
150
+ kind = "single_border"
151
+
152
+ [border-inline-start]
153
+ sub_properties = ["border-inline-start-width", "border-inline-start-style", "border-inline-start-color"]
154
+ spec = "https://drafts.csswg.org/css-logical/#propdef-border-inline-start"
155
+ kind = "single_border"
156
+ extra_gecko_aliases = ["-moz-border-start"]
157
+
158
+ [border-inline-end]
159
+ sub_properties = ["border-inline-end-width", "border-inline-end-style", "border-inline-end-color"]
160
+ spec = "https://drafts.csswg.org/css-logical/#propdef-border-inline-end"
161
+ kind = "single_border"
162
+ extra_gecko_aliases = ["-moz-border-end"]
163
+
164
+ [border-block]
165
+ sub_properties = ["border-block-start-width", "border-block-start-style", "border-block-start-color", "border-block-end-width", "border-block-end-style", "border-block-end-color"]
166
+ spec = "https://drafts.csswg.org/css-logical/#propdef-border-block"
167
+
168
+ [border-inline]
169
+ sub_properties = ["border-inline-start-width", "border-inline-start-style", "border-inline-start-color", "border-inline-end-width", "border-inline-end-style", "border-inline-end-color"]
170
+ spec = "https://drafts.csswg.org/css-logical/#propdef-border-inline"
171
+
172
+ [border-image]
173
+ sub_properties = ["border-image-outset", "border-image-repeat", "border-image-slice", "border-image-source", "border-image-width"]
174
+ extra_prefixes = ["moz:layout.css.prefixes.border-image", "webkit"]
175
+ spec = "https://drafts.csswg.org/css-backgrounds-3/#border-image"
176
+
177
+ [border]
178
+ sub_properties = [
179
+ "border-top-width",
180
+ "border-top-style",
181
+ "border-top-color",
182
+ "border-right-width",
183
+ "border-right-style",
184
+ "border-right-color",
185
+ "border-bottom-width",
186
+ "border-bottom-style",
187
+ "border-bottom-color",
188
+ "border-left-width",
189
+ "border-left-style",
190
+ "border-left-color",
191
+ "border-image-outset",
192
+ "border-image-repeat",
193
+ "border-image-slice",
194
+ "border-image-source",
195
+ "border-image-width"
196
+ ]
197
+ spec = "https://drafts.csswg.org/css-backgrounds-3/#border"
198
+ derive_value_info = false
199
+
200
+ [overflow]
201
+ sub_properties = ["overflow-x", "overflow-y"]
202
+ spec="https://drafts.csswg.org/css-overflow/#propdef-overflow"
203
+ kind = "two_properties"
204
+
205
+ [overscroll-behavior]
206
+ servo_pref = "layout.unimplemented"
207
+ sub_properties = ["overscroll-behavior-x", "overscroll-behavior-y"]
208
+ spec = "https://wicg.github.io/overscroll-behavior/#overscroll-behavior-properties"
209
+ kind = "two_properties"
210
+
211
+ [container]
212
+ engine = "gecko"
213
+ sub_properties = ["container-name", "container-type"]
214
+ spec = "https://drafts.csswg.org/css-contain-3/#container-shorthand"
215
+
216
+ [vertical-align]
217
+ sub_properties = ["alignment-baseline", "baseline-shift", "baseline-source"]
218
+ spec = "https://drafts.csswg.org/css-inline-3/#transverse-alignment"
219
+
220
+ [page-break-before]
221
+ flags = "IS_LEGACY_SHORTHAND"
222
+ sub_properties = ["break-before"]
223
+ spec = "https://drafts.csswg.org/css-break-3/#page-break-properties"
224
+
225
+ [page-break-after]
226
+ flags = "IS_LEGACY_SHORTHAND"
227
+ sub_properties = ["break-after"]
228
+ spec = "https://drafts.csswg.org/css-break-3/#page-break-properties"
229
+
230
+ [page-break-inside]
231
+ flags = "IS_LEGACY_SHORTHAND"
232
+ sub_properties = ["break-inside"]
233
+ spec = "https://drafts.csswg.org/css-break-3/#page-break-properties"
234
+
235
+ [offset]
236
+ engine = "gecko"
237
+ sub_properties = ["offset-path", "offset-distance", "offset-rotate", "offset-anchor", "offset-position"]
238
+ spec = "https://drafts.fxtf.org/motion-1/#offset-shorthand"
239
+
240
+ [-webkit-perspective]
241
+ sub_properties = ["perspective"]
242
+ flags = "IS_LEGACY_SHORTHAND"
243
+ spec = "https://github.com/whatwg/compat/issues/100"
244
+ derive_serialize = true
245
+
246
+ [-webkit-transform]
247
+ sub_properties = ["transform"]
248
+ flags = "IS_LEGACY_SHORTHAND"
249
+ spec = "https://github.com/whatwg/compat/issues/100"
250
+ derive_serialize = true
251
+
252
+ [background]
253
+ sub_properties = [
254
+ "background-color",
255
+ "background-position-x",
256
+ "background-position-y",
257
+ "background-repeat",
258
+ "background-attachment",
259
+ "background-image",
260
+ "background-size",
261
+ "background-origin",
262
+ "background-clip"
263
+ ]
264
+ spec = "https://drafts.csswg.org/css-backgrounds/#the-background"
265
+
266
+ [inset]
267
+ sub_properties = ["top", "right", "bottom", "left"]
268
+ spec = "https://drafts.csswg.org/css-logical/#propdef-inset"
269
+ rule_types_allowed = ["style", "keyframe", "scope", "position-try"]
270
+ kind = "four_sides"
271
+
272
+ [inset-block]
273
+ sub_properties = ["inset-block-start", "inset-block-end"]
274
+ spec = "https://drafts.csswg.org/css-logical/#propdef-inset-block"
275
+ rule_types_allowed = ["style", "keyframe", "scope", "position-try"]
276
+ kind = "two_properties"
277
+
278
+ [inset-inline]
279
+ sub_properties = ["inset-inline-start", "inset-inline-end"]
280
+ spec = "https://drafts.csswg.org/css-logical/#propdef-inset-inline"
281
+ rule_types_allowed = ["style", "keyframe", "scope", "position-try"]
282
+ kind = "two_properties"
283
+
284
+ [contain-intrinsic-size]
285
+ engine = "gecko"
286
+ sub_properties = ["contain-intrinsic-width", "contain-intrinsic-height"]
287
+ spec = "https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override"
288
+ kind = "two_properties"
289
+
290
+ [flex-flow]
291
+ sub_properties = ["flex-direction", "flex-wrap"]
292
+ spec = "https://drafts.csswg.org/css-flexbox/#flex-flow-property"
293
+ extra_prefixes = ["webkit"]
294
+
295
+ [flex]
296
+ sub_properties = ["flex-grow", "flex-shrink", "flex-basis"]
297
+ spec = "https://drafts.csswg.org/css-flexbox/#flex-property"
298
+ extra_prefixes = ["webkit"]
299
+ derive_serialize = true
300
+
301
+ [gap]
302
+ sub_properties = ["row-gap", "column-gap"]
303
+ spec = "https://drafts.csswg.org/css-align-3/#gap-shorthand"
304
+ aliases = ["grid-gap"]
305
+
306
+ [grid-row]
307
+ sub_properties = ["grid-row-start", "grid-row-end"]
308
+ spec = "https://drafts.csswg.org/css-grid/#propdef-grid-row"
309
+ servo_pref = "layout.grid.enabled"
310
+
311
+ [grid-column]
312
+ sub_properties = ["grid-column-start", "grid-column-end"]
313
+ spec = "https://drafts.csswg.org/css-grid/#propdef-grid-column"
314
+ servo_pref = "layout.grid.enabled"
315
+
316
+ [grid-area]
317
+ sub_properties = ["grid-row-start", "grid-row-end", "grid-column-start", "grid-column-end"]
318
+ spec = "https://drafts.csswg.org/css-grid/#propdef-grid-area"
319
+ servo_pref = "layout.grid.enabled"
320
+
321
+ [grid-template]
322
+ sub_properties = ["grid-template-rows", "grid-template-columns", "grid-template-areas"]
323
+ spec = "https://drafts.csswg.org/css-grid/#propdef-grid-template"
324
+ servo_pref = "layout.grid.enabled"
325
+
326
+ [grid]
327
+ sub_properties = ["grid-template-rows", "grid-template-columns", "grid-template-areas", "grid-auto-rows", "grid-auto-columns", "grid-auto-flow"]
328
+ spec = "https://drafts.csswg.org/css-grid/#propdef-grid"
329
+ servo_pref = "layout.grid.enabled"
330
+
331
+ [place-content]
332
+ sub_properties = ["align-content", "justify-content"]
333
+ spec = "https://drafts.csswg.org/css-align/#propdef-place-content"
334
+
335
+ [place-self]
336
+ sub_properties = ["align-self", "justify-self"]
337
+ spec = "https://drafts.csswg.org/css-align/#place-self-property"
338
+ rule_types_allowed = ["style", "position-try"]
339
+
340
+ [place-items]
341
+ sub_properties = ["align-items", "justify-items"]
342
+ spec = "https://drafts.csswg.org/css-align/#place-items-property"
343
+
344
+ [position-try]
345
+ engine = "gecko"
346
+ sub_properties = ["position-try-order", "position-try-fallbacks"]
347
+ spec = "https://drafts.csswg.org/css-anchor-position-1/#position-try-prop"
348
+
349
+ [marker]
350
+ engine = "gecko"
351
+ sub_properties = ["marker-start", "marker-end", "marker-mid"]
352
+ spec = "https://svgwg.org/svg2-draft/painting.html#MarkerShorthand"
353
+
354
+ [transition]
355
+ sub_properties = ["transition-property", "transition-duration", "transition-timing-function", "transition-delay", "transition-behavior"]
356
+ spec = "https://drafts.csswg.org/css-transitions/#propdef-transition"
357
+ extra_prefixes = ["moz:layout.css.prefixes.transitions", "webkit"]
358
+
359
+ [animation]
360
+ sub_properties = ["animation-name", "animation-duration", "animation-timing-function", "animation-delay", "animation-iteration-count", "animation-direction", "animation-fill-mode", "animation-play-state", "animation-timeline", "animation-range-start", "animation-range-end"]
361
+ spec = "https://drafts.csswg.org/css-animations/#propdef-animation"
362
+ extra_prefixes = ["moz:layout.css.prefixes.animations", "webkit"]
363
+ rule_types_allowed = ["style"]
364
+
365
+ [scroll-timeline]
366
+ engine = "gecko"
367
+ sub_properties = ["scroll-timeline-name", "scroll-timeline-axis"]
368
+ spec = "https://drafts.csswg.org/scroll-animations-1/#scroll-timeline-shorthand"
369
+ gecko_pref = "layout.css.scroll-driven-animations.enabled"
370
+
371
+ [view-timeline]
372
+ engine = "gecko"
373
+ sub_properties = ["view-timeline-name", "view-timeline-axis", "view-timeline-inset"]
374
+ spec = "https://drafts.csswg.org/scroll-animations-1/#view-timeline-shorthand"
375
+ gecko_pref = "layout.css.scroll-driven-animations.enabled"
376
+
377
+ [animation-range]
378
+ engine = "gecko"
379
+ sub_properties = ["animation-range-start", "animation-range-end"]
380
+ spec = "https://drafts.csswg.org/scroll-animations-1/#animation-range"
381
+ gecko_pref = "layout.css.scroll-driven-animations.enabled"
382
+
383
+ [list-style]
384
+ sub_properties = ["list-style-position", "list-style-image", "list-style-type"]
385
+ spec = "https://drafts.csswg.org/css-lists/#propdef-list-style"
386
+
387
+ [background-position]
388
+ flags = "SCROLL_LINKED_EFFECTIVE"
389
+ sub_properties = ["background-position-x", "background-position-y"]
390
+ spec = "https://drafts.csswg.org/css-backgrounds-4/#the-background-position"
391
+
392
+ [mask]
393
+ sub_properties = ["mask-mode", "mask-repeat", "mask-clip", "mask-origin", "mask-composite", "mask-position-x", "mask-position-y", "mask-size", "mask-image"]
394
+ spec = "https://drafts.fxtf.org/css-masking/#propdef-mask"
395
+ extra_prefixes = ["webkit"]
396
+ servo_pref = "layout.unimplemented"
397
+
398
+ [mask-position]
399
+ sub_properties = ["mask-position-x", "mask-position-y"]
400
+ spec = "https://drafts.csswg.org/css-masks-4/#the-mask-position"
401
+ extra_prefixes = ["webkit"]
402
+ servo_pref = "layout.unimplemented"
403
+
404
+ [border-radius]
405
+ sub_properties = ["border-top-left-radius", "border-top-right-radius", "border-bottom-right-radius", "border-bottom-left-radius"]
406
+ spec = "https://drafts.csswg.org/css-backgrounds/#border-radius"
407
+ extra_prefixes = ["webkit"]
408
+
409
+ [corner-shape]
410
+ sub_properties = ["corner-top-left-shape", "corner-top-right-shape", "corner-bottom-right-shape", "corner-bottom-left-shape"]
411
+ spec = "https://drafts.csswg.org/css-borders-4/#propdef-corner-shape"
412
+ gecko_pref = "layout.css.corner-shape.enabled"
413
+ servo_pref = "layout.unimplemented"
414
+
415
+ [corner-top-shape]
416
+ sub_properties = ["corner-top-left-shape", "corner-top-right-shape"]
417
+ spec = "https://drafts.csswg.org/css-borders-4/#propdef-corner-top-shape"
418
+ gecko_pref = "layout.css.corner-shape.enabled"
419
+ servo_pref = "layout.unimplemented"
420
+ kind = "two_properties"
421
+
422
+ [corner-right-shape]
423
+ sub_properties = ["corner-top-right-shape", "corner-bottom-right-shape"]
424
+ spec = "https://drafts.csswg.org/css-borders-4/#propdef-corner-right-shape"
425
+ gecko_pref = "layout.css.corner-shape.enabled"
426
+ servo_pref = "layout.unimplemented"
427
+ kind = "two_properties"
428
+
429
+ [corner-bottom-shape]
430
+ sub_properties = ["corner-bottom-left-shape", "corner-bottom-right-shape"]
431
+ spec = "https://drafts.csswg.org/css-borders-4/#propdef-corner-bottom-shape"
432
+ gecko_pref = "layout.css.corner-shape.enabled"
433
+ servo_pref = "layout.unimplemented"
434
+ kind = "two_properties"
435
+
436
+ [corner-left-shape]
437
+ sub_properties = ["corner-top-left-shape", "corner-bottom-left-shape"]
438
+ spec = "https://drafts.csswg.org/css-borders-4/#propdef-corner-left-shape"
439
+ gecko_pref = "layout.css.corner-shape.enabled"
440
+ servo_pref = "layout.unimplemented"
441
+ kind = "two_properties"
442
+
443
+ [corner-block-start-shape]
444
+ sub_properties = ["corner-start-start-shape", "corner-start-end-shape"]
445
+ spec = "https://drafts.csswg.org/css-borders-4/#propdef-corner-block-start-shape"
446
+ gecko_pref = "layout.css.corner-shape.enabled"
447
+ servo_pref = "layout.unimplemented"
448
+ kind = "two_properties"
449
+
450
+ [corner-block-end-shape]
451
+ sub_properties = ["corner-end-start-shape", "corner-end-end-shape"]
452
+ spec = "https://drafts.csswg.org/css-borders-4/#propdef-corner-block-end-shape"
453
+ gecko_pref = "layout.css.corner-shape.enabled"
454
+ servo_pref = "layout.unimplemented"
455
+ kind = "two_properties"
456
+
457
+ [corner-inline-start-shape]
458
+ sub_properties = ["corner-start-start-shape", "corner-end-start-shape"]
459
+ spec = "https://drafts.csswg.org/css-borders-4/#propdef-corner-inline-start-shape"
460
+ gecko_pref = "layout.css.corner-shape.enabled"
461
+ servo_pref = "layout.unimplemented"
462
+ kind = "two_properties"
463
+
464
+ [corner-inline-end-shape]
465
+ sub_properties = ["corner-start-end-shape", "corner-end-end-shape"]
466
+ spec = "https://drafts.csswg.org/css-borders-4/#propdef-corner-inline-end-shape"
467
+ gecko_pref = "layout.css.corner-shape.enabled"
468
+ servo_pref = "layout.unimplemented"
469
+ kind = "two_properties"
470
+
471
+ [outline]
472
+ sub_properties = ["outline-color", "outline-style", "outline-width"]
473
+ spec = "https://drafts.csswg.org/css-ui/#propdef-outline"
474
+
475
+ [columns]
476
+ sub_properties = ["column-width", "column-count"]
477
+ spec = "https://drafts.csswg.org/css-multicol/#propdef-columns"
478
+ servo_pref = "layout.columns.enabled"
479
+
480
+ [column-rule]
481
+ engine = "gecko"
482
+ sub_properties = ["column-rule-width", "column-rule-style", "column-rule-color"]
483
+ spec = "https://drafts.csswg.org/css-multicol/#propdef-column-rule"
484
+ derive_serialize = true
485
+
486
+ [text-decoration]
487
+ sub_properties = ["text-decoration-color", "text-decoration-line", "text-decoration-style", "text-decoration-thickness"]
488
+ spec = "https://drafts.csswg.org/css-text-decor/#propdef-text-decoration"
489
+
490
+ [font]
491
+ sub_properties = [
492
+ "font-style",
493
+ "font-variant-alternates",
494
+ "font-variant-caps",
495
+ "font-variant-east-asian",
496
+ "font-variant-ligatures",
497
+ "font-variant-numeric",
498
+ "font-variant-position",
499
+ "font-weight",
500
+ "font-width",
501
+ "font-size",
502
+ "line-height",
503
+ "font-family",
504
+ "font-optical-sizing",
505
+ "font-variation-settings",
506
+ "font-kerning",
507
+ "font-feature-settings",
508
+ "font-language-override",
509
+ ]
510
+ extra_gecko_sub_properties = [
511
+ "font-size-adjust",
512
+ "font-variant-emoji",
513
+ ]
514
+ spec = "https://drafts.csswg.org/css-fonts-3/#propdef-font"
515
+ derive_value_info = false
516
+
517
+ [font-variant]
518
+ sub_properties = [
519
+ "font-variant-alternates",
520
+ "font-variant-caps",
521
+ "font-variant-east-asian",
522
+ "font-variant-ligatures",
523
+ "font-variant-numeric",
524
+ "font-variant-position"
525
+ ]
526
+ extra_gecko_sub_properties = ["font-variant-emoji"]
527
+ spec = "https://drafts.csswg.org/css-fonts-3/#propdef-font-variant"
528
+
529
+ [font-synthesis]
530
+ engine = "gecko"
531
+ sub_properties = ["font-synthesis-weight", "font-synthesis-style", "font-synthesis-small-caps", "font-synthesis-position"]
532
+ spec = "https://drafts.csswg.org/css-fonts-3/#propdef-font-variant"
533
+ derive_value_info = false
534
+
535
+ [text-box]
536
+ engine = "gecko"
537
+ sub_properties = ["text-box-trim", "text-box-edge"]
538
+ spec = "https://drafts.csswg.org/css-inline/#text-box-shorthand"
539
+ gecko_pref = "layout.css.text-box.enabled"
540
+
541
+ [text-emphasis]
542
+ engine = "gecko"
543
+ sub_properties = ["text-emphasis-style", "text-emphasis-color"]
544
+ spec = "https://drafts.csswg.org/css-text-decor-3/#text-emphasis-property"
545
+ derive_serialize = true
546
+
547
+ [text-wrap]
548
+ engine = "gecko"
549
+ sub_properties = ["text-wrap-mode", "text-wrap-style"]
550
+ spec = "https://www.w3.org/TR/css-text-4/#text-wrap"
551
+
552
+ [white-space]
553
+ sub_properties = ["text-wrap-mode", "white-space-collapse"]
554
+ spec = "https://www.w3.org/TR/css-text-4/#white-space-property"
555
+ derive_value_info = false
556
+
557
+ [-webkit-text-stroke]
558
+ engine = "gecko"
559
+ sub_properties = ["-webkit-text-stroke-width", "-webkit-text-stroke-color"]
560
+ spec = "https://compat.spec.whatwg.org/#the-webkit-text-stroke"
561
+ derive_serialize = true
562
+
563
+ [-webkit-line-clamp]
564
+ engine = "gecko"
565
+ flags = "IS_LEGACY_SHORTHAND ALLOWS_DISABLED_SUBPROPERTIES"
566
+ sub_properties = ["line-clamp"]
567
+ spec = "https://drafts.csswg.org/css-overflow-4/#webkit-line-clamp"
568
+
569
+ [-moz-appearance]
570
+ engine = "gecko"
571
+ gecko_pref = "layout.css.moz-appearance.enabled"
572
+ flags = "IS_LEGACY_SHORTHAND"
573
+ sub_properties = ["appearance"]
574
+ spec = "Legacy version of https://drafts.csswg.org/css-ui-4/#propdef-appearance"
575
+ derive_serialize = true
@@ -0,0 +1,28 @@
1
+ Copyright 2010 Pallets
2
+
3
+ Redistribution and use in source and binary forms, with or without
4
+ modification, are permitted provided that the following conditions are
5
+ met:
6
+
7
+ 1. Redistributions of source code must retain the above copyright
8
+ notice, this list of conditions and the following disclaimer.
9
+
10
+ 2. Redistributions in binary form must reproduce the above copyright
11
+ notice, this list of conditions and the following disclaimer in the
12
+ documentation and/or other materials provided with the distribution.
13
+
14
+ 3. Neither the name of the copyright holder nor the names of its
15
+ contributors may be used to endorse or promote products derived from
16
+ this software without specific prior written permission.
17
+
18
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
21
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
24
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
25
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
26
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.