Quantcast
Channel: HTML Renderer
Viewing all articles
Browse latest Browse all 693

Updated Release: 1.4.1.0 (Mar 10, 2013)

$
0
0
for full info: http://theartofdev.wordpress.com/2013/03/10/html-renderer-1-4-0-0/

Features
  • Target .NET 2.0
  • Stylesheet load
    • Load stylesheet from web
    • StylesheetLoad event that allows overwrite the loaded style sheet
  • Iframes and embedded video
    • Show error border for iframes
    • Support YouTube and Vimeo embedded videos by download thumbnail, title and full video link.
  • Context-menu
    • Copy / select all on text
    • Copy link address / open link for links
    • Copy image URL / copy image / save image as for images
    • Open video / copy video url for embedded videos
    • IsContextMenuEnabled allows to disable the context menu
    • Multi-language (English, French, German, Italian, Spanish, Russian, Swedish, Hungarian, Czech, Danish, Dutch, Finnish)
  • IsSelectionEnabled allows to disable the html content selection
  • Add support for 'overflow' style (only hidden and visible values), default-visible
  • 'tr' and 'th' elements have overflow: hidden by default
  • Add support for rgba color (style="color: rgba(0,255,90,120)")
  • Add visibility style support
  • Add white smoke image border while loading the image
  • Basic handling absolute position style
  • Documentation (work in progress)

Performance
  • Release used memory when setting html to null
  • Border style parsing improvement
  • Border paint improvements
  • Html parsing - remove regex usage
  • Html parsing - reduce objects creation
  • About 5%-8% improvement for small-medium htmls and up to 30% for large htmls.

Fixes
  • Max width layout
    • Elements that exceed the max width will not effect other elements.
    • Images will respect max width when it's own width is not set.
    • Images will respect max-width style
    • Tables will respect max-width style
  • HtmlContainer.GetHtml always returns inline styles (ISSUE 8518, thx JohnCJ)
  • Whitespaces between words handling (use StringFormat.GenericTypographic)
  • Preformatted text style.
  • Globalization issues.
  • Ignore '!important' in CSS style.
  • Ignore invalid colors in CSS style.
  • Ignore invalid length values in CSS style.
  • Better "hr" element handling (height, background color, borders, IE computability)
  • Table border default style matching IE.
  • Table layout with invalid rowspan/colspan.
  • Table cellpadding/border handle on table with theader and tbody elements.
  • Table without cells breaking layout.
  • Table 'auto' layout exceeding max width of the containing block.
  • Table cells width calculating not including word spacing.
  • 'Fixed' table layout where table width is larger than total columns widths.
  • Html characters decode (entities1, entities2)
  • Line wrap not respecting left margin\padding for wrapped inline element.
  • Whitespaces ignored if in separate element.
  • Image icon staying loading on failure when no image size is given.
  • Treat inline-block as regular block.
  • Copy plain text handle spaces between words correctly.
  • Block box inside inline box in table breaks table layout.
  • Html element parsing (no white space after element name created parsing errors)
  • Don't allow changing display style to table elements.
  • Style classes are case sensitive.
  • Not providing max width to HtmlContainer for html to fit any size.
  • AutoSize handling in HtmlLabel.
  • display: none element breaking layout.
  • '-' char can break word to new-line.
  • Element padding on line wrap.
  • Margin with percentage value.
  • Demo project improvements.

Viewing all articles
Browse latest Browse all 693

Trending Articles