[commits] Horde branch master updated. b3e40812e74c1aa4d894f23528fa058b3cb6d06b

Michael M Slusarz slusarz at horde.org
Tue Mar 19 22:08:11 UTC 2013


The branch "master" has been updated.
The following is a summary of the commits.

from: 6fcfa96ea2e260c9e74610e95c4db0329d381442

a53cd7b Fix typos
283ebd8 Merge upstream changes relating to better parsing of CSS 3 at rules
1cab464 Style tags can contain comment data.
b3e4081 Another benefit of new CSS parser - better error handling

-----------------------------------------------------------------------

commit a53cd7b47fc2fed3db069d6252dfb4099fc051de
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Tue Mar 19 13:23:46 2013 -0600

    Fix typos

 passwd/lib/Basic.php           |    2 +-
 passwd/lib/Driver/Procopen.php |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/a53cd7b47fc2fed3db069d6252dfb4099fc051de

-----------------------------------------------------------------------

commit 283ebd8f3cdeaed71e8d43023beed8155553da94
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Tue Mar 19 13:37:22 2013 -0600

    Merge upstream changes relating to better parsing of CSS 3 at rules
    
    Working with the upstream developer to handle these things.  This isn't
    currently handled at all by csstidy

 framework/Css_Parser/lib/Sabberworm/CSS/CSSList/AtRule.php        |   28 ---
 .../Css_Parser/lib/Sabberworm/CSS/CSSList/AtRuleBlockList.php     |   36 ++++
 framework/Css_Parser/lib/Sabberworm/CSS/CSSList/KeyFrame.php      |   10 +-
 framework/Css_Parser/lib/Sabberworm/CSS/Parser.php                |   47 +++--
 framework/Css_Parser/lib/Sabberworm/CSS/Property/AtRule.php       |   13 ++
 framework/Css_Parser/lib/Sabberworm/CSS/Property/CSSNamespace.php |   15 ++-
 framework/Css_Parser/lib/Sabberworm/CSS/Property/Charset.php      |    9 +-
 framework/Css_Parser/lib/Sabberworm/CSS/Property/Import.php       |   16 ++-
 framework/Css_Parser/lib/Sabberworm/CSS/Property/Selector.php     |    2 +-
 framework/Css_Parser/lib/Sabberworm/CSS/RuleSet/AtRuleSet.php     |   36 ++++
 framework/Css_Parser/lib/Sabberworm/CSS/Settings.php              |    2 +-
 framework/Css_Parser/lib/Sabberworm/CSS/Value/PrimitiveValue.php  |    2 +-
 framework/Css_Parser/lib/Sabberworm/CSS/Value/RuleValueList.php   |    2 +-
 framework/Css_Parser/package.xml                                  |   12 +-
 14 files changed, 169 insertions(+), 61 deletions(-)
 delete mode 100644 framework/Css_Parser/lib/Sabberworm/CSS/CSSList/AtRule.php
 create mode 100644 framework/Css_Parser/lib/Sabberworm/CSS/CSSList/AtRuleBlockList.php
 create mode 100644 framework/Css_Parser/lib/Sabberworm/CSS/Property/AtRule.php
 create mode 100644 framework/Css_Parser/lib/Sabberworm/CSS/RuleSet/AtRuleSet.php

http://git.horde.org/horde-git/-/commit/283ebd8f3cdeaed71e8d43023beed8155553da94

-----------------------------------------------------------------------

commit 1cab464fb6ae12207da47a0dcd743d087defe5d3
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Tue Mar 19 14:19:29 2013 -0600

    Style tags can contain comment data.
    
    HTML 4 defines all data inside of a style tag as CDATA. Some brain dead
    mailers (Outlook) add comment tags inside of the tag. This is bad for
    CSS parsing. Strip comment tags out if we see them.

 imp/lib/Mime/Viewer/Html.php |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/1cab464fb6ae12207da47a0dcd743d087defe5d3

-----------------------------------------------------------------------

commit b3e40812e74c1aa4d894f23528fa058b3cb6d06b
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Tue Mar 19 14:32:28 2013 -0600

    Another benefit of new CSS parser - better error handling
    
    Unlike csstidy, which would just output as-is (possible security risk),
    now we can ignore malformed style data contained in HTML messages.

 imp/lib/Mime/Viewer/Html.php |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/b3e40812e74c1aa4d894f23528fa058b3cb6d06b




More information about the commits mailing list