Hi,
For properties like 'width' that are valid both in CSS and in HTML, we create direct HTML attribute. CSS-only Attributes are mapped into to the style element. Does it really matter to you whether width and height go to their own HTML attributes or into the style attribute ?
I've copied below the complete list of properties Tersus is aware of (taken from the w3c specs).
Also, it was not clear from your post whether you unified only the "init" process (eliminating Set Style Attribute), or actually unified the creation of the whole HTML Tag hierarchy (so that no tag has its own init process). The latter may give a significant further performance boost.
Note also that since in HTML and CSS the defautl unit for length is "px", you don't need to bother converting the numbers to text and adding the suffix. Using number properties is simpler, and a little faster.
Regards,
Youval
HTML properties:
abbr, accept, accept-charset, accesskey, action, align, alink, alt, archive, axis, background, bgcolor, border, cellpadding, cellspacing, char, charoff, charset, checked, cite, class, classid, clear, code, codebase, codetype, color, cols, colspan, compact, content, coords, data, datetime, declare, defer, dir, disabled, enctype, face, for, frame, frameborder, headers, height, href, hreflang, hspace, http-equiv, id, ismap, label, lang, language, link, longdesc, marginheight, marginwidth, maxlength, media, method, multiple, name, nohref, noresize, noshade, nowrap, object, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onload, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onreset, onselect, onsubmit, onunload, profile, prompt, readonly, rel, rev, rows, rowspan, rules, scheme, scope, scrolling, selected, shape, size, span, src, standby, start, style, summary, tabindex, target, text, title, type, usemap, valign, value, valuetype, version, vlink, vspace, width
CSS Properties:
azimuth, background, background-attachment, background-color, background-image, background-position, background-repeat, border, border-collapse, border-color, border-spacing, border-style, border-top, border-right, border-bottom, border-left, border-top-color, border-right-color, border-bottom-color, border-left-color, border-top-style, border-right-style, border-bottom-style, border-left-style, border-top-width, border-right-width, border-bottom-width, border-left-width, border-width, bottom, caption-side, clear, clip, color, content, counter-increment, counter-reset, cue, cue-after, cue-before, cursor, direction, display, elevation, empty-cells, float, font, font-family, font-size, font-size-adjust, font-stretch, font-style, font-variant, font-weight, height, left, letter-spacing, line-height, list-style, list-style-image, list-style-position, list-style-type, margin, margin-top, margin-right, margin-bottom, margin-left, marker-offset, marks, max-height, max-width, min-height, min-width, orphans, outline, outline-color, outline-style, outline-width, overflow, padding, padding-top, padding-right, padding-bottom, padding-left, page, page-break-after, page-break-before, page-break-inside, pause, pause-after, pause-before, pitch, pitch-range, play-during, position, quotes, richness, right, size, speak, speak-header, speak-numeral, speak-punctuation, speech-rate, stress, table-layout, text-align, text-decoration, text-indent, text-shadow, text-transform, top, unicode-bidi, vertical-align, visibility, voice-family, volume, white-space, widows, width, word-spacing, z-index
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign