RESOLVED FIXED Bug 79074
<style scoped>: Add runtime-flag
https://bugs.webkit.org/show_bug.cgi?id=79074
Summary <style scoped>: Add runtime-flag
Roland Steiner
Reported 2012-02-20 21:25:33 PST
Add a runtime flag to enable/disable <style scoped> if compiled with ENABLE(STYLE_SCOPED).
Attachments
Patch (12.31 KB, patch)
2012-02-20 22:36 PST, Roland Steiner
dglazkov: review+
Roland Steiner
Comment 1 2012-02-20 22:36:19 PST
Created attachment 127920 [details] Patch patch, webkit-side - adds runtime flag in WebKit (default is off), enables STYLE_SCOPED compile-time flag for Chromium.
Dimitri Glazkov (Google)
Comment 2 2012-02-21 08:52:32 PST
Comment on attachment 127920 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=127920&action=review > Source/WebCore/css/CSSStyleSelector.cpp:451 > + // Disregard if <style scoped> is runtime-disabled. This redundant comment is redundant. > Source/WebCore/html/HTMLStyleElement.cpp:93 > + // Do nothing if <style scoped> is runtime-disabled. Ditto.
Roland Steiner
Comment 3 2012-02-22 02:45:00 PST
Note You need to log in before you can comment on or make changes to this bug.