Skip to content

Commit 5a80625

Browse files
committed
FAQ: add entry about NSAC.
1 parent d444b61 commit 5a80625

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

faq.html

+6
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929
<h2>CSS4J FAQ</h2>
3030
<p class="faqlisthelp" id="faqlisthelp">Click on the question to see the answer.</p>
3131
<div class="faqlist" id="faqlist">
32+
<div id="nsac">
33+
<h4>What is NSAC?</h4>
34+
<p>NSAC is a low-level event API for CSS parsing, an evolution of W3C's <a href="http://www.w3.org/Style/CSS/SAC/">SAC</a>. <a href="api/3/io/sf/carte/doc/style/css/nsac/package-summary.html">NSAC 2.x</a> is not backwards-compatible
35+
with SAC, but similar enough that migrating from it should be relatively easy (if you require compatibility with SAC, you may still use <a href="api/1.0/io/sf/carte/doc/style/css/nsac/package-summary.html">version 1 of NSAC</a>, shipped with css4j 1.x).</p>
36+
<p>However, most developers use the higher-level CSS Object Model and do not need to care about NSAC except when handling <a href="api/3/io/sf/carte/doc/style/css/CSSVarValue.html#getFallback()"><code>var()</code> fallback values</a>.</p>
37+
</div>
3238
<div id="cssvalue">
3339
<h4>Are W3C's <code>CSSValue</code> and <code>CSSPrimitiveValue</code> interfaces supported?</h4>
3440
<p>That API was <a href="https://lists.w3.org/Archives/Public/www-style/2003Oct/0347.html">deprecated by W3C</a>

0 commit comments

Comments
 (0)