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
F14094306: D11382.diff
Mon, Nov 25, 3:16 PM
Unknown Object (File)
Fri, Nov 22, 6:23 PM
Unknown Object (File)
Mon, Nov 18, 2:15 AM
Unknown Object (File)
Thu, Nov 14, 10:42 AM
Unknown Object (File)
Sat, Nov 9, 9:58 PM
Unknown Object (File)
Wed, Nov 6, 4:06 PM
Unknown Object (File)
Oct 19 2024, 4:33 AM
Unknown Object (File)
Oct 16 2024, 3:07 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 3844
Build 3856: [Placeholder Plan] Wait for 30 Seconds

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.