In Blink, properties are defined in CSSProperties.json5, there you can specify a "runtime_flag" property whose value is the name of a runtime flag. This overrides the IsEnabled method with a check for the runtime flag: https://cs.chromium.org/chromium/src/third_party/blink/renderer/build/script... And then this method is called in various places like CSSStyleDeclaration::NamedPropertyEnumerator https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/css/css... Runtime flags can be defined like https://cs.chromium.org/chromium/src/third_party/blink/renderer/platform/run... I can run chrome or content_shell with --enable-experimental-web-platform-features in order to enable experimental flags. Tests are run this way. El 22/8/18 a les 03:26, Simon Fraser ha escrit:
Right, sorry. I don't think we have a way to do that.
How does Blink solve this problem?
Simon