[Webkit-unassigned] [Bug 10191] Non-inheritable styles declared in header aren't carried over on Copy/Paste
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Tue Aug 1 14:05:09 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=10191
------- Comment #2 from justin.garcia at apple.com 2006-08-01 14:05 PDT -------
Looks like we intentionally remove non-inheritable properties from an element's
computed style when we create markup for it. Here's startMarkup:
...
RefPtr<CSSComputedStyleDeclaration> computedStyle =
Position(const_cast<Element*>(el), 0).computedStyle();
RefPtr<CSSMutableStyleDeclaration> style =
computedStyle->copyInheritableProperties();
defaultStyle->diff(style.get());
if (style->length() > 0) {
...
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list