DescriptionIssue 774: Domita cross-browser style assignment
A way to get and set the "float" style property - IE uses
"styleFloat", others use "cssFloat", we normalize as
"Dom.getStyle(element, 'float')
Issue 879: Add a function to the autogenerated css-defs.js that maps between
CSS property names and DOM2 Style node property names
In domita.js (and domita_test.html) we use a horrible hack
cssPropertyName.replace(
/-([a-z])/g,
function (_, ltr) { return ltr.toUpperCase(); });
to map between CSS property names (e.g. font-size,
background-color) and DOM2 CSS Style Node names.
Consolidate this code and extend it to handle exceptions to the
rule such as float<->cssFloat (see
http://beradrian.wordpress.com/tag/cssfloat/ )
Issue 981: fake style object needs getPropertyValue
From http://www.w3.org/TR/DOM-Level-2-Style/css.html
getPropertyValue
Used to retrieve the value of a CSS property if it has been
explicitly set within this declaration block.
Patch Set 1 #
Total comments: 2
Patch Set 2 : Issue 774, 879, 981: DOMita style issues #MessagesTotal messages: 4
|