summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-10 11:12:46 (GMT)
committer Michael Drake <michael.drake@codethink.co.uk>2016-02-10 11:12:46 (GMT)
commit9024333772a2f657cde4e61b660e2e6850d4b461 (patch)
tree5d3053031641b75dca3bad38aca51bd9073e27bc
parent61833d6e80c934d8f0e5c6ced546622d60e2fedb (diff)
downloadlibcss-9024333772a2f657cde4e61b660e2e6850d4b461.tar.gz
libcss-9024333772a2f657cde4e61b660e2e6850d4b461.tar.bz2
Documentation: Presentational hint API change.
-rw-r--r--docs/API-ABI-Changes19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/API-ABI-Changes b/docs/API-ABI-Changes
index 0216234..b1927fd 100644
--- a/docs/API-ABI-Changes
+++ b/docs/API-ABI-Changes
@@ -56,3 +56,22 @@ LibCSS 0.3.0 --> LibCSS 0.4.0
Added to include/libcss/computed.h -- css_computed_overflow_y()
+
+LibCSS 0.5.0 --> LibCSS 0.6.0
+-----------------------------
+
+ The API is changed.
+
+ The way that presentational hints are handled has changed to be more
+ optimal. Instead of calling the presentational hint callback once
+ per property per node to get each hint, we now call the callback once
+ per node to get all the hints that apply to it.
+
+ There are changes to selection handler callback table:
+
+ node_presentational_hint
+ Rather than asking for any hint for the given node and property,
+ it now asks for an array of hints that should apply to the node.
+
+ The css_hint structure has been changed to include the property which
+ the hint applies to.