[Webkit-unassigned] [Bug 19911] :read-only and :read-write pseudoclasses support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 7 14:40:27 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=19911





------- Comment #7 from hyatt at apple.com  2008-07-07 14:40 PDT -------
This patch does not deal with style sharing:

dhyatt: canShareStyleWithElement
[4:38pm] dhyatt: if (isControl && (s->isEnabled() != m_element->isEnabled()) ||
[4:38pm] dhyatt:                             (s->isIndeterminate() !=
m_element->isIndeterminate()) ||
[4:38pm] dhyatt:                             (s->isChecked() !=
m_element->isChecked()))
[4:38pm] dhyatt:                 return false;
[4:38pm] dhyatt: has this check
[4:38pm] dhyatt: for enabled/indeterminate/checked
[4:38pm] dhyatt: you need to add readonlycontrol or whatever to this
[4:38pm] dhyatt: make a test with two adjacent textareas
[4:38pm] dhyatt: sibling textareas
[4:38pm] dhyatt: and make the first one read-only and the second one not be
read-only
[4:38pm] dhyatt: and then write a pseudo rule
[4:39pm] dhyatt: the second one will incorrectly match
[4:39pm] dhyatt: because it will share style with the first


-- 
Configure bugmail: https://bugs.webkit.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