[Webkit-unassigned] [Bug 58244] Implement experimental CSS rule disabling/enabling feature

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 11 11:07:31 PDT 2011


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





--- Comment #2 from Alexander Udalov <udalov at chromium.org>  2011-04-11 11:07:31 PST ---
This is part of a feature proposed by Tab about disabling/enabling rules, specifically style rules. There is no spec for it yet, only a proposal in the internal doc.
It sure is not the right thing to trigger a full layout of the page after disabling one single rule, so I thought this would be a good place to use someone's help and discuss how it could be implemented better.
Adding a bool is not a final decision either -- I guess we can take 1 bit from m_sourceLine (which surely does not need all of its 32 bits), not to waste any additional memory while still keeping it aligned well.
"!disabled" in cssText() means what it says -- this rule is disabled right now.
I'm attaching another version of patch (runned through style checker this time ><).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list