HomePhabricator

Add hoisting option to StyleRuleSanitizer selector handling
c8c688e9887eUnpublished

Tags
None
Referenced Files
None
Subscribers
None

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Add hoisting option to StyleRuleSanitizer selector handling

This is technically a breaking change in that StyleRuleSanitizer's
prependSelectors option does not need to end with space (and using
a prefix that's not separated by whitespace from the prefixed
part is not possible anymore). The extra whitespace generated
with an old-style prependSelectors value is harmless though, and
there was never any use case for not separating prepended
selectors with a descendant combinator.

Bug: T197617
Change-Id: Ib8921224d54cd638b8caab53859c6840791dfd56

Details

Provenance
TgrAuthored on Aug 11 2018, 4:39 PM
Parents
rCSSS3b6b71a72a9e: build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
Branches
Unknown
Tags
Unknown
ChangeId
Ib8921224d54cd638b8caab53859c6840791dfd56

Event Timeline