Summary: | <style scoped>: Add runtime-flag | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Roland Steiner <rolandsteiner> | ||||
Component: | CSS | Assignee: | Roland Steiner <rolandsteiner> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | dglazkov, dominicc, koivisto, morrita | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 49142 | ||||||
Attachments: |
|
Description
Roland Steiner
2012-02-20 21:25:33 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.
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. Committed r108474: <http://trac.webkit.org/changeset/108474> |