From c6d7f24987a90bc61e408c4249a6a212276b4174 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 1 Jun 2014 18:32:37 +0100 Subject: Add support for CSS3 overflow-x and overflow-y properties. Now, overflow is a shorthand property setting both overflow-x and overflow-y. The getter for the computed overflow has been removed, and replaced with two for overflow-x and overflow-y. --- docs/API-ABI-Changes | 21 +++++++++++++++++++++ docs/Bytecode | 11 +++++++++-- 2 files changed, 30 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/API-ABI-Changes b/docs/API-ABI-Changes index c70c6f0..0216234 100644 --- a/docs/API-ABI-Changes +++ b/docs/API-ABI-Changes @@ -35,3 +35,24 @@ LibCSS 0.2.0 --> LibCSS 0.3.0 get_libcss_node_data New selection handler function used to retrieve private cache belonging to libcss from document element nodes. + + +LibCSS 0.3.0 --> LibCSS 0.4.0 +----------------------------- + + The API is changed. + + Due to the change from CSS2 overflow to CSS3 overflow properties, the + computed style access functions for overflow properties have changed. + The overflow property is removed. Added are overflow-x and overflow-y + properties. (The overflow shorthand property now sets overflow-x and + overflow-y.) + + This change affects the following functions: + + Removed from include/libcss/computed.h -- css_computed_overflow() + + Added to include/libcss/computed.h -- css_computed_overflow_x() + + Added to include/libcss/computed.h -- css_computed_overflow_y() + diff --git a/docs/Bytecode b/docs/Bytecode index b4154b5..3f53d71 100644 --- a/docs/Bytecode +++ b/docs/Bytecode @@ -739,7 +739,7 @@ Opcodes 0000010 => thick, other => rffe. -3c - overflow +3c - overflow-x (14bits) : 0 => visible, 1 => hidden, @@ -1241,6 +1241,13 @@ Opcodes 00000010 => vertical-lr, other => Reserved for future expansion. +70 - overflow-y + (14bits) : + 0 => visible, + 1 => hidden, + 2 => scroll, + 3 => auto, + other => Reserved for future expansion. -70-3ff - Reserved for future expansion. +71-3ff - Reserved for future expansion. -- cgit v1.2.3