Bug 256647
| Summary: | [css-nesting] Serialize properties directly in parent group rule only (for the first nested style rule) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matthieu Dubet <m_dubet> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Matthieu Dubet
Orphaned properties in group rules are implicitly added to a style rule with '&' as selector ; this implicit rule should not be serialized.
foo {
@media screen {
color: green;
}
}
is implemented as
foo {
@media screen {
& {
color: green;
}
}
}
but this should not appear in the CSS OM serialization
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/109208359>
Matthieu Dubet
Pull request: https://github.com/WebKit/WebKit/pull/13758
EWS
Committed 264003@main (e07871e21ea8): <https://commits.webkit.org/264003@main>
Reviewed commits have been landed. Closing PR #13758 and removing active labels.
EWS
Committed 259548.767@safari-7615-branch (168b349a71f0): <https://commits.webkit.org/259548.767@safari-7615-branch>
Reviewed commits have been landed. Closing PR #603 and removing active labels.