changeset 2000:05efd54ba3ef

merge
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Sun, 01 May 2011 23:00:43 +0200
parents e80effb57d8a (current diff) 586c7a6f61aa (diff)
children 3e1144e4a40f
files
diffstat 2 files changed, 21 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun May 01 06:13:52 2011 +0000
+++ b/ChangeLog	Sun May 01 23:00:43 2011 +0200
@@ -5,7 +5,10 @@
 dillo-2.2.1 [not released yet]
 
 +- Implemented "View source" as a dpi.
-   Patch: Jorge Arellano Cid
+ - Accept application/xhtml+xml.
+ - Small caps support.
+ - Border-collapse, border-style properties.
+   Patches: Jorge Arellano Cid
 +- Configurable User-Agent HTTP header.
    Patch: Alexander Voigt, corvid
 +- Include Accept header in HTTP queries.
@@ -19,9 +22,18 @@
  - Handle white-space: pre-wrap and pre-line.
  - Support for the word-spacing property.
  - Fix segfault with https and self-signed certificates.
+ - Text-indent property.
    Patches: corvid
++- Reintroduce bg_color dillorc option.
+ - Make Dillo compile with Clang.
+   Patches: Johannes Hofmann
 +- Implement line-height.
-   Patch: Johannes Hofmann, corvid
+ - Draw image maps when image not loaded.
+   Patches: Johannes Hofmann, corvid
++- Support @media rules.
+ - Implement media-conditional @import rules.
+ - Configure/Makefile cleanup.
+   Patches: Jeremy Henty
 
 -----------------------------------------------------------------------------
 
--- a/src/styleengine.cc	Sun May 01 06:13:52 2011 +0000
+++ b/src/styleengine.cc	Sun May 01 23:00:43 2011 +0200
@@ -619,6 +619,13 @@
       case CSS_LENGTH_TYPE_EX:
          *dest = roundInt (CSS_LENGTH_VALUE(value) * font->xHeight);
         return true;
+       case CSS_LENGTH_TYPE_NONE:
+         // length values other than 0 without unit are only allowed
+         // in special cases (line-height) and have to be handled
+         // separately.
+         assert ((int) CSS_LENGTH_VALUE (value) == 0);
+         *dest = 0;
+         return true;
       default:
          break;
    }