From 9024333772a2f657cde4e61b660e2e6850d4b461 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 10 Feb 2016 11:12:46 +0000 Subject: Documentation: Presentational hint API change. --- docs/API-ABI-Changes | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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. -- cgit v1.2.3