Page MenuHomePhabricator

remarkup.css: Consistently zero top/bottom margins for first/last block-level children
ClosedPublic

Authored by matmarex on Jan 14 2015, 6:56 AM.
Referenced Files
F14120201: D11382.id27358.diff
Fri, Nov 29, 7:46 AM
Unknown Object (File)
Tue, Nov 26, 10:47 PM
Unknown Object (File)
Tue, Nov 26, 10:47 PM
Unknown Object (File)
Tue, Nov 26, 10:46 PM
Unknown Object (File)
Tue, Nov 26, 10:46 PM
Unknown Object (File)
Tue, Nov 26, 10:31 PM
Unknown Object (File)
Tue, Nov 26, 9:17 PM
Unknown Object (File)
Tue, Nov 26, 2:13 PM
Subscribers

Details

Summary

For block-level elements that have a margin-top or margin-bottom set
(generally to 12px), also reset the appropriate margin to 0 when
they're a first-child or last-child of their parents.

The change doesn't affect nested lists, their selector is more specific.

Test Plan

Look at some comments or wiki documents that end with different
block elements, verify that the margins are pretty.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

matmarex retitled this revision from to remarkup.css: Consistently zero top/bottom margins for first/last block-level children.
matmarex updated this object.
matmarex edited the test plan for this revision. (Show Details)
matmarex added a reviewer: epriestley.
matmarex set the repository for this revision to rP Phabricator.
matmarex added a project: Remarkup.

Am I expected to include the result of running bin/celerity map in the diff? That feels like something that should be done automatically on merge, since it would cause tons of merge conflicts otherwise, but I see it in some commits in Git.

Yeah, you'll need to run and include bin/celerity map with this revision.

matmarex edited the test plan for this revision. (Show Details)
matmarex edited edge metadata.

bin/celerity map

chad edited edge metadata.

shipitquick

Will let @epriestley land

This revision is now accepted and ready to land.Jan 14 2015, 8:11 PM
This revision was automatically updated to reflect the committed changes.