You might find be interested in reading the change log for http://trac.webkit.org/changeset/11481.
2010/12/12 Ryosuke Niwa <[email protected]> > <!DOCTYPE html> > <html> > <body> > <div id="test" style="margin: 1px 2px;">hello</div> > <script> > document.writeln(test.style.isPropertyImplicit("margin-left")); // prints > true > </script> > </body> > </html> > > Best, > Ryosuke Niwa > > > On Sun, Dec 12, 2010 at 4:39 AM, Никита Васильев <[email protected]> wrote: > >> WebKit supports unstandard >> CSSStyleDeclaration.prototype.isPropertyImplicit method. How does it >> work? It seems like it always return false. >> >> <style> >> html {background: black} >> </style> >> <script> >> >> document.styleSheets[0].cssRules[0].style.isPropertyImplicit("background-image") >> // false >> </script> >> _______________________________________________ >> webkit-help mailing list >> [email protected] >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help >> > >
_______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
